Error Unknown plugin "dynamic-import-node" specified in "base" at 1,
See original GitHub issuenode_modules/babel-core/lib/transformation/file/options/option-manager.js:180
throw new ReferenceError(messages.get("pluginUnknown", plugin, loc, i, dirname));
^
ReferenceError: Unknown plugin "dynamic-import-node" specified in "base" at 1, attempted to resolve relative to "/Users/z/project/src/containers"
at /Users/z/project/src/_server/node_modules/babel-core/lib/transformation/file/options/option-manager.js:180:17
at Array.map (<anonymous>)
at Function.normalisePlugins (/Users/z/project/src/_server/node_modules/babel-core/lib/transformation/file/options/option-manager.js:158:20)
at OptionManager.mergeOptions (/Users/z/project/src/_server/node_modules/babel-core/lib/transformation/file/options/option-manager.js:234:36)
at OptionManager.init (/Users/z/project/src/_server/node_modules/babel-core/lib/transformation/file/options/option-manager.js:368:12)
at compile (/Users/z/project/src/_server/node_modules/babel-register/lib/node.js:103:45)
at loader (/Users/z/project/src/_server/node_modules/babel-register/lib/node.js:144:14)
at Object.require.extensions.(anonymous function) [as .js] (/Users/z/project/src/_server/node_modules/babel-register/lib/node.js:154:7)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
require('babel-register')({ plugins: ["transform-decorators-legacy", "dynamic-import-node"], presets: ['es2015', 'stage-0', 'react'], // ignore: /scss/, extensions: [".es6", ".es", ".jsx", ".js"] });
trying to use this plugin cause i got SyntaxError: Unexpected token import
on server side rendering
when trying to use webpack dynamic import in my react components
Issue Analytics
- State:
- Created 5 years ago
- Comments:16
Top Results From Across the Web
Webpacker error related to module babel-plugin-syntax ...
<path_to_my_app>/node_modules/@babel/plugin-syntax-dynamic-import/ is installed. Similar issues reported in SO, but I think I've tried them all.
Read more >Error Unknown plugin "dynamic-import-node" specified in ...
Error Unknown plugin "dynamic-import-node" specified in "base" at 1,
Read more >babel-plugin-dynamic-import-node - npm
Start using babel-plugin-dynamic-import-node in your project by running `npm i babel-plugin-dynamic-import-node`.
Read more >babel-plugin-dynamic-import-node-filter - npm package - Snyk
errorFilter - A RegExp String, to filter some useless error which been trigger by async bundle. { "plugins": [ ["dynamic-import-node", { " ...
Read more >Babel issue running npm run dev after upgrade to Mix
0 info it worked if it ends with ok 1 verbose cli [ '/usr/bin/node', '/usr/bin/npm', 'run', ... deduped │ ├─┬ @babel/plugin-syntax-dynamic-import@7.2.0 ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
v2.2.0 is released, containing this commit which allows it to work on both babel 6 and 7.
v7 was released 2 days ago; a PR is welcome.