Crash when running locally
Opened this issue · 0 comments
lukacupic commented
Description:
I cloned the repo and ran the commands under "Run Locally". After npm dev run
, terminal crashes with the following output:
> example@0.0.0 dev
> vite --host
file:///<path>/screen-space-reflections/example/node_modules/vite/bin/vite.js:7
await import('source-map-support').then((r) => r.default.install())
^^^^^
SyntaxError: Unexpected reserved word
at Loader.moduleStrategy (internal/modules/esm/translators.js:133:18)
at async link (internal/modules/esm/module_job.js:42:21)
Steps to reproduce:
- Clone the repo (on Ubuntu 22.04 with npm 8.5.1)
cd
into examples folder- Run
npm i --force
- Run
npm run dev
Good job on this SSR, btw. Can't wait to use it