laravel5-angular-material-starter: Npm install fails on packagist stable version 3.2.0 - due to laravel-elixir version
Hi,
- I’m submitting a bug report
- Laravel & Angular version: 3.3.0-beta
- I’m a Laravel newbie 😃
When running npm install, I’ve got this error:
npm ERR! Linux 4.2.0-c9
npm ERR! argv "/home/ubuntu/.nvm/versions/node/v4.4.5/bin/node" "/home/ubuntu/.nvm/versions/node/v4.4.5/bin/npm" "install" "laravel-elixir"
npm ERR! node v4.4.5
npm ERR! npm v2.15.5
npm ERR! code EPEERINVALID
npm ERR! peerinvalid The package laravel-elixir@4.2.1 does not satisfy its siblings' peerDependencies requirements!
npm ERR! peerinvalid Peer laravel-elixir-livereload@1.1.6 wants laravel-elixir@^5.0
npm ERR! Please include the following file with any support request:
npm ERR! /home/ubuntu/workspace/laravel5-angular-material-starter/npm-debug.log
I’ve got to set laravel-elixir to version 5.0.0 on package.json to fix this.
"laravel-elixir": "^5.0.0",
"laravel-elixir-livereload": "^1.1.1",
"main-bower-files": "^2.1.0",
Thanks.
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Comments: 22 (11 by maintainers)
Commits related to this issue
- fixed package.json issue #353 — committed to chihab/laravel5-angular-material-starter by jadjoubran 8 years ago
- fixed package.json issue #353 — committed to chihab/laravel5-angular-material-starter by jadjoubran 8 years ago
- Merge branch 'branch-3.2.1' of https://github.com/chihab/laravel5-angular-material-starter into branch-3.2.1 * 'branch-3.2.1' of https://github.com/chihab/laravel5-angular-material-starter: fixed p... — committed to chihab/laravel5-angular-material-starter by chihab 8 years ago
- Fixes issues #356 and #358 (#361) * fixed package.json issue #353 * test travis build * fixed package.json issue #353 * add composer install and move install commands to install step * mo... — committed to jadjoubran/laravel5-angular-material-starter by chihab 8 years ago
- [fix] avoid .env overwrite after a second composer install (#364) * fixed package.json issue #353 * test travis build * fixed package.json issue #353 * add composer install and move install ... — committed to jadjoubran/laravel5-angular-material-starter by chihab 8 years ago
Hi, i would like to comment that same thing just happened to me, except this time it was with eslint@3.0.2 which wants elixir<6.0.0-0 since we are all the way to 6.0.0-11 it won’t match… so I had to change package.json to “laravel-elixir-eslint”: “beta” which solved it
npm ERR! peerinvalid The package laravel-elixir@6.0.0-14 does not satisfy its siblings' peerDependencies requirements! npm ERR! peerinvalid Peer laravel-elixir-eslint@3.0.2 wants laravel-elixir@>=3.0.0-0 <6.0.0-0i fixed the issue with this:
npm install laravel-elixir-eslint@beta --save-dev