-
Notifications
You must be signed in to change notification settings - Fork 155
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Could not serve web with vite #8091
Comments
Why is your .pnpm-store in your web folder at all? But I don't mind, feel free to send this change as a PR, but maybe add a comment that it's not recommended to have the folder in the project. Is it in .gitignore? I'd expect vite to ignore it then anyway.. |
|
I think I did
Since I am the only one having this issue, I do not feel confident to send the PR for this. You guys can decide 😄 |
I will close it here |
With vite added in PR #7952, commands to serve the web have changed.
Q: Command
pnpm serve
does the same aspnpm build:w
command: builds and watch for file changes. Do we need nowserve
command (as there are new commands to serve web)?New commands:
pnpm vite:ocis
/pnpm vite
: to serve web with oCIS (containerized server)pnpm vite:oc10
: to serve web with oC10 (containerized server)Both commands fail with this error:
I needed to add the following config in
vite.config.ts
in order to make the commands work.CC @dschmidt
The text was updated successfully, but these errors were encountered: