Npx frontity dev problem

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

[email protected]:~$ npx frontity create tssw
? Pick a starter theme to clone: @frontity/mars-theme (recommended)
:heavy_check_mark: Creating README.md.
:heavy_check_mark: Creating package.json.
:heavy_check_mark: Creating frontity.settings.js.
:heavy_check_mark: Cloning @frontity/mars-theme.
:heavy_check_mark: Installing dependencies.
:heavy_check_mark: Downloading favicon.ico.
:heavy_check_mark: Initializing git repo.

Frontity project created.

Run cd tssw && npx frontity dev and have fun! :tada:

You can find docs at https://docs.frontity.org/.
For technical support and assistance please join our community at https://community.frontity.org/.

[email protected]:~$ cd tssw
[email protected]:~/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)
[email protected]:~/tssw$

If I remember correctly, you need to use Node.js v16.x with Frontity. That should solve the issue.