Прохожу
Angular2 Quickstart
npm install вызывает ошибку:
├── UNMET PEER DEPENDENCY es6-shim@^0.35.0
├── UNMET DEPENDENCY reflect-metadata@^0.1.3
├── UNMET DEPENDENCY rxjs@5.0.0-beta.6
└── UNMET DEPENDENCY zone.js@^0.6.12
$: npm start
> ng@1.0.0 start /home/zuber/Projects/warehouse/project/static/ng
> tsc && concurrently "npm run tsc:w" "npm run lite"
[0]
[0] > ng@1.0.0 tsc:w /home/zuber/Projects/warehouse/project/static/ng
[0] > tsc -w
[0]
[1]
[1] > ng@1.0.0 lite /home/zuber/Projects/warehouse/project/static/ng
[1] > lite-server
[1]
[0] fs.js:1431
[0] throw error;
[0] ^
[0]
[0] Error: watch /home/zuber/Projects/warehouse/project/static/ng ENOSPC
[0] at exports._errnoException (util.js:1026:11)
[0] at FSWatcher.start (fs.js:1429:19)
[0] at Object.fs.watch (fs.js:1456:11)
[0] at addDirWatcher (/home/zuber/Projects/warehouse/project/static/ng/node_modules/typescript/lib/tsc.js:1036:39)
[0] at Object.addFile (/home/zuber/Projects/warehouse/project/static/ng/node_modules/typescript/lib/tsc.js:1051:21)
[0] at Object.watchFile (/home/zuber/Projects/warehouse/project/static/ng/node_modules/typescript/lib/tsc.js:1172:48)
[0] at Object.executeCommandLine (/home/zuber/Projects/warehouse/project/static/ng/node_modules/typescript/lib/tsc.js:34546:44)
[0] at Object.<anonymous> (/home/zuber/Projects/warehouse/project/static/ng/node_modules/typescript/lib/tsc.js:34877:4)
[0] at Module._compile (module.js:556:32)
[0] at Object.Module._extensions..js (module.js:565:10)
[0]
[0] npm
[0]
[0] ERR!
[0] Linux 3.19.0-32-generic
[0] npm
[0]
[0] ERR!
[0]
[0] argv
[0] "/usr/local/bin/node" "/usr/local/bin/npm" "run" "tsc:w"
[0] npm
[0]
[0] ERR!
[0]
[0] node
[0] v6.4.0
[0] npm ERR! npm v3.10.3
[0] npm ERR! code ELIFECYCLE
[0] npm ERR! ng@1.0.0 tsc:w: `tsc -w`
[0] npm ERR! Exit status 1
[0] npm ERR!
[0] npm ERR! Failed at the ng@1.0.0 tsc:w script 'tsc -w'.
[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 ng package,
[0] npm ERR! not with npm itself.
[0] npm ERR! Tell the author that this fails on your system:
[0] npm ERR! tsc -w
[0] npm ERR! You can get information on how to open an issue for this project with:
[0] npm ERR! npm bugs ng
[0] npm ERR! Or if that isn't available, you can get their info via:
[0] npm ERR! npm owner ls ng
[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] /home/zuber/Projects/warehouse/project/static/ng/npm-debug.log
[0] npm run tsc:w exited with code 1
[1] Did not detect a `bs-config.json` or `bs-config.js` override file. Using lite-server defaults...
[1] ** browser-sync config **
[1] { injectChanges: false,
[1] files: [ './**/*.{html,htm,css,js}' ],
[1] watchOptions: { ignored: 'node_modules' },
[1] server: { baseDir: './', middleware: [ [Function], [Function] ] } }
[1] events.js:160
[1] throw er; // Unhandled 'error' event
[1] ^
[1]
[1] Error: watch . ENOSPC
[1] at exports._errnoException (util.js:1026:11)
[1] at FSWatcher.start (fs.js:1429:19)
[1] at Object.fs.watch (fs.js:1456:11)
[1] at createFsWatchInstance (/home/zuber/Projects/warehouse/project/static/ng/node_modules/chokidar/lib/nodefs-handler.js:37:15)
[1] at setFsWatchListener (/home/zuber/Projects/warehouse/project/static/ng/node_modules/chokidar/lib/nodefs-handler.js:80:15)
[1] at FSWatcher.NodeFsHandler._watchWithNodeFs (/home/zuber/Projects/warehouse/project/static/ng/node_modules/chokidar/lib/nodefs-handler.js:228:14)
[1] at FSWatcher.NodeFsHandler._handleDir (/home/zuber/Projects/warehouse/project/static/ng/node_modules/chokidar/lib/nodefs-handler.js:407:19)
[1] at FSWatcher.<anonymous> (/home/zuber/Projects/warehouse/project/static/ng/node_modules/chokidar/lib/nodefs-handler.js:455:19)
[1] at FSWatcher.<anonymous> (/home/zuber/Projects/warehouse/project/static/ng/node_modules/chokidar/lib/nodefs-handler.js:460:16)
[1] at FSReqWrap.oncomplete (fs.js:123:15)
[1]
[1] npm
[1]
[1] ERR!
[1] Linux 3.19.0-32-generic
[1] npm
[1]
[1] ERR!
[1]
[1] argv
[1] "/usr/local/bin/node" "/usr/local/bin/npm" "run" "lite"
[1] npm
[1]
[1] ERR!
[1]
[1] node
[1] v6.4.0
[1] npm
[1]
[1] ERR!
[1]
[1] npm v3.10.3
[1] npm ERR! code ELIFECYCLE
[1] npm ERR! ng@1.0.0 lite: `lite-server`
[1] npm ERR! Exit status 1
[1] npm ERR!
[1] npm ERR! Failed at the ng@1.0.0 lite script 'lite-server'.
[1] npm ERR! Make sure you have the latest version of node.js and npm installed.
[1] npm ERR! If you do, this is most likely a problem with the ng package,
[1] npm ERR! not with npm itself.
[1] npm ERR! Tell the author that this fails on your system:
[1] npm ERR! lite-server
[1] npm ERR! You can get information on how to open an issue for this project with:
[1] npm ERR! npm bugs ng
[1] npm ERR! Or if that isn't available, you can get their info via:
[1] npm ERR! npm owner ls ng
[1] npm ERR! There is likely additional logging output above.
[1]
[1] npm
[1]
[1] ERR!
[1] Please include the following file with any support request:
[1] npm
[1]
[1] ERR!
[1] /home/zuber/Projects/warehouse/project/static/ng/npm-debug.log
[1] npm run lite exited with code 1
npm ERR! Linux 3.19.0-32-generic
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "start"
npm ERR! node v6.4.0
npm ERR! npm v3.10.3
npm ERR! code ELIFECYCLE
npm ERR! ng@1.0.0 start: `tsc && concurrently "npm run tsc:w" "npm run lite" `
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the ng@1.0.0 start script 'tsc && concurrently "npm run tsc:w" "npm run lite" '.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the ng package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! tsc && concurrently "npm run tsc:w" "npm run lite"
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs ng
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls ng
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /home/zuber/Projects/warehouse/project/static/ng/app/npm-debug.log
npm install (-g|--save) zone.js/es6-shim@/etc оставляет ошибку на месте. Что я делаю не так? Только освавиваю npm
И есть ли какой-нибудь способ установить всё, что есть в requirements одной командой-аналогом pip install -r requirements в python?