Open bentxt opened 8 months ago
By chance did you opt out of running npm install
? Could you share the package.json
that was generated?
Hi, I got this issue too with both vite and webpack. Seems there's an issue with dune build getting to the node_modules/ subfolder in the project root, as the dune build seems to happen two folders upward of the created project?
Already ran npm install, npm i vite (for the vite project) and also npm i webpack (for the webpack project)
Thank you!
-- hi, after debugging locally, I think the problem was with opam switches. I have set the global opam switch to a top folder location and it seemed to have broke dune build. After deleting all local opam switches and trying again, it works now. Thanks!
npm create melange-app@latest
eval $(opam env)
dune build
opam switch list
dune build
dune file
dune-project file