Open jadasse opened 1 year ago
This is referring to the Publish your project as a website! tutorial on the Leopard website, linked from the homepage. I'm not familiar with Vercel and supporting deployment so I won't be able to help address this issue, sorry!
This is referring to the Publish your project as a website! tutorial on the Leopard website, linked from the homepage. I'm not familiar with Vercel and supporting deployment so I won't be able to help address this issue, sorry!
Vercel was not the main focus but thanks anyway I guess (this is old)
Oh whoops yeah, my fault for managing issues near midnight 😅
If this is something you're still interested in working on, do you know if it's possible to share the exact files which are being deployed to Netlify? It seems a little weird to me for there to be a package.json
at all, since Leopard projects should be able to deploy on a completely static website (it's just a normal index.html
and static assets/code files).
Actually, it sounds like yarn build
or npm run build
might just be the Netlify default. I don't know if that's something you can configure directly on CodeSandbox, but you may be able to follow the instructions here and clear the "basic build settings" section (Step 5). Then a second deployment should work correctly.
It sounds like the GitHub Pages build got closer. Did this project work correctly when you first converted it with Leopard, on the codesandbox.com website / online text editor? GH Pages should be basically just a copy of what you see on CodeSandbox. If all you saw was the "green flag" button on CodeSandbox, that means there is a compatibility error in Leopard or sb-edit (it's not 100% compatible with Scratch yet) — but the deployment to GH Pages is probably working too.
On the other hand, if the project does run on CodeSandbox but not GitHub Pages, that's definitely some kind of issue with deployment and would take some further investigation.
I don't think converting the javascript to a website is working. Vercel does not do anything; upon deployment, it just hangs. Netlify gives me an error saying: "yarn run v1.22.5 info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. | warning package.json: No license field error Command "build" not found." and the webpage says "Not Found" and gives me a Request ID. The GitHub Pages is successful; however, when I enter the deployment page, all that is left is the "Green Flag" button. I am trying to use this guide: https://leopardjs.com/help/publish-with-vercel. What is happening?