-
Notifications
You must be signed in to change notification settings - Fork 98
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
BUG https://cdn.skypack.dev/[email protected] not found #92
Comments
the source file "vendor/three/build/three.module.js" is wrong. |
I agree that the source file "vendor/three/build/three.module.js" looks wrong. It looks like html. But I cannot find where it is referenced in the source code anywhere. In fact, after finding a fix for the cdn.skypack.dev version problem, I removed the vendor/ directory entirely and suffered no ill effects. Code appeared to work the same. |
I found that if I replaced 0.136.2 with 0.149.0, I could run MOST of the code examples. However, I also found a compatibility problem with the import in the controls.js file of those code examples that have controls.js (not all do).
causes a Chrome/Chromium 118.0.5993.88 browser instance to complain in its console (and no scene is displayed) thus:
Seems that the problem is somewhat unique to cdn.skypack.dev as replacing it with esm.sh or jspm.dev in the offending e.g.
|
I guess I will work on replacing cdn.skypack.dev and changing the version number to 0.149.0 in my fork. It would probably be wise to make it clear in the text of the site and/or the code examples themselves that we are using 0.149.0 which is not the most recent version. |
Also begs the question "How about examples which use the npm import style for running locally?" |
Please report bugs, rendering errors, CSS problems, cross-browser issues and so on here.
If you have found a mistake in the text, you can also report it here, although there's no need to report OS/browser details in that case.
Describe the bug
When performing "Download as Zip" from IDE, zipped site contains references to https://cdn.skynet.dev/[email protected] which does not exist. As of this date, references to https://cdn.skynet.dev/three produce 0.148.0 as the only option:
// Browser-Optimized Imports (Don't directly import the URLs below in your application!)
export * from '/-/[email protected]/dist=es2019,mode=imports/optimized/three.js';
export {default} from '/-/[email protected]/dist=es2019,mode=imports/optimized/three.js';
To Reproduce
Steps to reproduce the behavior:
Package "three" exists, but could not match version "0.136.2".
Expected behavior (optional)
Attempting to navigate to 'https://cdn.skypack.dev/[email protected]' should result in something like this in your browser:
Desktop (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: