Closed plains203 closed 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.
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.
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.