Can't run dApp in production (build) #1730
Unanswered
raffle-x-dev
asked this question in
Q&A
Replies: 2 comments 5 replies
-
Sorry for the noob argument, but couldn't find much in the docs. I also tried |
Beta Was this translation helpful? Give feedback.
3 replies
-
@raffle-x-dev Can you link us a small reproducible example ? Also what rainbowkit and wagmi version are you using ? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi there.
I'm trying to make a production build and test it locally with http-server.
I run npm run build, I get this, seeming to be ok
`✓ Linting and checking validity of types
Creating an optimized production build ...
✓ Compiled successfully
✓ Collecting page data
✓ Generating static pages (3/3)
✓ Collecting build traces
✓ Finalizing page optimization
But:
1st: I can't see any "build" folder created.
2nd: if I navigate to .next/server/pages/ where the static files are created and try to test from there, the console log tells me it doesn't find the realtive .css and stuff just created.
`ed3b855a4261c72f.css:1
0e19a8a03c0e9127.css:1
webpack-3d7e0abfabeb4ddb.js:1
framework-314c182fa7e2bf37.js:1
main-e9a4e4ae37deaffb.js:1
_app-7921d25ab76bd16c.js:1
index-55cfce5acd66dc77.js:1
_buildManifest.js:1
_ssgManifest.js:1
How do I build for production in RainbowKit? :/ TY
Beta Was this translation helpful? Give feedback.
All reactions