You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Firstly, thanks for your work on this project! π
When bundling using rollup, I get the following error:
5.388 β 2163 modules transformed.
5.390 x Build failed in 4.01s
5.392 node_modules/clone-deep/utils.js (10:0): Illegal reassignment of import "commonjsRequire" in "node_modules/clone-deep/utils.js".
5.392 file: /webapp/node_modules/clone-deep/utils.js:10:0
5.392
5.392 8: var fn = require;
5.392 9:
5.392 10: require = utils;
5.392 ^
5.392 11: require('is-plain-object', 'isObject');
5.392 12: require('shallow-clone', 'clone');
5.392
5.392 at getRollupError (file:///webapp/node_modules/rollup/dist/es/shared/parseAst.js:395:41)
5.392 at error (file:///webapp/node_modules/rollup/dist/es/shared/parseAst.js:391:42)
5.392 at Module.error (file:///webapp/node_modules/rollup/dist/es/shared/node-entry.js:15535:16)
5.392 at Identifier.disallowImportReassignment (file:///webapp/node_modules/rollup/dist/es/shared/node-entry.js:4991:35)
5.392 at Identifier.deoptimizePath (file:///webapp/node_modules/rollup/dist/es/shared/node-entry.js:4888:18)
5.392 at AssignmentExpression.applyDeoptimizations (file:///webapp/node_modules/rollup/dist/es/shared/node-entry.js:10958:19)
5.392 at AssignmentExpression.hasEffects (file:///webapp/node_modules/rollup/dist/es/shared/node-entry.js:10877:18)
5.392 at ExpressionStatement.hasEffects (file:///webapp/node_modules/rollup/dist/es/shared/node-entry.js:2879:28)
5.392 at Program.hasEffects (file:///webapp/node_modules/rollup/dist/es/shared/node-entry.js:13256:22)
5.392 at Program.shouldBeIncluded (file:///webapp/node_modules/rollup/dist/es/shared/node-entry.js:2979:62) {
5.392 code: 'ILLEGAL_REASSIGNMENT',
5.392 id: '/webapp/node_modules/clone-deep/utils.js',
5.392 pos: 425,
5.392 loc: {
5.392 column: 0,
5.392 file: '/webapp/node_modules/clone-deep/utils.js',
5.392 line: 10
5.392 },
5.392 frame: ' 8: var fn = require;\n' +
5.392 ' 9: \n' +
5.392 '10: require = utils;\n' +
5.392 ' ^\n' +
5.392 "11: require('is-plain-object', 'isObject');\n" +
5.392 "12: require('shallow-clone', 'clone');",
This is coming from merge-deep, which seems like an abandoned package. It calls for the first published version of clone-deep, which re-assigns require, and has since been patched.
Two options:
Use
"overrides": {
"clone-deep": "^4.0.1"
},
in package.json or consider replacing the merge-deep dependency.
Thanks!
The text was updated successfully, but these errors were encountered:
Hi! π
Firstly, thanks for your work on this project! π
When bundling using rollup, I get the following error:
This is coming from
merge-deep
, which seems like an abandoned package. It calls for the first published version ofclone-deep
, which re-assigns require, and has since been patched.Two options:
Use
in
package.json
or consider replacing themerge-deep
dependency.Thanks!
The text was updated successfully, but these errors were encountered: