-
Notifications
You must be signed in to change notification settings - Fork 33
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
Error: Can't resolve './SnowfallCanvas' #73
Comments
Hello @daniel6miller ! |
This issue should hopefully be resolved in the latest release v2.1.1 |
I am running npm 10.2.4, react 18.2.0 and react-snowfall 2.1.0.
Error is:
ERROR in ./node_modules/react-snowfall/lib/Snowfall.js 2:0-50
Module not found: Error: Can't resolve './SnowfallCanvas' in 'C:....client\node_modules\react-snowfall\lib'
Did you mean 'SnowfallCanvas.js'?
BREAKING CHANGE: The request './SnowfallCanvas' failed to resolve only because it was resolved as fully specified
(probably because the origin is strict EcmaScript Module, e. g. a module with javascript mimetype, a '.mjs' file, or a '.js' file where the package.json contains '"type": "module"').
The extension in the request is mandatory for it to be fully specified.
Add the extension to the request.
Same for
Module not found: Error: Can't resolve './Snowflake' in 'C:......client\node_modules\react-snowfall\lib'
Did you mean 'Snowflake.js'?
Module not found: Error: Can't resolve './hooks' in 'C:.........client\node_modules\react-snowfall\lib'
Did you mean 'hooks.js'?
Let me know how to fix this. Or if it gets fixed
Thanks.
The text was updated successfully, but these errors were encountered: