We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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 in ./node_modules/prevent-overscrolling/dist/mjs/index.js 1:0-51 Module not found: Error: Can't resolve './scrollable-area' in './node_modules/prevent-overscrolling/dist/mjs' Did you mean 'scrollable-area.js'? BREAKING CHANGE: The request './scrollable-area' 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. resolve './scrollable-area' in './node_modules/prevent-overscrolling/dist/mjs' using description file: ./node_modules/prevent-overscrolling/dist/mjs/package.json (relative path: .) Field 'browser' doesn't contain a valid alias configuration using description file: ./node_modules/prevent-overscrolling/dist/mjs/package.json (relative path: ./scrollable-area) Field 'browser' doesn't contain a valid alias configuration ./node_modules/prevent-overscrolling/dist/mjs/scrollable-area doesn't exist
The text was updated successfully, but these errors were encountered:
What are you using to build? I'm guessing by the error generated it's webpack?
Sorry, something went wrong.
@bameyrick webpack 5.75.0
Could you try the suggested change in this StackOverflow answer and see if this helps you?
The project is built using tsc and it looks like exporting with the extensions is not supported.
tsc
i havent tried but sure it works. i deem this question as answered. thank you for your time.
bameyrick
No branches or pull requests
The text was updated successfully, but these errors were encountered: