4 months ago
I have a web app that has a frontend and server. I use npm run server and npm run dev to start these locally.
I updated my deployment settings with npm run server && npm run dev. I get an error and here is the log output.
Any thoughts on what I'm doing wrong?
Starting Container
npm warn config production Use --omit=dev instead.
npm warn config production Use --omit=dev instead.
> construction-spec-analyzer@1.0.0 dev
> vite
> construction-spec-analyzer@1.0.0 server
> node server.js
VITE v5.4.8 ready in 311 ms
➜ Local: http://localhost:5173/
➜ Network: use --host to expose
[dotenv@17.2.3] injecting env (0) from .env -- tip:
load multiple .env files with { path: ['.env.local', '.env'] }
Server running on port 3001
Database connected successfully
Stopping Container
2 Replies
4 months ago
Hey there! We've found the following might help you get unblocked faster:
If you find the answer from one of these, please let us know by solving the thread!
4 months ago
This thread has been marked as public for community involvement, as it does not contain any sensitive or personal information. Any further activity in this thread will be visible to everyone.
Status changed to Open sarahkb125 • 4 months ago
4 months ago
Thank you for your help! It took me a bit a back and forth, but it's working now.
Status changed to Solved uxuz • 4 months ago
