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
I've installed a new preact App with node v18 on Ubuntu 18 machine.
npx preact-cli create default ui-playground
When I run npm run dev (or any other commands really) I ran into the following error message.
ERROR Error: error:0308010C:digital envelope routines::unsupported
at new Hash (node:internal/crypto/hash:71:19)
at Object.createHash (node:crypto:133:10)
at module.exports (/home/shayashi/git/ui-playground/node_modules/webpack/lib/util/createHash.js:135:53)
at NormalModule._initBuildHash (/home/shayashi/git/ui-playground/node_modules/webpack/lib/NormalModule.js:417:16)
at handleParseError (/home/shayashi/git/ui-playground/node_modules/webpack/lib/NormalModule.js:471:10)
at /home/shayashi/git/ui-playground/node_modules/webpack/lib/NormalModule.js:503:5
at /home/shayashi/git/ui-playground/node_modules/webpack/lib/NormalModule.js:358:12
at /home/shayashi/git/ui-playground/node_modules/loader-runner/lib/LoaderRunner.js:373:3
at iterateNormalLoaders (/home/shayashi/git/ui-playground/node_modules/loader-runner/lib/LoaderRunner.js:214:10)
at iterateNormalLoaders (/home/shayashi/git/ui-playground/node_modules/loader-runner/lib/LoaderRunner.js:221:10)
at /home/shayashi/git/ui-playground/node_modules/loader-runner/lib/LoaderRunner.js:236:3
at context.callback (/home/shayashi/git/ui-playground/node_modules/loader-runner/lib/LoaderRunner.js:111:13)
at /home/shayashi/git/ui-playground/node_modules/babel-loader/lib/index.js:44:71
I tried updating node / npm etc.. but I can't seem to correct this issue. Could you help?
The text was updated successfully, but these errors were encountered:
I've installed a new preact App with node v18 on Ubuntu 18 machine.
When I run
npm run dev
(or any other commands really) I ran into the following error message.I tried updating node / npm etc.. but I can't seem to correct this issue. Could you help?
The text was updated successfully, but these errors were encountered: