Closed geelen closed 9 years ago
@geelen I guess that would be because your dependencies are percent-encoded in https://registry.npmjs.org/jspm-loader-jsx. Were they definitely published correctly? This could be some strange formatting done by npm?
This suuuuper spooky. I just tried publishing again and the same thing happened. I'm just doing a normal npm publish... I can't find anyone else having this problem ᐵ
Ok so it's probably because I upgraded my local npm
a few days ago. I'm now running 2.13.0
. And it's only affecting the github
dependencies. Something about trying to publish a registry: jspm
project with Github dependencies to npm. Am I doing something wrong?
p.s. thanks for the link to https://registry.npmjs.org/jspm-loader-jsx, I didn't know about that.
Perhaps npm have blocked jspm-style dependencies from being published (and for good reason actually).
Try publishing the dependencies under the jspm property (jspm.dependencies
).
Installation still fails...
I see version 0.0.5 as the latest still using the dependencies
base-level object which shows up as percent-encoded hence doesn't work. Which version did you publish the dependencies as jspm.dependencies
for?
I get this error with jspm@0.15.7:
err Error looking up github:gaearon/react-hot-api%40%5E0.4.5.
Happened while doing jspm install jsx=npm:jspm-loader-jsx
for the first time.
Same with version 0.16.0-beta.3
.
Installing it from github doesn't give the error, but caused by a lack of JSX/React experience I can't verify if the plugin works.
$ jspm install jsx=github:geelen/jspm-loader-jsx
Sorry, finally got around to pushing this fix. v0.0.7
is now released using jspm.dependencies
and that works fine!
This is for @guybedford:
Failing with
jspm@v0.15.7
. Never seen anything like this before...