kazupon / vue-validator

:white_check_mark: Validator component for Vue.js
MIT License
2.19k stars 431 forks source link

npm run build报错 #306

Closed wendesun closed 7 years ago

wendesun commented 7 years ago

E:\tools\xampp\htdocs\vue-validator\vue-validator>npm run build

vue-validator@3.0.0-alpha.1 build E:\tools\xampp\htdocs\vue-validator\vue-validator NODE_ENV=production node config/build.js

'NODE_ENV' 不是内部或外部命令,也不是可运行的程序
或批处理文件。

npm ERR! Windows_NT 10.0.10586 npm ERR! argv "E:\tools\nodejs\node.exe" "C:\Users\mmwang\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js" "run" "build" npm ERR! node v6.2.2 npm ERR! npm v3.9.6 npm ERR! code ELIFECYCLE npm ERR! vue-validator@3.0.0-alpha.1 build: NODE_ENV=production node config/build.js npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the vue-validator@3.0.0-alpha.1 build script 'NODE_ENV=production node config/build.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 vue-validator package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! NODE_ENV=production node config/build.js npm ERR! You can get information on how to open an issue for this project with: npm ERR! npm bugs vue-validator npm ERR! Or if that isn't available, you can get their info via: npm ERR! npm owner ls vue-validator npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request: npm ERR! E:\tools\xampp\htdocs\vue-validator\vue-validator\npm-debug.log

E:\tools\xampp\htdocs\vue-validator\vue-validator>npm run build

vue-validator@3.0.0-alpha.1 build E:\tools\xampp\htdocs\vue-validator\vue-validator NODE_ENV=production node config/build.js

'NODE_ENV' 不是内部或外部命令,也不是可运行的程序
或批处理文件。

npm ERR! Windows_NT 10.0.10586 npm ERR! argv "E:\tools\nodejs\node.exe" "C:\Users\mmwang\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js" "run" "build" npm ERR! node v6.2.2 npm ERR! npm v3.9.6 npm ERR! code ELIFECYCLE npm ERR! vue-validator@3.0.0-alpha.1 build: NODE_ENV=production node config/build.js npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the vue-validator@3.0.0-alpha.1 build script 'NODE_ENV=production node config/build.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 vue-validator package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! NODE_ENV=production node config/build.js npm ERR! You can get information on how to open an issue for this project with: npm ERR! npm bugs vue-validator npm ERR! Or if that isn't available, you can get their info via: npm ERR! npm owner ls vue-validator npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request: npm ERR! E:\tools\xampp\htdocs\vue-validator\vue-validator\npm-debug.log

E:\tools\xampp\htdocs\vue-validator\vue-validator>npm run build

vue-validator@3.0.0-alpha.1 build E:\tools\xampp\htdocs\vue-validator\vue-validator NODE_ENV=production node config/build.js

'NODE_ENV' 不是内部或外部命令,也不是可运行的程序
或批处理文件。

npm ERR! Windows_NT 10.0.10586 npm ERR! argv "E:\tools\nodejs\node.exe" "C:\Users\mmwang\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js" "run" "build" npm ERR! node v6.2.2 npm ERR! npm v3.9.6 npm ERR! code ELIFECYCLE npm ERR! vue-validator@3.0.0-alpha.1 build: NODE_ENV=production node config/build.js npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the vue-validator@3.0.0-alpha.1 build script 'NODE_ENV=production node config/build.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 vue-validator package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! NODE_ENV=production node config/build.js npm ERR! You can get information on how to open an issue for this project with: npm ERR! npm bugs vue-validator npm ERR! Or if that isn't available, you can get their info via: npm ERR! npm owner ls vue-validator npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request: npm ERR! E:\tools\xampp\htdocs\vue-validator\vue-validator\npm-debug.log

kazupon commented 7 years ago

thanks for your reporting! dev is work in progress. I'll try fix.