OXRS-IO / OXRS-IO-WEBSITE

Open eXtensible Rack System
BSD 2-Clause "Simplified" License
2 stars 11 forks source link

npm run dev fails #60

Closed plains203 closed 2 years ago

plains203 commented 2 years ago

npm run dev fails with the following error

/home/code/OXRS-IO-WEBSITE/node_modules/@vuepress/bundler-vite/lib/resolveViteConfig.js:15 }, options.viteOptions ?? {}); ^

SyntaxError: Unexpected token '?'

2022-08-15T07_13_22_968Z-debug.log

This is on a fresh Debian 11 install with Visual Studio Code-Server, Git, Node and npm.

plains203 commented 2 years ago

Was running npm -v 7.5.2 vs on my windows machine which is working 8.15.0. Installed the latest version of Node JS and npm on the debian machine and the issue was resolved.