Only see code at my new project url after launch
Answered
Crazy ant posted this in #help-forum
Crazy antOP
Hi All,
First time Next.js and Vercel users. Launched my first project (Woocommerce w next.js frontend) and after launching the site I just see code. Is there a setting I missed in launch or some other issue someone can see?
I have been through the project settings and searched this forum but did not see anything related to this. URL is here. Cloudflare is also being used.
https://bitcoinia.store/
First time Next.js and Vercel users. Launched my first project (Woocommerce w next.js frontend) and after launching the site I just see code. Is there a setting I missed in launch or some other issue someone can see?
I have been through the project settings and searched this forum but did not see anything related to this. URL is here. Cloudflare is also being used.
https://bitcoinia.store/
Answered by Crazy ant
OK got it, I had some whack changes in package.json which I had not realized were still in. thanks for help!
15 Replies
uhmmm how did this even happen 

go to project settings, check the build & development settings
does it show up like this or something else?
Crazy antOP
i checked and it had removed (even though I added it I think) the framework. I readded it and now looks like this.
error persists. maybe delete and just launch again?
try to re build as the preview looks good, the current prod is just sus (if you re triger build for prod it should use new settings)
Crazy antOP
I redeployed... lets see...
ah ok least I get an error now...
"Error: Could not find a production build in the '/vercel/path0/.next' directory. Try building your app with 'next build' before starting the static export. https://nextjs.org/docs/messages/next-export-no-build-id
"
"Error: Could not find a production build in the '/vercel/path0/.next' directory. Try building your app with 'next build' before starting the static export. https://nextjs.org/docs/messages/next-export-no-build-id
"
do you like have monorepo and you specified using src folder or smth
Crazy antOP
left root blank. is this normal to do that?
ye
Crazy antOP
not sure if I have monorepo. branched from an existing project.
would i just check in package.json for that?
Crazy antOP
OK got it, I had some whack changes in package.json which I had not realized were still in. thanks for help!
Answer