Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install problem #31

Open
jamnut opened this issue Sep 11, 2023 · 1 comment
Open

Install problem #31

jamnut opened this issue Sep 11, 2023 · 1 comment

Comments

@jamnut
Copy link

jamnut commented Sep 11, 2023

I'm on macos Ventura 13.5 running npm version 9.6.7 and am getting this error. I see that the latest changes are 3 years ago, does this mean that this repo doesn't work with the latest purescript? (I'm running purs version 0.15.10)

npm ERR! code 1
npm ERR! path /Users/steveweeks/dev/PureScript/concur-starter/node_modules/purescript
npm ERR! command failed
npm ERR! command sh -c install-purescript --purs-ver=0.15.7
npm ERR! node:internal/modules/cjs/loader:1080
npm ERR! throw err;
npm ERR! ^
npm ERR!
npm ERR! Error: Cannot find module './promise'

@jamnut
Copy link
Author

jamnut commented Sep 11, 2023

Some progress. It looks like a versioning problem. My purs, spago and parcel are all globally installed and the 'npm install' step installs conflicting versions. If instead, I run:

  • npm install react
  • npm install [email protected]
  • npm install update-browserslist-db@latest
  • spago build
  • parcel dev/index.html --open

i get the following:
Server running at http://localhost:1234
🚨 Build failed.

Error: Expected content key b610778945a5a48d to exist

Error: Expected content key b610778945a5a48d to exist
at nullthrows (/usr/local/lib/node_modules/parcel/node_modules/nullthrows/nullthrows.js:7:15)
at AssetGraph.getNodeIdByContentKey
(/usr/local/lib/node_modules/parcel/node_modules/@parcel/graph/lib/ContentGraph.js:67:38)
at /usr/local/lib/node_modules/parcel/node_modules/@parcel/core/lib/SymbolPropagation.js:52:82
at Array.map ()
at propagateSymbols (/usr/local/lib/node_modules/parcel/node_modules/@parcel/core/lib/SymbolPropagation.js:52:61)
at AssetGraphBuilder.build
(/usr/local/lib/node_modules/parcel/node_modules/@parcel/core/lib/requests/AssetGraphRequest.js:168:62)
at async Object.run
(/usr/local/lib/node_modules/parcel/node_modules/@parcel/core/lib/requests/AssetGraphRequest.js:60:37)
at async RequestTracker.runRequest
(/usr/local/lib/node_modules/parcel/node_modules/@parcel/core/lib/RequestTracker.js:633:20)
at async Object.run
(/usr/local/lib/node_modules/parcel/node_modules/@parcel/core/lib/requests/BundleGraphRequest.js:103:11)
at async RequestTracker.runRequest
(/usr/local/lib/node_modules/parcel/node_modules/@parcel/core/lib/RequestTracker.js:633:20)

Any ideas on what to try next?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant