0beqz/screen-space-reflections

Crash when running locally

Opened this issue · 0 comments

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:

  1. Clone the repo (on Ubuntu 22.04 with npm 8.5.1)
  2. cd into examples folder
  3. Run npm i --force
  4. Run npm run dev

Good job on this SSR, btw. Can't wait to use it