moizKachwala / Angular2-express-mongoose-gulp-node-typescript

AngularJS 2 (Updated to 4.2.0) Mean Stack application which uses Angular2, Gulp, Express, Node, MongoDB (Mongoose) with Repository Pattern Business Layer
MIT License
196 stars 86 forks source link

npm run build error #31

Closed Valonix closed 7 years ago

Valonix commented 7 years ago

22:36:45] Requiring external module ts-node/register [22:36:47] Using gulpfile /opt/gulpfile.ts [22:36:47] Starting 'build'... [22:36:47] Starting 'clean'... [22:36:47] Finished 'clean' after 33 ms [22:36:47] Starting 'build:server'... [22:36:50] Finished 'build:server' after 2.19 s [22:36:50] Starting 'build:client'... [22:36:53] Finished 'build:client' after 3.49 s [22:36:53] Starting 'clientResources'... [22:36:53] Finished 'clientResources' after 35 ms [22:36:53] Starting 'serverResources'... [22:36:53] Finished 'serverResources' after 5.37 ms [22:36:53] Starting 'libs'... Killed

npm ERR! Linux 4.4.0-57-generic npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "run" "build" npm ERR! node v6.9.4 npm ERR! npm v4.1.1 npm ERR! code ELIFECYCLE npm ERR! angular2-express-mongo@1.0.0 build: gulp build npm ERR! Exit status 137 npm ERR! npm ERR! Failed at the angular2-express-mongo@1.0.0 build script 'gulp build'. 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 angular2-express-mongo package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! gulp build npm ERR! You can get information on how to open an issue for this project with: npm ERR! npm bugs angular2-express-mongo npm ERR! Or if that isn't available, you can get their info via: npm ERR! npm owner ls angular2-express-mongo npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request: npm ERR! /opt/npm-debug.log

Can you help me ? :)

Valonix commented 7 years ago

Resolved, it was the because of slow VPS config. I increased CPU + RAM and no problems...