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
🚨 /home/rafael/Projects/scala/geodb/map_website/new/node_modules/react-leaflet/lib/index.js: Unknown plugin "dev-expression" specified in "/home/rafael/Projects/scala/geodb/map_website/new/node_modules/react-leaflet/.babelrc" at /home/rafael/Projects/scala/geodb/map_website/new/node_modules/babel-core/lib/transformation/file/options/option-manager.js:180:17
at Array.map (<anonymous>)
at Function.normalisePlugins (/home/rafael/Projects/scala/geodb/map_website/new/node_modules/babel-core/lib/transformation/file/options/option-manager.js:158:20)
at OptionManager.mergeOptions (/home/rafael/Projects/scala/geodb/map_website/new/node_modules/babel-core/lib/transformation/file/options/option-manager.js:234:36)
at OptionManager.init (/home/rafael/Projects/scala/geodb/map_website/new/node_modules/babel-core/lib/transformation/file/options/option-manager.js:368:12)
at File.initOptions (/home/rafael/Projects/scala/geodb/map_website/new/node_modules/babel-core/lib/transformation/file/index.js:212:65)
at new File (/home/rafael/Projects/scala/geodb/map_website/new/node_modules/babel-core/lib/transformation/file/index.js:135:24)
at JSAsset.getParserOptions (/home/rafael/Projects/scala/geodb/map_website/new/node_modules/parcel-bundler/src/assets/JSAsset.js:55:20)
at <anonymous>
The text was updated successfully, but these errors were encountered:
Also happens when working with webpack as soon as the node_modules folder is not excluded from the babel-loader rule.
module: {
rules: [
{
test: /\.js$/,
exclude: /(node_modules)/, <--- removing this line will cause the same error.
use: [{
loader: 'babel-loader',
}]
},
]
}
If you want to compile this library you'll need to install the dependencies, but you're likely better off using the compiled files unless you have a specific need to use the sources.
Dependencies:
Error:
The text was updated successfully, but these errors were encountered: