toranb / ember-template-compiler

An npm module for the ember-template-compiler.js file that ships with ember.js
MIT License
30 stars 23 forks source link

npm ERR! peerinvalid - The package handlebars does not satisfy its siblings' peerDependencies requirements! #22

Closed prabackar closed 9 years ago

prabackar commented 9 years ago

After the last commit, I am running into peerinvalid issue!

npm ERR! peerinvalid The package handlebars does not satisfy its siblings' peerDependencies requirements! npm ERR! peerinvalid Peer ember-template-compiler@1.9.0-alpha wants handlebars@~2

npm ERR! System Darwin 14.0.0 npm ERR! command "node" "/usr/local/bin/npm" "install" "handlebars" npm ERR! cwd /Users/pkasi/Documents/environment/........ npm ERR! node -v v0.10.32 npm ERR! npm -v 1.4.28 npm ERR! code EPEERINVALID npm ERR! npm ERR! Additional logging details can be found in: npm ERR! /Users/pkasi/Documents/environment/..../npm-debug.log npm ERR! not ok code 0

I updated bower config but I am unable to get past this error....

prabackar commented 9 years ago

The issue was with my package.json. It had dependencies for "handlebars": "~1". Apologize for raising an issue.

NullVoxPopuli commented 8 years ago

which version of ember-template-compiler fixes this? I have this same problem. (package.json specifies 1.9.0-alpha)

NullVoxPopuli commented 8 years ago

npm ERR! peerinvalid Peer ember-template-compiler@1.8.0 wants handlebars@~1

npm ERR! peerinvalid The package handlebars does not satisfy its siblings' peerDependencies requirements!
npm ERR! peerinvalid Peer ember-template-compiler@1.7.0 wants handlebars@~1
npm ERR! peerinvalid The package handlebars does not satisfy its siblings' peerDependencies requirements!
npm ERR! peerinvalid Peer ember-template-compiler@1.6.1 wants handlebars@~1

these are with with "handlebars": "4.0.5", also specified in my package.json

If I downgrade handlebars waaaay down, it works.

    "ember-template-compiler": "^1.8.0",
    "handlebars": "^1.3.0",

I like to keep things up to date, so I'm not sure if this is a good long term solution.

Jarred-Sumner commented 8 years ago

Happening to me, too.

jakeleboeuf commented 8 years ago

uuuhhhh

toranb commented 8 years ago

@rwjblue is the solution here to end of life this and tell users to fork it if needed??

rwjblue commented 8 years ago

Yes

toranb commented 8 years ago

@NullVoxPopuli I realize the hbs v1.3.0 solution isn't something you were excited about but it may be worth publishing something that forks this like Robert suggests. Also if I may ask - what is everyone using that isn't ember-cli right now? Are most of you planning to upgrade/adopt ember-cli at some point in time this year?

Jarred-Sumner commented 8 years ago

Is this only a problem when not using ember-cli? I'm using ember-cli and this error occurs On Tue, May 24, 2016 at 6:04 PM Toran Billups notifications@github.com wrote:

@NullVoxPopuli https://github.com/NullVoxPopuli I realize the hbs v1.3.0 solution isn't something you were excited about but it may be worth publishing something that forks this like Robert suggests. Also if I may ask - what is everyone using that isn't ember-cli right now? Are most of you planning to upgrade/adopt ember-cli at some point in time this year?

— You are receiving this because you commented. Reply to this email directly or view it on GitHub https://github.com/toranb/ember-template-compiler/issues/22#issuecomment-221446412

toranb commented 8 years ago

@Jarred-Sumner what version of ember-cli are you using? what version of ember?