`root@misc:~/zer0bin/frontend# yarn run build
yarn run v1.22.19
$ vite build
failed to load config from /root/zer0bin/frontend/vite.config.ts
error during build:
/root/zer0bin/frontend/vite.config.ts:58
api_url: JSON.stringify(env.ZEROBIN_API_URL ?? env.API_URL),
^
SyntaxError: Unexpected token '?'
at wrapSafe (internal/modules/cjs/loader.js:915:16)
at Module._compile (internal/modules/cjs/loader.js:963:27)
at Object.require.extensions. [as .ts] (/root/zer0bin/frontend/node_modules/vite/dist/node/chunks/dep-689425f3.js:62006:20)
at Module.load (internal/modules/cjs/loader.js:863:32)
at Function.Module._load (internal/modules/cjs/loader.js:708:14)
at Module.require (internal/modules/cjs/loader.js:887:19)
at require (internal/modules/cjs/helpers.js:74:18)
at loadConfigFromBundledFile (/root/zer0bin/frontend/node_modules/vite/dist/node/chunks/dep-689425f3.js:62014:17)
at loadConfigFromFile (/root/zer0bin/frontend/node_modules/vite/dist/node/chunks/dep-689425f3.js:61933:32)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
`
📝 Steps to Reproduce
1.Follow steps in the tutorial
2.configure everything
3.run yarn
run yarn run build
Boom
📌 Environment
zer0bin version: Newest
Your OS:Ubuntu 22.04 LXC container
Your browser: Firefox 107.0.1 (shouldn't matter in that report)
💡 Summary
yarn run build doesnt work
🥰 Expected Behavior
yarn run build should work
🤬 Actual Behavior
`root@misc:~/zer0bin/frontend# yarn run build yarn run v1.22.19 $ vite build failed to load config from /root/zer0bin/frontend/vite.config.ts error during build: /root/zer0bin/frontend/vite.config.ts:58 api_url: JSON.stringify(env.ZEROBIN_API_URL ?? env.API_URL), ^
SyntaxError: Unexpected token '?' at wrapSafe (internal/modules/cjs/loader.js:915:16) at Module._compile (internal/modules/cjs/loader.js:963:27) at Object.require.extensions. [as .ts] (/root/zer0bin/frontend/node_modules/vite/dist/node/chunks/dep-689425f3.js:62006:20)
at Module.load (internal/modules/cjs/loader.js:863:32)
at Function.Module._load (internal/modules/cjs/loader.js:708:14)
at Module.require (internal/modules/cjs/loader.js:887:19)
at require (internal/modules/cjs/helpers.js:74:18)
at loadConfigFromBundledFile (/root/zer0bin/frontend/node_modules/vite/dist/node/chunks/dep-689425f3.js:62014:17)
at loadConfigFromFile (/root/zer0bin/frontend/node_modules/vite/dist/node/chunks/dep-689425f3.js:61933:32)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
`
📝 Steps to Reproduce
1.Follow steps in the tutorial 2.configure everything 3.run yarn
📌 Environment
zer0bin version: Newest Your OS:Ubuntu 22.04 LXC container Your browser: Firefox 107.0.1 (shouldn't matter in that report)