npm-to-lwc
npm-to-lwc copied to clipboard
Error in bundle.js
Is it normal to get these errors?
ERROR in bundle.js from Terser
Error: error:0308010C:digital envelope routines::unsupported
at new Hash (node:internal/crypto/hash:69:19)
at Object.createHash (node:crypto:138:10)
at <LocalPath>/node_modules/terser-webpack-plugin/dist/index.js:217:37
at Array.forEach (<anonymous>)
at TerserPlugin.optimizeFn (<LocalPath>/node_modules/terser-webpack-plugin/dist/index.js:160:259)
at AsyncSeriesHook.eval [as callAsync] (eval at create (<LocalPath>/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:7:1)
at AsyncSeriesHook.lazyCompileHook (<LocalPath>/node_modules/tapable/lib/Hook.js:154:20)
at <LocalPath>/node_modules/webpack/lib/Compilation.js:1409:36
at AsyncSeriesHook.eval [as callAsync] (eval at create (<LocalPath>/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:6:1)
at AsyncSeriesHook.lazyCompileHook (<LocalPath>/node_modules/tapable/lib/Hook.js:154:20)
at <LocalPath>/node_modules/webpack/lib/Compilation.js:1405:32
at AsyncSeriesHook.eval [as callAsync] (eval at create (<LocalPath>/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:6:1)
at AsyncSeriesHook.lazyCompileHook (<LocalPath>/node_modules/tapable/lib/Hook.js:154:20)
at Compilation.seal (<LocalPath>/node_modules/webpack/lib/Compilation.js:1342:27)
at <LocalPath>/node_modules/webpack/lib/Compiler.js:675:18
at <LocalPath>/node_modules/webpack/lib/Compilation.js:1261:4
Also when running bash ./npmtolwc.sh d3-scale,d3-time -s time
I don't see staticresources folder getting populated?