zer0bin
zer0bin copied to clipboard
failed to load config from /root/zer0bin/frontend/vite.config.ts🐛
💡 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.
📝 Steps to Reproduce
1.Follow steps in the tutorial 2.configure everything 3.run yarn 4. run yarn run build 5. Boom
📌 Environment
zer0bin version: Newest Your OS:Ubuntu 22.04 LXC container Your browser: Firefox 107.0.1 (shouldn't matter in that report)
Try git revert -m 1 db0d09bad790e114c4cec6bea27996e92eb452ed and then try again