Search
Star
Feedback
Setup for Free
ยฉ 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
SolidStart - How do I build and start server in different directory? - SolidJS
S
SolidJS
โข
4y ago
bryon
SolidStart - How do I build and start server in different directory?
After running
npm run build
npm run build
, a dist folder w
/ content is created
. If I move the dist folder into another directory
, I have to copy the
package.json
package.json
file and
npm i --omit=dev
npm i --omit=dev
in the new directory for it to run without errors
.
My confusion is why I
'm having to manually copy the
package.json
package.json
file
?
Is this the correct way to do it
, or am I misunderstanding
?
Thanks in advance
,
Bryon
SolidJS
Join
Solid is a declarative reactive Javascript library for creating user interfaces.
12,274
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
SolidStart prod build fails to start on `require()`
S
SolidJS / support
4y ago
Where Do I Put Providers In SolidStart?
S
SolidJS / support
3y ago