npm run dev没有完成,表示成功

时间:2018-03-30 22:56:15

标签: npm

我们有一个管道,它已经运行了几个星期运行npm命令为我们构建js和css资产,但今天它开始表明成功完成时,它只有46%或47%通过构建。我们的管道取得了成功并部署了应用程序,但它没有编译正确的文件。

命令运行:npm run dev --verbose

输出:

npm info it worked if it ends with ok
npm verb cli [ '/usr/bin/node', '/usr/bin/npm', 'run', 'dev', '--verbose' ]
npm info using npm@3.10.10
npm info using node@v7.10.1
npm verb run-script [ 'predev', 'dev', 'postdev' ]
npm info lifecycle @~predev: @
npm info lifecycle @~dev: @

> @ dev /var/www/html
> npm run development

npm info it worked if it ends with ok
npm verb cli [ '/usr/bin/node', '/usr/bin/npm', 'run', 'development' ]
npm info using npm@3.10.10
npm info using node@v7.10.1
npm verb run-script [ 'predevelopment', 'development', 'postdevelopment' ]
npm info lifecycle @~predevelopment: @
npm info lifecycle @~development: @

> @ development /var/www/html
> cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js

 48% building modules 317/318 modules 1 active ...w/html/resources/assets/sass/app.scssnpm verb lifecycle @~development: unsafe-perm in lifecycle true
npm verb lifecycle @~development: PATH: /usr/lib/node_modules/npm/bin/node-gyp-bin:/var/www/html/node_modules/.bin:/usr/lib/node_modules/npm/bin/node-gyp-bin:/var/www/html/node_modules/.bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
npm verb lifecycle @~development: CWD: /var/www/html
npm info lifecycle @~postdevelopment: @
npm verb exit [ 0, true ]
npm info ok 
npm verb lifecycle @~dev: unsafe-perm in lifecycle true
npm verb lifecycle @~dev: PATH: /usr/lib/node_modules/npm/bin/node-gyp-bin:/var/www/html/node_modules/.bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
npm verb lifecycle @~dev: CWD: /var/www/html
npm info lifecycle @~postdev: @
npm verb exit [ 0, true ]
npm info ok 

任何可能导致此问题的想法?我们在较小的机器上遇到了内存问题导致npm失败,但它们之前从未停止过成功的响应。

0 个答案:

没有答案