raymer / angularhybrid Goto Github PK
View Code? Open in Web Editor NEWHybrid AngularJS/Angular4 application with WebPack
License: MIT License
Hybrid AngularJS/Angular4 application with WebPack
License: MIT License
When I try to use npm start, the shell returns 24 errors:
ERROR in [at-loader] ./node_modules/@types/angular/index.d.ts:232:41
TS1005: ',' expected.
ERROR in [at-loader] ./node_modules/@types/angular/index.d.ts:233:41
TS1005: ',' expected.
ERROR in [at-loader] ./node_modules/@types/angular/index.d.ts:1252:41
TS1005: ',' expected.
ERROR in [at-loader] ./node_modules/@types/angular/index.d.ts:1253:41
TS1005: ',' expected.
ERROR in [at-loader] ./node_modules/@types/angular/index.d.ts:1972:55
TS1005: ',' expected.
ERROR in [at-loader] ./node_modules/@types/angular/index.d.ts:1976:54
TS1005: ',' expected.
ERROR in [at-loader] ./node_modules/@types/angular/index.d.ts:1986:55
TS1005: ',' expected.
ERROR in [at-loader] ./node_modules/@types/angular/index.d.ts:1991:57
TS1005: ',' expected.
ERROR in [at-loader] ./node_modules/@types/angular/index.d.ts:2005:48
TS1005: ',' expected.
ERROR in [at-loader] ./node_modules/@types/angular/index.d.ts:2088:22
TS1005: ',' expected.
ERROR in [at-loader] ./node_modules/@types/angular/index.d.ts:232:94
TS2314: Generic type 'IDirectiveFactory<TScope, IScope>' requires 2 type argument(s).
ERROR in [at-loader] ./node_modules/@types/angular/index.d.ts:233:96
TS2314: Generic type 'IDirectiveFactory<TScope, IScope>' requires 2 type argument(s).
ERROR in [at-loader] ./node_modules/@types/angular/index.d.ts:1252:94
TS2314: Generic type 'IDirectiveFactory<TScope, IScope>' requires 2 type argument(s).
ERROR in [at-loader] ./node_modules/@types/angular/index.d.ts:1253:96
TS2314: Generic type 'IDirectiveFactory<TScope, IScope>' requires 2 type argument(s).
ERROR in [at-loader] ./node_modules/@types/angular/index.d.ts:1973:27
TS2314: Generic type 'IDirective<TScope, IScope>' requires 2 type argument(s).
ERROR in [at-loader] ./node_modules/@types/angular/index.d.ts:1973:48
TS2314: Generic type 'IDirectiveLinkFn<TScope, IScope>' requires 2 type argument(s).
ERROR in [at-loader] ./node_modules/@types/angular/index.d.ts:1987:15
TS2314: Generic type 'IDirectiveLinkFn<TScope, IScope>' requires 2 type argument(s).
ERROR in [at-loader] ./node_modules/@types/angular/index.d.ts:1988:16
TS2314: Generic type 'IDirectiveLinkFn<TScope, IScope>' requires 2 type argument(s).
ERROR in [at-loader] ./node_modules/@types/angular/index.d.ts:2002:19
TS2314: Generic type 'IDirectiveLinkFn<TScope, IScope>' requires 2 type argument(s).
ERROR in [at-loader] ./node_modules/@types/angular/index.d.ts:2002:46
TS2314: Generic type 'IDirectivePrePost<TScope, IScope>' requires 2 type argument(s).
ERROR in [at-loader] ./node_modules/@types/angular/index.d.ts:2006:19
TS2314: Generic type 'IDirectiveCompileFn<TScope, IScope>' requires 2 type argument(s).
ERROR in [at-loader] ./node_modules/@types/angular/index.d.ts:2015:16
TS2314: Generic type 'IDirectiveLinkFn<TScope, IScope>' requires 2 type argument(s).
ERROR in [at-loader] ./node_modules/@types/angular/index.d.ts:2015:43
TS2314: Generic type 'IDirectivePrePost<TScope, IScope>' requires 2 type argument(s).
ERROR in [at-loader] ./node_modules/@types/angular/index.d.ts:2088:24
TS2368: Type parameter name cannot be 'any'
Resolved for me with:
npm uninstall typescript.
sudo npm install --save-dev typescript@'>=2.1.0 <2.4.0'
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.