Skip to content
This repository has been archived by the owner on Jan 4, 2018. It is now read-only.

npm install skatejs-web-components is broken #36

Closed
camargo opened this issue Feb 19, 2017 · 8 comments
Closed

npm install skatejs-web-components is broken #36

camargo opened this issue Feb 19, 2017 · 8 comments

Comments

@camargo
Copy link

camargo commented Feb 19, 2017

When installing the most recent version of skatejs-web-components with npm I'm getting the error:

Invalid Package: expected @webcomponents/template but found template.

Node version: 7.5.0
Npm version: 4.1.2

@treshugart
Copy link
Member

Works if you use yarn. I think NPM is complaining that their name isn't @webcomponents/template, but just template: https://github.com/webcomponents/template/blob/master/package.json#L2

@treshugart
Copy link
Member

treshugart commented Feb 19, 2017

PR open for @webcomponents/template webcomponents/template#9. To work around it, you can just use Yarn.

@treshugart
Copy link
Member

Going to close this now as this is an issue in the template polyfill. We could change the dep key here to be "template", but that'd be incorrect because there's already a package called "template".

@matthewrobb
Copy link

I think you should keep this issue open as it's likely hitting a lot of users and this issue would be helpful to have show up in the open issue list

@treshugart
Copy link
Member

@matthewrobb sure no problem.

@treshugart treshugart reopened this Feb 21, 2017
@treshugart
Copy link
Member

This has been merged! We should now update it and then we can close this.

elmariofredo added a commit to elmariofredo/web-components that referenced this issue Feb 22, 2017
to revision with proper package name, so npm install works again

Closes skatejs#36
@elmariofredo
Copy link
Contributor

That's my mistake so sending fixing PR #39

@treshugart
Copy link
Member

Ah no probs, it needed fixing anyways :)

Hotell pushed a commit that referenced this issue Feb 22, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants