kholmogorov27 / chevron

Powerful and highly functional startpage integrated with chatGPT and hidden under the super minimalistic and animated design (static/hosted/github pages)
https://kholmogorov27.github.io/chevron/
MIT License
346 stars 104 forks source link

Unable to Build (Syntax Error involving reserved word 'Await') #11

Closed sunkencity999 closed 1 year ago

sunkencity999 commented 1 year ago

When attempting to build, the following error is encountered:

chevron@2.1.0 build vite build

file:///home/sunkencity999/chevron-2.1.0/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)

kholmogorov27 commented 1 year ago

It seems to be a known issue of vite https://github.com/vitejs/vite/issues/9582

You need to update your Node.js version

sunkencity999 commented 1 year ago

That resolved the issue