generator-angular2-library
generator-angular2-library copied to clipboard
npm run playground fails
admin1@PC-131:/home1/lamppp/htdocs/angular-charts$npm run playground
> [email protected] playground /home1/lamppp/htdocs/angular-charts
> concurrently "npm run build:watch" "npm run playground:build" "npm run lite"
[1]
[1] > [email protected] playground:build /home1/lamppp/htdocs/angular-charts
[1] > tsc -p playground -w
[1]
[2]
[2] > [email protected] lite /home1/lamppp/htdocs/angular-charts
[2] > lite-server
[2]
[0]
[0] > [email protected] build:watch /home1/lamppp/htdocs/angular-charts
[0] > gulp
[0]
[1] playground/index.ts(9,31): error TS2307: Cannot find module 'angular-charts'.
[1] 3:09:36 PM - Compilation complete. Watching for file changes.
[1]
[1]
[2] ** browser-sync config **
[2] { injectChanges: false,
[2] files: [ './**/*.{html,htm,css,js}' ],
[2] watchOptions: { ignored: 'node_modules' },
[2] server:
[2] { baseDir: 'src',
[2] middleware: [ [Function], [Function] ],
[2] routes:
[2] { '/': 'playground',
[2] '/node_modules/': 'node_modules',
[2] '/dist/': 'dist',
[2] '/.playground': '.playground' } } }
[2] [Browsersync] Access URLs:
[2] --------------------------------------
[2] Local: http://localhost:3000
[2] External: http://192.168.1.189:3000
[2] --------------------------------------
[2] UI: http://localhost:3001
[2] UI External: http://192.168.1.189:3001
[2] --------------------------------------
[2] [Browsersync] Serving files from: src
[2] [Browsersync] Watching files...
[2] 17.09.22 15:09:41 200 GET /index.html
[0] [15:09:41]
[0] Using gulpfile /home1/lamppp/htdocs/angular-charts/gulpfile.js
[0] [15:09:41]
[0] Starting 'clean:dist'...
[0] [15:09:41]
[0] Starting 'clean:tmp'...
[0] [15:09:41]
[0] Starting 'clean:build'...
[0] [15:09:41]
[0] Starting 'compile'...
[0] [15:09:41]
[0] Starting 'watch'...
[0] [15:09:41] Finished 'watch' after 22 ms
[0] [15:09:41] Finished 'compile' after 26 ms
[0] [15:09:41] Finished 'clean:tmp' after 37 ms
[0] [15:09:41] Finished 'clean:build' after 35 ms
[0] [15:09:41] Finished 'clean:dist' after 160 ms
[0] [15:09:41] Starting 'copy:source'...
[0] [15:09:41]
[0] Starting 'clean'...
[0] [15:09:41] Finished 'clean' after 3.71 μs
[0] [15:09:41] Starting 'build'...
[0] [15:09:41] Finished 'build' after 2.43 μs
[0] [15:09:41] Starting 'build:watch'...
[0] [15:09:41] Finished 'build:watch' after 2.23 μs
[0] [15:09:41] Starting 'default'...
[0] [15:09:41] Finished 'default' after 7.45 μs
[0] [15:09:41]
[0] Finished 'copy:source' after 56 ms
[0] [15:09:41] Starting 'inline-resources'...
[0] [15:09:41]
[0] Finished 'inline-resources' after 13 ms
[0] [15:09:41] Starting 'ngc'...
[2] [Browsersync] Reloading Browsers...
[2] [Browsersync] Reloading Browsers...
[2] 17.09.22 15:09:42 304 GET /core-js/client/shim.min.js
[2] 17.09.22 15:09:42 304 GET /zone.js/dist/zone.js
[2] 17.09.22 15:09:42 200 GET /systemjs.config.js
[2] 17.09.22 15:09:42 304 GET /systemjs/dist/system.src.js
[2] 17.09.22 15:09:43 200 GET /index.js
[2] 17.09.22 15:09:43 304 GET /@angular/platform-browser/bundles/platform-browser.umd.js
[2] 17.09.22 15:09:43 304 GET /@angular/core/bundles/core.umd.js
[2] 17.09.22 15:09:43 304 GET /@angular/platform-browser-dynamic/bundles/platform-browser-dynamic.umd.js
[2] 17.09.22 15:09:43 404 GET /dist/angular-charts.umd.js
[2] 17.09.22 15:09:43 404 GET /sockjs-node/info
[2] events.js:160
[2] throw er; // Unhandled 'error' event
[2] ^
[2]
[2] Error: watch build ENOSPC
[2] at exports._errnoException (util.js:1026:11)
[2] at FSWatcher.start (fs.js:1429:19)
[2] at Object.fs.watch (fs.js:1456:11)
[2] at createFsWatchInstance (/home1/lamppp/htdocs/angular-charts/node_modules/chokidar/lib/nodefs-handler.js:37:15)
[2] at setFsWatchListener (/home1/lamppp/htdocs/angular-charts/node_modules/chokidar/lib/nodefs-handler.js:80:15)
[2] at FSWatcher.NodeFsHandler._watchWithNodeFs (/home1/lamppp/htdocs/angular-charts/node_modules/chokidar/lib/nodefs-handler.js:228:14)
[2] at FSWatcher.NodeFsHandler._handleDir (/home1/lamppp/htdocs/angular-charts/node_modules/chokidar/lib/nodefs-handler.js:407:19)
[2] at FSWatcher.<anonymous> (/home1/lamppp/htdocs/angular-charts/node_modules/chokidar/lib/nodefs-handler.js:455:19)
[2] at FSWatcher.<anonymous> (/home1/lamppp/htdocs/angular-charts/node_modules/chokidar/lib/nodefs-handler.js:460:16)
[2] at FSReqWrap.oncomplete (fs.js:123:15)
[2]
[2] npm
[2] ERR! Linux 4.4.0-93-generic
[2] npm ERR!
[2]
[2] argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "lite"
[2] npm ERR! node v6.8.1
[2] npm ERR! npm v3.10.8
[2] npm ERR! code ELIFECYCLE
[2] npm ERR! [email protected] lite: `lite-server`
[2] npm ERR! Exit status 1
[2] npm ERR!
[2] npm ERR! Failed at the [email protected] lite script 'lite-server'.
[2] npm ERR! Make sure you have the latest version of node.js and npm installed.
[2] npm ERR! If you do, this is most likely a problem with the angular-charts package,
[2] npm ERR! not with npm itself.
[2] npm ERR! Tell the author that this fails on your system:
[2] npm ERR! lite-server
[2] npm ERR! You can get information on how to open an issue for this project with:
[2] npm ERR! npm bugs angular-charts
[2] npm ERR! Or if that isn't available, you can get their info via:
[2] npm ERR! npm owner ls angular-charts
[2] npm ERR! There is likely additional logging output above.
[0] [15:09:44] Finished 'ngc' after 2.36 s
[0] [15:09:44] Starting 'rollup:fesm'...
[2]
[2] npm ERR! Please include the following file with any support request:
[2] npm ERR! /home1/lamppp/htdocs/angular-charts/npm-debug.log
[2] npm run lite exited with code 1
[0] [15:09:44]
[0] Finished 'rollup:fesm' after 331 ms
[0] [15:09:44]
[0] Starting 'rollup:umd'...
[0] No name was provided for external module '@angular/core' in options.globals – guessing 'core'
[0] No name was provided for external module '@angular/common' in options.globals – guessing 'common'
[0] [15:09:44]
[0] Finished 'rollup:umd' after 52 ms
[0] [15:09:44]
[0] Starting 'copy:build'...
[0] [15:09:44]
[0] Finished 'copy:build' after 13 ms
[0] [15:09:44]
[0] Starting 'copy:manifest'...
[0] [15:09:44]
[0] Finished 'copy:manifest' after 7.94 ms
[0] [15:09:44]
[0] Starting 'copy:readme'...
[0] [15:09:44]
[0] Finished 'copy:readme' after 1.73 ms
[0] [15:09:44]
[0] Starting 'clean:build'...
[0] [15:09:44]
[0] Finished 'clean:build' after 6.61 ms
[0] [15:09:44]
[0] Starting 'clean:tmp'...
[0] [15:09:44]
[0] Finished 'clean:tmp' after 3.73 ms
[0] Compilation finished succesfully
@ShermanT please wrap your output into code block
, because this is barealy readable https://help.github.com/articles/creating-and-highlighting-code-blocks/
But still 👍 Playground works only occasionally, I've managed to get it working only once. And mostly it is an infinite refresh loop for me.
thanks done
Playground works only occasionally, I've managed to get it working only once. And mostly it is an infinite refresh loop for me.
any solution for this
@ShermanT looking at the error quickly it seems there's no more space. Please have a look here https://stackoverflow.com/questions/22475849/node-js-error-enospc
@ShermanT — Can you please verify whether you have disk space left, see comment by @izifortune.
@izifortune — Thank you for your help!
@jvandemo I doesn't think so
$ df -h
Filesystem Size Used Avail Use% Mounted on
udev 1.9G 0 1.9G 0% /dev
tmpfs 385M 6.0M 379M 2% /run
/dev/sda1 37G 11G 24G 31% /
tmpfs 1.9G 93M 1.8G 5% /dev/shm
tmpfs 5.0M 4.0K 5.0M 1% /run/lock
tmpfs 1.9G 0 1.9G 0% /sys/fs/cgroup
/dev/sda5 15G 503M 14G 4% /boot
/dev/sda7 46G 1.6G 42G 4% /opt
/dev/sda9 172G 3.7G 159G 3% /home
/dev/sda6 7.3G 18M 6.9G 1% /tmp
/dev/sda10 176G 55G 113G 33% /home1
tmpfs 385M 60K 385M 1% /run/user/1000
however after clearing tmp folder and restarting server i am getting this error
admin1@PC-131:/home1/lamppp/htdocs/angular-charts$npm run playground
> [email protected] playground /home1/lamppp/htdocs/angular-charts
> concurrently "npm run build:watch" "npm run playground:build" "npm run lite"
[1]
[1] > [email protected] playground:build /home1/lamppp/htdocs/angular-charts
[1] > tsc -p playground -w
[1]
[0]
[0] > [email protected] build:watch /home1/lamppp/htdocs/angular-charts
[0] > gulp
[0]
[2]
[2] > [email protected] lite /home1/lamppp/htdocs/angular-charts
[2] > lite-server
[2]
[1] playground/index.ts(9,31): error TS2307: Cannot find module 'angular-charts'.
[1] 11:42:53 AM - Compilation complete. Watching for file changes.
[1]
[1]
[2] ** browser-sync config **
[2] { injectChanges: false,
[2] files: [ './**/*.{html,htm,css,js}' ],
[2] watchOptions: { ignored: 'node_modules' },
[2] server:
[2] { baseDir: 'src',
[2] middleware: [ [Function], [Function] ],
[2] routes:
[2] { '/': 'playground',
[2] '/node_modules/': 'node_modules',
[2] '/dist/': 'dist',
[2] '/.playground': '.playground' } } }
[2] [Browsersync] Access URLs:
[2] --------------------------------------
[2] Local: http://localhost:3001
[2] External: http://192.168.1.189:3001
[2] --------------------------------------
[2] UI: http://localhost:3002
[2] UI External: http://192.168.1.189:3002
[2] --------------------------------------
[2] [Browsersync] Serving files from: src
[2] [Browsersync] Watching files...
[0] [11:43:13]
[0] Using gulpfile /home1/lamppp/htdocs/angular-charts/gulpfile.js
[0] [11:43:13]
[0] Starting 'clean:dist'...
[0] [11:43:13] Starting 'clean:tmp'...
[0] [11:43:13]
[0] Starting 'clean:build'...
[0] [11:43:13]
[0] Starting 'compile'...
[0] [11:43:13]
[0] Starting 'watch'...
[0] [11:43:14]
[0] Finished 'watch' after 25 ms
[0] [11:43:14]
[0] Finished 'compile' after 29 ms
[0] [11:43:14]
[0] Finished 'clean:tmp' after 69 ms
[0] [11:43:14]
[0] Finished 'clean:build' after 66 ms
[0] [11:43:14]
[0] Finished 'clean:dist' after 168 ms
[0] [11:43:14]
[0] Starting 'copy:source'...
[0] [11:43:14]
[0] Starting 'clean'...
[0] [11:43:14] Finished 'clean' after 5.13 μs
[0] [11:43:14] Starting 'build'...
[0] [11:43:14] Finished 'build' after 4.02 μs
[0] [11:43:14] Starting 'build:watch'...
[0] [11:43:14] Finished 'build:watch' after 2.49 μs
[0] [11:43:14] Starting 'default'...
[0] [11:43:14] Finished 'default' after 2.05 μs
[2] [Browsersync] Reloading Browsers...
[2] [Browsersync] Reloading Browsers...
[0] [11:43:14]
[0] Finished 'copy:source' after 386 ms
[0] [11:43:14] Starting 'inline-resources'...
[0] [11:43:14]
[0] Finished 'inline-resources' after 14 ms
[0] [11:43:14] Starting 'ngc'...
[2] 17.09.26 11:43:16 200 GET /index.html
[2] 17.09.26 11:43:17 304 GET /core-js/client/shim.min.js
[2] 17.09.26 11:43:17 200 GET /systemjs.config.js
[2] 17.09.26 11:43:17 304 GET /zone.js/dist/zone.js
[2] 17.09.26 11:43:17 304 GET /systemjs/dist/system.src.js
[2] 17.09.26 11:43:18 200 GET /index.js
[2] 17.09.26 11:43:19 304 GET /@angular/platform-browser/bundles/platform-browser.umd.js
[2] 17.09.26 11:43:19 304 GET /@angular/core/bundles/core.umd.js
[2] 17.09.26 11:43:19 404 GET /dist/angular-charts.umd.js
[2] 17.09.26 11:43:19 304 GET /@angular/platform-browser-dynamic/bundles/platform-browser-dynamic.umd.js
[2] 17.09.26 11:43:19 404 GET /favicon.ico
[0] [11:43:22]
[0] Finished 'ngc' after 8.26 s
[0] [11:43:22]
[0] Starting 'rollup:fesm'...
[2] [Browsersync] Reloading Browsers...
[2] [Browsersync] Reloading Browsers...
[2] [Browsersync] Reloading Browsers...
[2] [Browsersync] Reloading Browsers...
[2] [Browsersync] Reloading Browsers...
[2] [Browsersync] Reloading Browsers...
[2] 17.09.26 11:43:22 304 GET /index.html
[2] 17.09.26 11:43:22 304 GET /core-js/client/shim.min.js
[2] 17.09.26 11:43:22 304 GET /zone.js/dist/zone.js
[2] 17.09.26 11:43:22 304 GET /systemjs/dist/system.src.js
[2] 17.09.26 11:43:22 304 GET /systemjs.config.js
[2] 17.09.26 11:43:23 304 GET /index.js
[2] 17.09.26 11:43:23 304 GET /@angular/platform-browser/bundles/platform-browser.umd.js
[2] 17.09.26 11:43:23 304 GET /@angular/core/bundles/core.umd.js
[2] 17.09.26 11:43:23 304 GET /@angular/platform-browser-dynamic/bundles/platform-browser-dynamic.umd.js
[2] 17.09.26 11:43:23 404 GET /dist/angular-charts.umd.js
[2] 17.09.26 11:43:24 304 GET /index.html
[2] 17.09.26 11:43:24 304 GET /core-js/client/shim.min.js
[2] 17.09.26 11:43:24 304 GET /zone.js/dist/zone.js
[2] 17.09.26 11:43:24 304 GET /systemjs/dist/system.src.js
[2] 17.09.26 11:43:24 304 GET /systemjs.config.js
[0] [11:43:24]
[0] Finished 'rollup:fesm' after 1.71 s
[2] [Browsersync] Reloading Browsers...
[0] [11:43:24]
[0] Starting 'rollup:umd'...
[2] 17.09.26 11:43:24 304 GET /index.html
[0] No name was provided for external module '@angular/core' in options.globals – guessing 'core'
[0] No name was provided for external module '@angular/common' in options.globals – guessing 'common'
[2] 17.09.26 11:43:24 304 GET /core-js/client/shim.min.js
[2] 17.09.26 11:43:24 304 GET /zone.js/dist/zone.js
[0] [11:43:24]
[0] Finished 'rollup:umd' after 84 ms
[0] [11:43:24]
[0] Starting 'copy:build'...
[2] [Browsersync] Reloading Browsers...
[2] 17.09.26 11:43:24 304 GET /systemjs/dist/system.src.js
[0] [11:43:24]
[0] Finished 'copy:build' after 26 ms
[0] [11:43:24]
[0] Starting 'copy:manifest'...
[0] [11:43:24]
[0] Finished 'copy:manifest' after 20 ms
[0] [11:43:24]
[0] Starting 'copy:readme'...
[2] 17.09.26 11:43:24 304 GET /systemjs.config.js
[0] [11:43:24]
[0] Finished 'copy:readme' after 34 ms
[0] [11:43:24]
[0] Starting 'clean:build'...
[0] [11:43:24]
[0] Finished 'clean:build' after 18 ms
[0] [11:43:24]
[0] Starting 'clean:tmp'...
[0] [11:43:24]
[0] Finished 'clean:tmp' after 13 ms
[0] Compilation finished succesfully
[2] [Browsersync] Reloading Browsers...
[2] [Browsersync] Reloading Browsers...
[2] [Browsersync] Reloading Browsers...
[2] [Browsersync] Reloading Browsers...
[2] [Browsersync] Reloading Browsers...
[2] [Browsersync] Reloading Browsers...
[2] [Browsersync] Reloading Browsers...
[2] 17.09.26 11:43:24 304 GET /index.js
[2] 17.09.26 11:43:24 304 GET /@angular/platform-browser/bundles/platform-browser.umd.js
[2] 17.09.26 11:43:24 304 GET /@angular/core/bundles/core.umd.js
[2] 17.09.26 11:43:24 304 GET /@angular/platform-browser-dynamic/bundles/platform-browser-dynamic.umd.js
[2] 17.09.26 11:43:24 200 GET /angular-charts.umd.js
[2] 17.09.26 11:43:25 304 GET /index.js
[2] 17.09.26 11:43:25 304 GET /@angular/platform-browser/bundles/platform-browser.umd.js
[2] 17.09.26 11:43:25 304 GET /@angular/core/bundles/core.umd.js
[2] 17.09.26 11:43:25 304 GET /@angular/platform-browser-dynamic/bundles/platform-browser-dynamic.umd.js
[2] 17.09.26 11:43:25 304 GET /angular-charts.umd.js
[2] 17.09.26 11:43:25 304 GET /@angular/compiler/bundles/compiler.umd.js
[2] 17.09.26 11:43:25 304 GET /@angular/common/bundles/common.umd.js
[2] 17.09.26 11:43:25 304 GET /rxjs/Observable.js
[2] 17.09.26 11:43:25 304 GET /rxjs/observable/merge.js
[2] 17.09.26 11:43:25 304 GET /rxjs/operator/share.js
[2] 17.09.26 11:43:25 304 GET /rxjs/Subject.js
[2] 17.09.26 11:43:25 304 GET /rxjs/Observable.js
[2] 17.09.26 11:43:25 304 GET /rxjs/observable/merge.js
[2] 17.09.26 11:43:25 304 GET /rxjs/operator/share.js
[2] 17.09.26 11:43:25 304 GET /rxjs/Subject.js
[2] 17.09.26 11:43:25 304 GET /@angular/common/bundles/common.umd.js
[2] 17.09.26 11:43:25 304 GET /rxjs/util/root.js
[2] 17.09.26 11:43:25 304 GET /rxjs/util/toSubscriber.js
[2] 17.09.26 11:43:25 304 GET /rxjs/operator/merge.js
[2] 17.09.26 11:43:25 304 GET /rxjs/operator/multicast.js
[2] 17.09.26 11:43:25 304 GET /rxjs/Subscriber.js
[2] 17.09.26 11:43:25 304 GET /rxjs/util/root.js
[2] 17.09.26 11:43:25 304 GET /rxjs/util/toSubscriber.js
[2] 17.09.26 11:43:25 304 GET /rxjs/util/ObjectUnsubscribedError.js
[2] 17.09.26 11:43:25 304 GET /rxjs/Subscription.js
[2] 17.09.26 11:43:25 304 GET /rxjs/SubjectSubscription.js
[2] 17.09.26 11:43:25 304 GET /rxjs/operator/multicast.js
[2] 17.09.26 11:43:25 304 GET /rxjs/operator/merge.js
[2] 17.09.26 11:43:25 304 GET /rxjs/symbol/observable.js
[2] 17.09.26 11:43:25 304 GET /rxjs/symbol/rxSubscriber.js
[2] 17.09.26 11:43:25 304 GET /rxjs/Subscriber.js
[2] 17.09.26 11:43:25 304 GET /rxjs/util/ObjectUnsubscribedError.js
[2] 17.09.26 11:43:25 304 GET /rxjs/SubjectSubscription.js
[2] 17.09.26 11:43:25 304 GET /rxjs/Subscription.js
[2] 17.09.26 11:43:25 304 GET /rxjs/symbol/observable.js
[2] 17.09.26 11:43:25 304 GET /rxjs/symbol/rxSubscriber.js
[2] 17.09.26 11:43:25 304 GET /rxjs/observable/ConnectableObservable.js
[2] 17.09.26 11:43:25 304 GET /rxjs/observable/ArrayObservable.js
[2] 17.09.26 11:43:25 304 GET /rxjs/operator/mergeAll.js
[2] 17.09.26 11:43:25 304 GET /rxjs/observable/ConnectableObservable.js
[2] 17.09.26 11:43:25 304 GET /rxjs/observable/ArrayObservable.js
[2] 17.09.26 11:43:25 304 GET /rxjs/operator/mergeAll.js
[2] 17.09.26 11:43:25 304 GET /rxjs/util/isScheduler.js
[2] 17.09.26 11:43:25 304 GET /rxjs/Observer.js
[2] 17.09.26 11:43:25 304 GET /@angular/compiler/bundles/compiler.umd.js
[2] 17.09.26 11:43:25 304 GET /rxjs/util/isScheduler.js
[2] 17.09.26 11:43:25 304 GET /rxjs/Observer.js
[2] 17.09.26 11:43:25 304 GET /rxjs/util/isFunction.js
[2] 17.09.26 11:43:25 304 GET /rxjs/util/isArray.js
[2] 17.09.26 11:43:25 304 GET /rxjs/util/isFunction.js
[2] 17.09.26 11:43:25 304 GET /rxjs/util/isArray.js
[2] 17.09.26 11:43:25 304 GET /rxjs/util/isObject.js
[2] 17.09.26 11:43:25 304 GET /rxjs/util/errorObject.js
[2] 17.09.26 11:43:25 304 GET /rxjs/util/UnsubscriptionError.js
[2] 17.09.26 11:43:25 304 GET /rxjs/util/tryCatch.js
[2] 17.09.26 11:43:25 304 GET /rxjs/util/isObject.js
[2] 17.09.26 11:43:25 304 GET /rxjs/util/errorObject.js
[2] 17.09.26 11:43:25 304 GET /rxjs/util/UnsubscriptionError.js
[2] 17.09.26 11:43:25 304 GET /rxjs/util/tryCatch.js
[2] 17.09.26 11:43:25 304 GET /rxjs/observable/ScalarObservable.js
[2] 17.09.26 11:43:25 304 GET /rxjs/observable/EmptyObservable.js
[2] 17.09.26 11:43:25 304 GET /rxjs/OuterSubscriber.js
[2] 17.09.26 11:43:25 304 GET /rxjs/util/subscribeToResult.js
[2] 17.09.26 11:43:26 304 GET /rxjs/observable/ScalarObservable.js
[2] 17.09.26 11:43:26 304 GET /rxjs/observable/EmptyObservable.js
[2] 17.09.26 11:43:26 304 GET /rxjs/OuterSubscriber.js
[2] 17.09.26 11:43:26 304 GET /rxjs/util/subscribeToResult.js
[2] 17.09.26 11:43:26 304 GET /rxjs/util/isArrayLike.js
[2] 17.09.26 11:43:26 304 GET /rxjs/util/isArrayLike.js
[2] 17.09.26 11:43:26 304 GET /rxjs/symbol/iterator.js
[2] 17.09.26 11:43:26 304 GET /rxjs/InnerSubscriber.js
[2] 17.09.26 11:43:26 304 GET /rxjs/symbol/iterator.js
[2] 17.09.26 11:43:26 304 GET /rxjs/InnerSubscriber.js
[2] 17.09.26 11:43:26 304 GET /rxjs/util/isPromise.js
[2] 17.09.26 11:43:26 304 GET /rxjs/util/isPromise.js
[0] [11:44:03]
[0] Starting 'compile'...
[0] [11:44:03] Starting 'clean:dist'...
[0] [11:44:03]
[0] Finished 'compile' after 34 ms
[0] [11:44:03]
[0] Finished 'clean:dist' after 51 ms
[0] [11:44:03] Starting 'copy:source'...
[0] [11:44:03]
[0] Finished 'copy:source' after 47 ms
[0] [11:44:03] Starting 'inline-resources'...
[0] [11:44:03] Finished 'inline-resources' after 5.3 ms
[0] [11:44:03] Starting 'ngc'...
[2] [Browsersync] Reloading Browsers...
[2] [Browsersync] Reloading Browsers...
[2] 17.09.26 11:44:03 304 GET /index.html
[2] 17.09.26 11:44:03 304 GET /core-js/client/shim.min.js
[2] 17.09.26 11:44:03 304 GET /zone.js/dist/zone.js
[2] 17.09.26 11:44:03 304 GET /systemjs.config.js
[2] 17.09.26 11:44:03 304 GET /systemjs/dist/system.src.js
[2] 17.09.26 11:44:04 304 GET /index.js
[2] 17.09.26 11:44:04 304 GET /@angular/platform-browser/bundles/platform-browser.umd.js
[2] 17.09.26 11:44:04 304 GET /@angular/core/bundles/core.umd.js
[2] 17.09.26 11:44:04 304 GET /@angular/platform-browser-dynamic/bundles/platform-browser-dynamic.umd.js
[2] 17.09.26 11:44:04 404 GET /dist/angular-charts.umd.js
[2] [Browsersync] Reloading Browsers...
[0] [11:44:05]
[0] Finished 'ngc' after 1.79 s
[0] [11:44:05]
[2] 17.09.26 11:44:05 304 GET /index.html
[0] Starting 'rollup:fesm'...
[2] [Browsersync] Reloading Browsers...
[2] [Browsersync] Reloading Browsers...
[2] [Browsersync] Reloading Browsers...
[0] [11:44:05]
[0] Starting 'compile'...
[0] [11:44:05]
[0] Starting 'clean:dist'...
[0] [11:44:05]
[0] Finished 'compile' after 2.6 ms
[0] [11:44:05]
[0] Finished 'clean:dist' after 3.86 ms
[0] [11:44:05]
[0] Starting 'copy:source'...
[2] [Browsersync] Reloading Browsers...
[2] [Browsersync] Reloading Browsers...
[2] 17.09.26 11:44:05 304 GET /systemjs.config.js
[2] 17.09.26 11:44:05 304 GET /core-js/client/shim.min.js
[2] 17.09.26 11:44:05 304 GET /zone.js/dist/zone.js
[2] 17.09.26 11:44:05 304 GET /systemjs/dist/system.src.js
[0] [11:44:05]
[0] Finished 'rollup:fesm' after 154 ms
[0] [11:44:05]
[0] Starting 'rollup:umd'...
[2] [Browsersync] Reloading Browsers...
[0] No name was provided for external module '@angular/core' in options.globals – guessing 'core'
[0] No name was provided for external module '@angular/common' in options.globals – guessing 'common'
[0] [11:44:05]
[0] Finished 'rollup:umd' after 93 ms
[0] [11:44:05]
[0] Starting 'copy:build'...
[0] [11:44:05]
[0] Finished 'copy:source' after 219 ms
[0] [11:44:05]
[0] Starting 'inline-resources'...
[0] [11:44:05]
[0] Finished 'inline-resources' after 7 ms
[0] [11:44:05]
[0] Starting 'ngc'...
[2] [Browsersync] Reloading Browsers...
[2] 17.09.26 11:44:05 304 GET /index.js
[2] 17.09.26 11:44:05 304 GET /@angular/platform-browser/bundles/platform-browser.umd.js
[2] 17.09.26 11:44:05 304 GET /@angular/core/bundles/core.umd.js
[2] 17.09.26 11:44:05 304 GET /@angular/platform-browser-dynamic/bundles/platform-browser-dynamic.umd.js
[2] 17.09.26 11:44:05 200 GET /angular-charts.umd.js
[2] 17.09.26 11:44:05 304 GET /@angular/common/bundles/common.umd.js
[2] 17.09.26 11:44:05 304 GET /@angular/compiler/bundles/compiler.umd.js
[2] 17.09.26 11:44:05 304 GET /rxjs/Observable.js
[2] 17.09.26 11:44:06 304 GET /rxjs/observable/merge.js
[2] 17.09.26 11:44:06 304 GET /rxjs/operator/share.js
[2] 17.09.26 11:44:06 304 GET /rxjs/Subject.js
[2] 17.09.26 11:44:06 304 GET /rxjs/util/root.js
[2] 17.09.26 11:44:06 304 GET /rxjs/util/toSubscriber.js
[2] 17.09.26 11:44:06 304 GET /rxjs/symbol/observable.js
[2] 17.09.26 11:44:06 304 GET /rxjs/operator/merge.js
[2] 17.09.26 11:44:06 304 GET /rxjs/operator/multicast.js
[2] 17.09.26 11:44:06 304 GET /rxjs/Subscriber.js
[2] 17.09.26 11:44:06 304 GET /rxjs/Subscription.js
[2] 17.09.26 11:44:06 304 GET /rxjs/util/ObjectUnsubscribedError.js
[2] 17.09.26 11:44:06 304 GET /rxjs/SubjectSubscription.js
[2] 17.09.26 11:44:06 304 GET /rxjs/symbol/rxSubscriber.js
[2] 17.09.26 11:44:06 304 GET /rxjs/Observer.js
[2] 17.09.26 11:44:06 304 GET /rxjs/observable/ArrayObservable.js
[2] 17.09.26 11:44:06 304 GET /rxjs/operator/mergeAll.js
[2] 17.09.26 11:44:06 304 GET /rxjs/util/isScheduler.js
[2] 17.09.26 11:44:06 304 GET /rxjs/observable/ConnectableObservable.js
[2] 17.09.26 11:44:06 304 GET /rxjs/util/isFunction.js
[2] 17.09.26 11:44:06 304 GET /rxjs/util/isArray.js
[2] 17.09.26 11:44:06 304 GET /rxjs/util/isObject.js
[2] 17.09.26 11:44:06 304 GET /rxjs/util/tryCatch.js
[2] 17.09.26 11:44:06 304 GET /rxjs/util/errorObject.js
[2] 17.09.26 11:44:06 304 GET /rxjs/util/UnsubscriptionError.js
[2] 17.09.26 11:44:06 304 GET /rxjs/observable/ScalarObservable.js
[2] 17.09.26 11:44:06 304 GET /rxjs/observable/EmptyObservable.js
[2] 17.09.26 11:44:06 304 GET /rxjs/OuterSubscriber.js
[2] 17.09.26 11:44:06 304 GET /rxjs/util/subscribeToResult.js
[2] 17.09.26 11:44:06 304 GET /rxjs/util/isArrayLike.js
[2] 17.09.26 11:44:06 304 GET /rxjs/util/isPromise.js
[2] 17.09.26 11:44:06 304 GET /rxjs/symbol/iterator.js
[2] 17.09.26 11:44:06 304 GET /rxjs/InnerSubscriber.js
[2] [Browsersync] Reloading Browsers...
[2] [Browsersync] Reloading Browsers...
[2] [Browsersync] Reloading Browsers...
[0] [11:44:07]
[0] Finished 'ngc' after 1.44 s
[0] [11:44:07]
[0] Starting 'rollup:fesm'...
[2] [Browsersync] Reloading Browsers...
[2] [Browsersync] Reloading Browsers...
[2] [Browsersync] Reloading Browsers...
[2] 17.09.26 11:44:07 304 GET /index.html
[0] [11:44:07]
[0] Finished 'rollup:fesm' after 88 ms
[0] [11:44:07]
[0] Starting 'rollup:umd'...
[2] [Browsersync] Reloading Browsers...
[0] [11:44:07]
[0] Finished 'copy:build' after 1.57 s
[0] [11:44:07]
[0] Starting 'copy:manifest'...
[0] [11:44:07]
[0] Finished 'copy:manifest' after 6.81 ms
[0] [11:44:07]
[0] Starting 'copy:readme'...
[2] 17.09.26 11:44:07 200 GET /index.html
[0] No name was provided for external module '@angular/core' in options.globals – guessing 'core'
[0] No name was provided for external module '@angular/common' in options.globals – guessing 'common'
[0] [11:44:07]
[0] Finished 'rollup:umd' after 109 ms
[0] [11:44:07]
[0] Starting 'copy:build'...
[2] [Browsersync] Reloading Browsers...
[0] [11:44:07]
[0] Finished 'copy:readme' after 102 ms
[0] [11:44:07]
[0] Starting 'clean:build'...
[2] 17.09.26 11:44:07 304 GET /core-js/client/shim.min.js
[0] events.js:160
[0] throw er; // Unhandled 'error' event
[0] ^
[0]
[0] Error: ENOENT: no such file or directory, open '/home1/lamppp/htdocs/angular-charts/build/sample.service.d.ts'
[0] at Error (native)
[2] 17.09.26 11:44:07 304 GET /zone.js/dist/zone.js
[2] 17.09.26 11:44:07 304 GET /systemjs.config.js
[2] 17.09.26 11:44:07 304 GET /systemjs/dist/system.src.js
[2] [Browsersync] Reloading Browsers...
[2] [Browsersync] Reloading Browsers...
[2] [Browsersync] Reloading Browsers...
[2] [Browsersync] Reloading Browsers...
[2] [Browsersync] Reloading Browsers...
[2] [Browsersync] Reloading Browsers...
[2] [Browsersync] Reloading Browsers...
[2] 17.09.26 11:44:07 304 GET /index.js
[2] 17.09.26 11:44:07 304 GET /@angular/platform-browser/bundles/platform-browser.umd.js
[2] 17.09.26 11:44:07 304 GET /@angular/core/bundles/core.umd.js
[2] 17.09.26 11:44:07 304 GET /@angular/platform-browser-dynamic/bundles/platform-browser-dynamic.umd.js
[2] 17.09.26 11:44:07 200 GET /angular-charts.umd.js
[2] 17.09.26 11:44:07 304 GET /@angular/common/bundles/common.umd.js
[2] 17.09.26 11:44:07 304 GET /@angular/compiler/bundles/compiler.umd.js
[2] 17.09.26 11:44:07 304 GET /rxjs/Observable.js
[2] 17.09.26 11:44:07 304 GET /rxjs/observable/merge.js
[2] 17.09.26 11:44:07 304 GET /rxjs/operator/share.js
[2] 17.09.26 11:44:07 304 GET /rxjs/Subject.js
[2] 17.09.26 11:44:07 304 GET /rxjs/util/root.js
[2] 17.09.26 11:44:07 304 GET /rxjs/util/toSubscriber.js
[2] 17.09.26 11:44:07 304 GET /rxjs/symbol/observable.js
[2] 17.09.26 11:44:07 304 GET /rxjs/operator/merge.js
[2] 17.09.26 11:44:07 304 GET /rxjs/operator/multicast.js
[2] 17.09.26 11:44:07 304 GET /rxjs/Subscriber.js
[2] 17.09.26 11:44:07 304 GET /rxjs/Subscription.js
[2] 17.09.26 11:44:07 304 GET /rxjs/util/ObjectUnsubscribedError.js
[2] 17.09.26 11:44:07 304 GET /rxjs/SubjectSubscription.js
[2] 17.09.26 11:44:07 304 GET /rxjs/symbol/rxSubscriber.js
[2] 17.09.26 11:44:08 304 GET /rxjs/Observer.js
[2] 17.09.26 11:44:08 304 GET /rxjs/observable/ArrayObservable.js
[2] 17.09.26 11:44:08 304 GET /rxjs/operator/mergeAll.js
[2] 17.09.26 11:44:08 304 GET /rxjs/util/isScheduler.js
[2] 17.09.26 11:44:08 304 GET /rxjs/observable/ConnectableObservable.js
[2] 17.09.26 11:44:08 304 GET /rxjs/util/isArray.js
[2] 17.09.26 11:44:08 304 GET /rxjs/util/isObject.js
[2] 17.09.26 11:44:08 304 GET /rxjs/util/tryCatch.js
[2] 17.09.26 11:44:08 304 GET /rxjs/util/errorObject.js
[2] 17.09.26 11:44:08 304 GET /rxjs/util/UnsubscriptionError.js
[2] 17.09.26 11:44:08 304 GET /rxjs/util/isFunction.js
[2] 17.09.26 11:44:08 304 GET /rxjs/observable/ScalarObservable.js
[2] 17.09.26 11:44:08 304 GET /rxjs/observable/EmptyObservable.js
[2] 17.09.26 11:44:08 304 GET /rxjs/OuterSubscriber.js
[2] 17.09.26 11:44:08 304 GET /rxjs/util/subscribeToResult.js
[2] 17.09.26 11:44:08 304 GET /rxjs/util/isArrayLike.js
[2] 17.09.26 11:44:08 304 GET /rxjs/util/isPromise.js
[2] 17.09.26 11:44:08 304 GET /rxjs/symbol/iterator.js
[2] 17.09.26 11:44:08 304 GET /rxjs/InnerSubscriber.js
[0]
[0] npm
[0]
[0] ERR!
[0] Linux 4.4.0-93-generic
[0] npm
[0]
[0] ERR!
[0]
[0] argv
[0] "/usr/local/bin/node" "/usr/local/bin/npm" "run" "build:watch"
[0] npm
[0]
[0] ERR!
[0]
[0] node
[0] v6.8.1
[0] npm
[0]
[0] ERR!
[0]
[0] npm
[0] v3.10.8
[0] npm ERR! code ELIFECYCLE
[0] npm ERR! [email protected] build:watch: `gulp`
[0] npm ERR! Exit status 1
[0] npm ERR!
[0] npm ERR! Failed at the [email protected] build:watch script 'gulp'.
[0] npm ERR! Make sure you have the latest version of node.js and npm installed.
[0] npm ERR! If you do, this is most likely a problem with the angular-charts package,
[0] npm ERR! not with npm itself.
[0] npm ERR! Tell the author that this fails on your system:
[0] npm ERR! gulp
[0] npm
[0]
[0] ERR!
[0] You can get information on how to open an issue for this project with:
[0] npm
[0]
[0] ERR!
[0] npm bugs angular-charts
[0] npm ERR! Or if that isn't available, you can get their info via:
[0] npm ERR! npm owner ls angular-charts
[0] npm ERR! There is likely additional logging output above.
[0]
[0] npm
[0]
[0] ERR!
[0] Please include the following file with any support request:
[0] npm
[0]
[0] ERR!
[0] /home1/lamppp/htdocs/angular-charts/npm-debug.log
[0] npm run build:watch exited with code 1
I can confirm the same issue - fresh install, ran npm run build
followed by npm run playground
and returns;
[1] playground/index.ts(9,30): error TS2307: Cannot find module 'my-module'.
[1] 1:23:51 PM - Compilation complete. Watching for file changes.
+1
Playground used to work. As soon as I delete the .playground
folder and run npm run playground
I get 404
for the module js file:
[0] Finished 'clean:build' after 14 ms [0] [10:48:53] Starting 'clean:tmp'... [2] [Browsersync] Reloading Browsers... [2] [Browsersync] Reloading Browsers... [2] 17.11.20 10:48:53 404 GET /.playground/index.js <<<<<<<<HERE<<<<<<<<<<<<< [0] [10:48:53] [0] Finished 'clean:tmp' after 106 ms
+1, any updates?
+1, ran into this on setup just not and confused as to why there is this issue:
playground/index.ts(9,31): error TS2307: Cannot find module 'techgorilla-ui'.
Update It seems for me that if I run my cmd.exe as administrator, load the folder and run 'npm run playground' like normal it will indeed run
+1 I got the same 404 GET /.playground/index.js error.
After changing playground/index.html line 16 to: System.import('.playground/playground/index.js').catch(function(err){ console.error(err); });
the 404 disappears, but I still get the Unhandled 'error' when running npm run playground in cmd.exe as admin as described above. But only sometimes. - meaning i have to start the server several times until it doesn't throw an error. The error details are:
[2] events.js:160 [2] throw er; // Unhandled 'error' event [2] ^ [2] [2] Error: EPERM: operation not permitted, lstat '...myapp\build' [2] at Error (native) [2] [2] npm ERR! Windows_NT 10.0.15063 [2] npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "run" "lite" [2] npm ERR! node v6.12.3 [2] npm ERR! npm v3.10.10
Any news on this?? I cant do an npm publish every time I have to check if everything's fine!!
Something new guys ?
This generator is a generator of the past.
With my generator you'll test your libs with an ordinary ng serve
Angular 5 6 and 7 supported!
https://github.com/tonysamperi/generator-ngx-lib
Thanks Tony, I'm trying your generator, I have some issues right at the first npm run build. Could we talk ?
@doudbanks sure you can open an issue on my repo!
Thanks man,
Could I ask you some questions ?
Le mer. 13 févr. 2019 à 09:15, Tony Samperi [email protected] a écrit :
@doudbanks https://github.com/doudbanks sure you can open an issue on my repo!
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/jvandemo/generator-angular2-library/issues/206#issuecomment-463214230, or mute the thread https://github.com/notifications/unsubscribe-auth/AD0JUqBiduDJeci1MlL3tXjjL2iALu_gks5vNB37gaJpZM4PgTF0 .