jaesung2061/anvel

Issue with Install

Closed this issue · 1 comments

@jaesung2061 @sakul977
I installed this project fresh on a laragon server and getting this when trying to do npm install:

anvel@1.0.0 bootstrap C:\laragon\www\anvel
if [ ! -d "angular/styles/bootstrap" ]; then cp -R node_modules/bootstrap/scss angular/styles/bootstrap; fi

! was unexpected at this time.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! anvel@1.0.0 bootstrap: `if [ ! -d "angular/styles/bootstrap" ]; then cp -R node_modules/bootstrap/scss angular/styles/bootstrap; fi`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the anvel@1.0.0 bootstrap script 'if [ ! -d "angular/styles/bootstrap" ]; then cp -R node_modules/bootstrap/scss angular/styles/bootstrap; fi'.
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 anvel package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     if [ ! -d "angular/styles/bootstrap" ]; then cp -R node_modules/bootstrap/scss angular/styles/bootstrap; fi
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs anvel
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls anvel
npm ERR! There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\User\AppData\Roaming\npm-cache\_logs\2017-03-17T08_05_47_202Z-debug.log

npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules\chokidar\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.1.1: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm WARN @angular/core@2.4.10 requires a peer of rxjs@^5.0.1 but none was installed.
npm WARN @angular/core@2.4.10 requires a peer of zone.js@^0.7.2 but none was installed.
npm WARN @angular/http@2.4.10 requires a peer of rxjs@^5.0.1 but none was installed.
npm WARN @angular/router@3.4.10 requires a peer of rxjs@^5.0.1 but none was installed.
npm WARN anvel@1.0.0 No repository field.
npm ERR! Windows_NT 10.0.14393
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install"
npm ERR! node v7.7.3
npm ERR! npm  v4.1.2
npm ERR! code ELIFECYCLE
npm ERR! anvel@1.0.0 postinstall: `typings install && npm run bootstrap`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the anvel@1.0.0 postinstall script 'typings install && npm run bootstrap'.
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 anvel package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     typings install && npm run bootstrap
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs anvel
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls anvel
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     C:\laragon\www\anvel\npm-debug.log

C:\laragon\www\anvel>
106 verbose cwd C:\laragon\www\anvel
107 error Windows_NT 10.0.14393
108 error argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install"
109 error node v7.7.3
110 error npm  v4.1.2
111 error code ELIFECYCLE
112 error anvel@1.0.0 postinstall: `typings install && npm run bootstrap`
112 error Exit status 1
113 error Failed at the anvel@1.0.0 postinstall script 'typings install && npm run bootstrap'.
113 error Make sure you have the latest version of node.js and npm installed.
113 error If you do, this is most likely a problem with the anvel package,
113 error not with npm itself.
113 error Tell the author that this fails on your system:
113 error     typings install && npm run bootstrap
113 error You can get information on how to open an issue for this project with:
113 error     npm bugs anvel
113 error Or if that isn't available, you can get their info via:
113 error     npm owner ls anvel
113 error There is likely additional logging output above.
114 verbose exit [ 1, true ]

Should I just skip this error and copy the files manually or would there be anything missing if I did so?

Should have checked the docs properly! Thanks!