是的!phpstorm里运行只要 点一下就 可以执行编译 要是要用命令行 也是可以的。
问题就是phpstorm在win里 在show npm script 里面点击development报错
D:\PhpStorm-2017.1.1\bin\runnerw.exe D:\Nodejs\node.exe D:\Nodejs\node_modules\npm\bin\npm-cli.js run development --scripts-prepend-node-path
@ development D:\phpStudy\Homestead\zhihu-app
cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js
'cross-env' �����ڲ����ⲿ���Ҳ���ǿ����еij���
���������ļ���
npm ERR! Windows_NT 6.1.7601
npm ERR! argv "D:\\Nodejs\\node.exe" "D:\\Nodejs\\node_modules\\npm\\bin\\npm-cli.js" "run" "development" "--scripts-prepend-node-path"
npm ERR! node v6.10.2
npm ERR! npm v3.10.10
npm ERR! code ELIFECYCLE
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 1
npm ERR!
npm ERR! Failed at the @ development script '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! 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 package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! 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! You can get information on how to open an issue for this project with:
npm ERR! npm bugs
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! D:\phpStudy\Homestead\zhihu-app\npm-debug.log