Vuejs代码更改未出现在网站中

时间:2017-07-23 13:45:41

标签: php vue.js hosting laravel-5.4 vps

我开发了laravel 5.4项目,然后托管了它,我在服务器上设置了nodejs和其他软件包,但是当在vuejs代码中编辑时,更改没有出现在网站上。 我也运行npm run dev,但它显示错误,这是错误:

npm ERR! code ELIFECYCLE
npm ERR! errno 126
npm ERR! @ development: `cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules 
config=node_modules/laravel-mix/setup/webpack.config.js`
npm ERR! Exit status 126
npm ERR!
npm ERR! Failed at the @ development script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

0 个答案:

没有答案