well, running it using wsl2 with debian 11
i dont have any problem when using npx create-react-app
im able to run it and see the website from localhost:3000
but with frontity, got this error and not able to see a thing on localhost:3000
peachiedude@DESKTOP-67DDEI6:~$ npx frontity create tssw
? Pick a starter theme to clone: @frontity/mars-theme (recommended)
Creating README.md.
Creating package.json.
Creating frontity.settings.js.
Cloning @frontity/mars-theme.
Installing dependencies.
Downloading favicon.ico.
Initializing git repo.
Frontity project created.
Run cd tssw && npx frontity dev and have fun!
You can find docs at https://docs.frontity.org/.
For technical support and assistance please join our community at https://community.frontity.org/.
peachiedude@DESKTOP-67DDEI6:~$ cd tssw
peachiedude@DESKTOP-67DDEI6:~/tssw$ npx frontity dev
SERVER STARTED โ Listening @ http://localhost:3000
- mode: development
- target: module
- public-path: /static/
(node:465) Warning: Closing file descriptor 20 on garbage collection
(Use node --trace-warnings ...
to show where the warning was created)
(node:465) [DEP0137] DeprecationWarning: Closing a FileHandle object on garbage collection is deprecated. Please close FileHandle objects explicitly using FileHandle.prototype.close(). In the future, an error will be thrown if a file descriptor is closed during garbage collection.
Error: error:0308010C:digital envelope routines::unsupported
at new Hash (node:internal/crypto/hash:67:19)
at Object.createHash (node:crypto:133:10)
at module.exports (/home/peachiedude/tssw/node_modules/webpack/lib/util/createHash.js:135:53)
at NormalModule._initBuildHash (/home/peachiedude/tssw/node_modules/webpack/lib/NormalModule.js:417:16)
at handleParseError (/home/peachiedude/tssw/node_modules/webpack/lib/NormalModule.js:471:10)
at /home/peachiedude/tssw/node_modules/webpack/lib/NormalModule.js:503:5
at /home/peachiedude/tssw/node_modules/webpack/lib/NormalModule.js:358:12
at /home/peachiedude/tssw/node_modules/loader-runner/lib/LoaderRunner.js:373:3
at iterateNormalLoaders (/home/peachiedude/tssw/node_modules/loader-runner/lib/LoaderRunner.js:214:10)
at iterateNormalLoaders (/home/peachiedude/tssw/node_modules/loader-runner/lib/LoaderRunner.js:221:10)
peachiedude@DESKTOP-67DDEI6:~/tssw$