generated from Richienb/node-module-boilerplate
-
-
Notifications
You must be signed in to change notification settings - Fork 32
Open
Description
Error
After upgrading from 4.0.0 to 4.1.0 when additionalAliases: ['process'] is enabled, there are many errors like:
ERROR in ./node_modules/axios/lib/utils.js 678:42-49
Module not found: Error: Can't resolve '/home/shgk/nextcloud/server/apps-extra/spreed/node_modules/node-stdlib-browser/cjs/proxy/process' in '/home/shgk/nextcloud/server/apps-extra/spreed/node_modules/axios/lib'
Did you mean 'process.js'?
BREAKING CHANGE: The request '/home/shgk/nextcloud/server/apps-extra/spreed/node_modules/node-stdlib-browser/cjs/proxy/process' 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.
@ ./node_modules/axios/lib/axios.js 3:0-31 33:2-14 36:2-14 80:43-59
@ ./node_modules/axios/index.js 1:0-35 23:4-9 25:0-43:1
@ ./node_modules/@nextcloud/axios/dist/index.mjs 1:0-26 2:0-47 59:15-27 66:15-32 67:12-26 75:0-79:2 75:0-79:2
@ ./src/utils/webrtc/index.js 1:0-37 52:8-22
@ ./src/mainRecording.js 10:0-14:33 39:44-76 40:41-70 41:25-38
Reproduction
- Clone https://github.com/nextcloud/spreed (use tag
v21.0.1for a specific version) npm i -D node-polyfill-webpack-plugin@4.1.0npm run dev
I'll try to make a smaller reproduction later.
landonreed
Metadata
Metadata
Assignees
Labels
No labels
