Open acdlite opened 5 years ago
It must have downloaded the tarball correctly, because react-dom@0.0.0-d926936f0
is the version
field of the tarball's package.json
file.
I have a feeling the packager is attempting to install react-dom@0.0.0-d926936f0
from the npm registry, and failing because it doesn't exist.
Some additional context about what I'm trying to do: these URLs point to private modules that have not been published to npm. The tarballs are stored on our CI server. I want to be able to paste one of these URLs into CodeSandbox so I can test a React PR/commit without having to publish a release.
Intereeesting, it could be that we have to update our yarn
to support it.
I think this part might be relevant?
This assumes the version is semver string, but in this case it results in effectively this:
const s3Object = await getFileFromS3('vhttps://react-canaries-3adg6ifso.now.sh/13886/react/react.json');
which I'm guessing could cause the S3 request to fail
By the way, I imagine this isn't a super high priority issue. I can try to submit a PR this weekend, if I can figure out how to get a dev environment set up. Any guidance would be greatly appreciated!
I have a URL to an npm tarball. I can install it with yarn:
And it also works if I add it to a local
package.json
file:But it doesn't work in CodeSandbox: https://codesandbox.io/s/pmy0470zj7