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
When I build the code then shows an error, some help is required.
Building es5 bundle isModuleDeclaration has been deprecated, please migrate to isImportOrExportDeclaration
at isModuleDeclaration (/workspace/node_modules/@babel/types/lib/validators/generated/index.js:2748:35)
at PluginPass.Program (/workspace/node_modules/babel-plugin-lodash/lib/index.js:102:44)
Error: list.es5.96f64d8107e8a27ab60b.js from Terser
Error: error:0308010C:digital envelope routines::unsupported
at new Hash (node:internal/crypto/hash:68:19)
at Object.createHash (node:crypto:138:10)
at /workspace/node_modules/terser-webpack-plugin/dist/index.js:217:37
at Array.forEach ()
at TerserPlugin.optimizeFn (/workspace/node_modules/terser-webpack-plugin/dist/index.js:160:259)
at AsyncSeriesHook.eval [as callAsync] (eval at create (/workspace/node_modules/tapable/lib/HookCodeFactory.js:33:10), :7:1)
at AsyncSeriesHook.lazyCompileHook (/workspace/node_modules/tapable/lib/Hook.js:154:20)
at /workspace/node_modules/webpack/lib/Compilation.js:1409:36
at AsyncSeriesHook.eval [as callAsync] (eval at create (/workspace/node_modules/tapable/lib/HookCodeFactory.js:33:10), :6:1)
at AsyncSeriesHook.lazyCompileHook (/workspace/node_modules/tapable/lib/Hook.js:154:20)
at /workspace/node_modules/webpack/lib/Compilation.js:1405:32
at AsyncSeriesHook.eval [as callAsync] (eval at create
Bug report
Expected behavior
Create a development server.
Observed behavior
Steps involved to reproduce the problem
Start a development server using the follow npm command in the terminal:
npm run dev
Info about your system
System:
Binaries:
Browsers:
npmPackages:
npmGlobalPackages:
Possible solution
I do not know single solution for this predicament.
The text was updated successfully, but these errors were encountered: