I’ve created a demo project to practice and did the initial setup:
npm install -g purescript npm install -g spago spago init spago build
First run it goes fine, it installs dependencies without problem, added the
arrays package and all.
Later i wanted to add parcel to raise a dev server and test the compiled js code, since there was no package.json i did:
npm init npm install -D parcel-bundler
After that i’m unable to run
spago build nor install additional dependencies. Console outputs a list of dependencies that were installed previously and any new dependencies and dependencies’ dependencies are throwing errors on git:
[info] Installing "web-storage" [error] Failed to install dependency "lazy" Git output: fatal: destination path '.' already exists and is not an empty directory.
What am i doing wrong?