You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 20, 2024. It is now read-only.
The application throws an error when I run ngr build dev --serve --watch
Here is the stack for it -
`npm verb If you need help, you may report this error at:
npm verb https://github.com/npm/npm/issues
npm WARN codelyzer@4.0.1 requires a peer of tslint@^5.0.0 but none was installed.
npm verb
npm verb If you need help, you may report this error at:
npm verb https://github.com/npm/npm/issues
npm verb exit [ 0, true ]
npm info ok
Aditya:angular2-rollup adityashukla$ ngr build dev --serve --watch
[01:02:17] LOG angular-rollup 1.0.0-rc.1
/usr/local/lib/node_modules/angular-rollup/cli.js:169
if (program.build === 'dev' && program.jit === undefined && parseInt(projectPackage.dependencies['@angular/core'].split('.')[0]) < 5) {
^
TypeError: Cannot read property 'split' of undefined
at Timeout.init [as _onTimeout] (/usr/local/lib/node_modules/angular-rollup/cli.js:169:122)
at ontimeout (timers.js:386:11)
at tryOnTimeout (timers.js:250:5)
at Timer.listOnTimeout (timers.js:214:5)
`
The application throws an error when I run
ngr build dev --serve --watch
Here is the stack for it -
`npm verb If you need help, you may report this error at:
npm verb https://github.com/npm/npm/issues
npm WARN codelyzer@4.0.1 requires a peer of tslint@^5.0.0 but none was installed.
npm verb
npm verb If you need help, you may report this error at:
npm verb https://github.com/npm/npm/issues
npm verb exit [ 0, true ]
npm info ok
Aditya:angular2-rollup adityashukla$ ngr build dev --serve --watch
[01:02:17] LOG angular-rollup 1.0.0-rc.1
/usr/local/lib/node_modules/angular-rollup/cli.js:169
if (program.build === 'dev' && program.jit === undefined && parseInt(projectPackage.dependencies['@angular/core'].split('.')[0]) < 5) {
^
TypeError: Cannot read property 'split' of undefined
at Timeout.init [as _onTimeout] (/usr/local/lib/node_modules/angular-rollup/cli.js:169:122)
at ontimeout (timers.js:386:11)
at tryOnTimeout (timers.js:250:5)
at Timer.listOnTimeout (timers.js:214:5)
`