Open satoshisound opened 1 year ago
Did you have a previous install? If so I'd recommend deleting the node_modules
folder as lots of things changed with the migration to Nuxt 3.
Also the project was built using npm, so I'd recommend you stick to it. I just tried installing dependencies with yarn, and even though I couldn't reproduce your exact issue, another runtime issue did pop up.
The versions I work with:
node: 18.16.0
npm: 9.5.1
I had originally tried with pnpm, then yarn. I just deleted node_modules
and tried installing with npm
and now I'm seeing another error:
Cannot find module '/Users/allen/git/mostro/mostro-web/node_modules/@scure/bip39/wordlists/english' imported from /Users/allen/git/mostro/mostro-web/node_modules/nostr-tools/lib/esm/nostr.mjs Did you mean to import @scure/bip39/wordlists/english.js?
I'm using:
node: 18.16.1
npm: 9.5.1
Funny, that's the same issue I mentioned I had with yarn. I just tried to install things with node 18.16.1
and had no issues. Also was your package-lock.json
modified by all these attempts?
I tried deleting package-lock.json
and node_modules
but still see the same error.
I'm unable to compile when running
yarn install
. I'm using Node v18.16.1. I'm getting:➤ YN0000: ┌ Resolution step ➤ YN0002: │ @pinia/nuxt@npm:0.4.11 doesn't provide vue (p95b2b), requested by pinia ➤ YN0000: │ Some peer dependencies are incorrectly met; run yarn explain peer-requirements for details, where is the six-letter p-prefixed code
➤ YN0000: └ Completed
➤ YN0000: ┌ Fetch step
➤ YN0000: └ Completed
➤ YN0000: ┌ Link step
➤ YN0000: │ ESM support for PnP uses the experimental loader API and is therefore experimental
➤ YN0007: │ nuxt-app@workspace:. must be built because it never has been before or the last one failed
➤ YN0009: │ nuxt-app@workspace:. couldn't be built successfully (exit code 1, logs can be found here: /private/var/folders/cq/vrndzcns4sx76h_l6m5y2y340000gn/T/xfs-8a4c597f/build.log)
➤ YN0000: └ Completed in 0s 597ms
➤ YN0000: Failed with errors in 0s 806ms
I tried installing
vue
directly but the error persists.