evan-carey / angular-typescript-webpack Goto Github PK
View Code? Open in Web Editor NEWAngular 1.5 starter using TypeScript, Webpack, and UI Router
Angular 1.5 starter using TypeScript, Webpack, and UI Router
First off... Awesome repo! been struggling some time to either find or create it myself
After cloning, npm install and trying to hit npm start I get the following exception;
angular-typescript-webpack\node_modules\@types\jquery\index.d.ts:7624:30 ',' expected.
And this happens for an amount of 1000+ lines with some other errors, but all related to JQuery.
I tried manually adding and updating JQuery and even downgrading, but nothing worked. You have any clue?
Hi!
First of all, thanks for the boilerplate.
Unfortunately, I've got a problem with decorators.
When I created a decorator for NavService I got this:
Uncaught ReferenceError: __decorate is not defined at nav.service.ts?5ffc:3 at Object.84 (nav.service.ts?5ffc:15) at __webpack_require__ (bootstrap 31df5b8667de229adeb1:585) at fn (bootstrap 31df5b8667de229adeb1:109) at Object.81 (index.ts?55dc:4) at __webpack_require__ (bootstrap 31df5b8667de229adeb1:585) at fn (bootstrap 31df5b8667de229adeb1:109) at Object.80 (index.ts?f891:2) at __webpack_require__ (bootstrap 31df5b8667de229adeb1:585) at fn (bootstrap 31df5b8667de229adeb1:109)
And I still have no idea how to solve it.
P.S. I didn't change tsconfig.json
Hi,
I am getting below exception while running the application
bootstrap ab09cfb…:633 Uncaught Error: Cannot find module "./src/app/vendor.ts"
at webpackMissingModule (bootstrap ab09cfb…:633)
client?cd17:37 [WDS] Hot Module Replacement enabled.
client?cd17:37 [WDS] Errors while compiling.
client?cd17:75 ./src/app/index.ts
Module build failed: TypeError: Cannot read property 'exclude' of undefined
at applyDefaults (C:\xampp\htdocs\github\angular-typescript-webpack\node_modules\awesome-typescript-loader\src\instance.ts:266:72)
at Object.ensureInstance (C:\xampp\htdocs\github\angular-typescript-webpack\node_modules\awesome-typescript-loader\src\instance.ts:145:5)
at compiler (C:\xampp\htdocs\github\angular-typescript-webpack\node_modules\awesome-typescript-loader\src\index.ts:37:20)
at Object.loader (C:\xampp\htdocs\github\angular-typescript-webpack\node_modules\awesome-typescript-loader\src\index.ts:18:18)
@ multi app
errors @ client?cd17:75
sock.onmessage @ socket.js:37
EventTarget.dispatchEvent @ eventtarget.js:51
(anonymous) @ main.js:274
SockJS._transportMessage @ main.js:272
EventEmitter.emit @ emitter.js:50
WebSocketTransport.ws.onmessage @ websocket.js:35
client?cd17:75 ./src/app/vendor.ts
Module build failed: TypeError: Cannot read property 'exclude' of undefined
at applyDefaults (C:\xampp\htdocs\github\angular-typescript-webpack\node_modules\awesome-typescript-loader\src\instance.ts:266:72)
at Object.ensureInstance (C:\xampp\htdocs\github\angular-typescript-webpack\node_modules\awesome-typescript-loader\src\instance.ts:145:5)
at compiler (C:\xampp\htdocs\github\angular-typescript-webpack\node_modules\awesome-typescript-loader\src\index.ts:37:20)
at Object.loader (C:\xampp\htdocs\github\angular-typescript-webpack\node_modules\awesome-typescript-loader\src\index.ts:18:18)
@ multi vendor
Please help me to resolve this issue
Thanks
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.