bentorfs / angular-bootstrap-multiselect

Native angularJS custom form element
http://bentorfs.github.io/angular-bootstrap-multiselect/
MIT License
79 stars 111 forks source link

npm install fails #32

Open Danieler opened 7 years ago

Danieler commented 7 years ago

the npm package fails when i try to install it

ghost commented 7 years ago

Me too!

npm ERR! npm  v3.8.3
npm ERR! code ELIFECYCLE

npm ERR! angular-bootstrap-multiselect@1.1.6 install: `node node_modules/protractor/bin/webdriver-manager update`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the angular-bootstrap-multiselect@1.1.6 install script 'node node_modules/protractor/bin/webdriver-manager update'.
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 angular-bootstrap-multiselect package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node node_modules/protractor/bin/webdriver-manager update
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs angular-bootstrap-multiselect
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls angular-bootstrap-multiselect
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     c:\wamp64\www\muscle\npm-debug.log
`
zmbq commented 7 years ago

Me three!

Attached is my npm-debug.log.

npm-debug.zip

chinchaun commented 7 years ago

Me four :(

celina commented 7 years ago

Also having this issue

obondarets commented 7 years ago

The same issue for me.

nfalco79 commented 7 years ago

Here too, the install scripts broke in the npm install because you perform an update of webdriver-manager that is not a declared dependencies of your (and mine) project. Adding the webdriver-manager as devDependencies of my project npm install fails again becuase the path on the install script are relative to the angular-bootstrap-multiselect folder so it try to update ${MY_PROJECT_PATH}\node_modules\angular-bootstrap-multiselect\node_modules\protractor\bin\webdriver-manager and not the webdriver-manager in the expected node_modules folder `${MY_PROJECT_PATH}\node_modules\protractor\bin\webdriver-manager

Anyway I think that the install script is wrong, you named it different (like prj_setup) that is not triggered during other npm command.

mishacucicea commented 7 years ago

Do you think you could provide an update or resolution steps? Thanks :)

kevinboosten commented 7 years ago

@mishacucicea @Danieler npm install should work again without issues, please verify by installing angular-bootstrap-multiselect via the master branch: "dependencies": { "angular-bootstrap-multiselect": "git+https://github.com/bentorfs/angular-bootstrap-multiselect.git#master" }

jfinckh commented 7 years ago

@Boosten Verified, works perfect, thank you