-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
node_modules missing files published in the package #2014
Comments
Hey @dekz, that's true, we download files on-demand based on the requires. We do that to save bandwidth, otherwise people have to download hundreds of mbs to load the demo. I took a look at your example, and I think that we're loading a wrong version of and the lib/rng logic seems to be in v3. I'm looking into why we're loading |
@CompuIves thanks for the update. Did you get a successful compilation with hoisting the dependency up? When adding
|
Ohhh, good point! I found out that we have trouble with a single dependency that has multiple transient dependencies of a specific dependency. So in the case of From what I've seen:
We need to add support for this, allow for multiple transient dependencies of the same name with different versions. I'm thinking of what a workaround for now is. A weird thing is that we only take hoisted dependencies, so it should've given v3. |
It seems to work when removing |
Dang you found that quick. Removing the Good temporary workaround. |
This issue is stale because it has been open many days with no activity. It will be closed soon unless the stale label is removed or a comment is made. |
This issue has been automatically closed because there wasn't any activity after the previous notice or the stale label wasn't removed. |
🐛 bug report
Description of the problem
Not all of the required files seem to be present in the
node_modules
folder.i.e:
From https://unpkg.com/[email protected]/v4.js. This
./lib/rng
file is required but not present undernode_modules
.How has this issue affected you? What are you trying to accomplish?
Unable to render correctly to demo.
Link to sandbox: link
Your Environment
The text was updated successfully, but these errors were encountered: