-
Notifications
You must be signed in to change notification settings - Fork 81
Closed
Description
As I'm trying to compile langneg 0.6.0 with webpack 5.64.1 I'm getting this errors:
ERROR in ./node_modules/@fluent/langneg/esm/index.js 9:0-59
Module not found: Error: Can't resolve './negotiate_languages' in '...\node_modules\@fluent\langneg\esm'
Did you mean 'negotiate_languages.js'?
BREAKING CHANGE: The request './negotiate_languages' 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.
@ ./Application/IntlModule.js 8:0-53
@ ./ndex.js 25:16-59 26:7-42
ERROR in ./node_modules/@fluent/langneg/esm/index.js 10:0-57
Module not found: Error: Can't resolve './accepted_languages' in '...\node_modules\@fluent\langneg\esm'
Did you mean 'accepted_languages.js'?
BREAKING CHANGE: The request './accepted_languages' 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.
@ ./Application/IntlModule.js 8:0-53
@ ./index.js 25:16-59 26:7-42
ERROR in ./node_modules/@fluent/langneg/esm/index.js 11:0-42
Module not found: Error: Can't resolve './matches' in '...\node_modules\@fluent\langneg\esm'
Did you mean 'matches.js'?
BREAKING CHANGE: The request './matches' 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.
@ ./Application/IntlModule.js 8:0-53
@ ./index.js 25:16-59 26:7-42
I tried to downgrade to 0.5.2 but I'm getting different error there, so it's not worth it.
Metadata
Metadata
Assignees
Labels
No labels