Skip to content
This repository has been archived by the owner on Jun 10, 2023. It is now read-only.

Crash when running locally #16

Open
lukacupic opened this issue Aug 20, 2022 · 0 comments
Open

Crash when running locally #16

lukacupic opened this issue Aug 20, 2022 · 0 comments

Comments

@lukacupic
Copy link

lukacupic commented Aug 20, 2022

Description:
I cloned the repo and ran the commands under "Run Locally". After npm dev run, terminal crashes with the following output:

> [email protected] 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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant