2017-09-18 4 views
0

패키지 npm i vue-admin-paper-dashboard을 설치했습니다.
그리고 내가 오류가 아래 얻고있다
npm install를 실행하면 그 이후 :
NPM 설치 및 npm 실행 오류 제공

npm ERR! Windows_NT 10.0.15063 
npm ERR! argv "c:\\Program Files\\nodejs\\node.exe" "c:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" 
npm ERR! node v6.10.2 
npm ERR! npm v3.10.10 
npm ERR! path E:\xampp\htdocs\VUEjs Templates\VUEjs-1\vue-paper-dashboard\node_modules\js-beautify\js\bin\css-beautify.js 
npm ERR! code ENOENT 
npm ERR! errno -4058 
npm ERR! syscall chmod 

npm ERR! enoent ENOENT: no such file or directory, chmod 'E:\xampp\htdocs\VUEjs Templates\VUEjs-1\vue-paper-dashboard\node_modules\js-beautify\js\bin\css-beautify.js' 
npm ERR! enoent ENOENT: no such file or directory, chmod 'E:\xampp\htdocs\VUEjs Templates\VUEjs-1\vue-paper-dashboard\node_modules\js-beautify\js\bin\css-beautify.js' 
npm ERR! enoent This is most likely not a problem with npm itself 
npm ERR! enoent and is related to npm not being able to find a file. 
npm ERR! enoent 

을 내가 npm run dev를 실행할 때, 나는 오류가 아래에 무엇입니까 :

npm ERR! Windows_NT 10.0.15063 
npm ERR! argv "c:\\Program Files\\nodejs\\node.exe" "c:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "run" "dev" 
npm ERR! node v6.10.2 
npm ERR! npm v3.10.10 
npm ERR! code ELIFECYCLE 
npm ERR! [email protected] dev: `cross-env ENABLE_ESLINT=true node build/dev-server.js` 
npm ERR! Exit status 1 
npm ERR! 
npm ERR! Failed at the [email protected] dev script 'cross-env ENABLE_ESLINT=true node build/dev-server.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-admin-paper-dashboard package, 
npm ERR! not with npm itself. 
npm ERR! Tell the author that this fails on your system: 
npm ERR!  cross-env ENABLE_ESLINT=true node build/dev-server.js 
npm ERR! You can get information on how to open an issue for this project with: 
npm ERR!  npm bugs vue-admin-paper-dashboard 
npm ERR! Or if that isn't available, you can get their info via: 
npm ERR!  npm owner ls vue-admin-paper-dashboard 
npm ERR! There is likely additional logging output above.<br /> 

은 참고

을 : 내가 설치 한 cross-env 패키지를 제공합니다.

편집 : 프로젝트 복제 시도
: LINK을하고 npm install 아직도 내가 점점 오전 같은 오류를 실행합니다.

답변

0

--save 또는 --save-dev 플래그를 사용하여 설치를 시도 했습니까?

+0

를 내가 오전 nstalling 하나의 패키지 npm vue-admin-paper-dashboard 그리고 이것은 --save 플래그를 사용하여 설치했습니다. –

1

을 사용하면 노드 버전을 사용하고 있는지 확인하십시오 JS-아름답게 1.7.0를 해결하기 위해> = 8이 같은 "의존성"에서 JS-아름답게의 버전을 추가 프로젝트 루트

의 패키지 lock.json을 추가 { "name": "my project name", "version": "1.0.0", "lockfileVersion": 1, "dependencies": { "js-beautify": { "version": "1.6.14", "resolved": "https://registry.npmjs.org/js-beautify/-/js-beautify-1.6.14.tgz", "integrity": "sha1-07j3Mi0CuSd9WL0jgmTDJ+WARM0=", "dev": true } } }