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

yarn 4 installation fails #88

Open
fhammerschmidt opened this issue Feb 3, 2025 · 0 comments
Open

yarn 4 installation fails #88

fhammerschmidt opened this issue Feb 3, 2025 · 0 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@fhammerschmidt
Copy link
Member

While yarn classic installation works, yarn 4 gives me this:

➜  Desktop yarn create rescript-app
➤ YN0000: · Yarn 4.1.1
➤ YN0000: ┌ Resolution step
➤ YN0085: │ + create-rescript-app@npm:1.8.0
➤ YN0000: └ Completed
➤ YN0000: ┌ Fetch step
➤ YN0013: │ A package was added to the project (+ 347.13 KiB).
➤ YN0000: └ Completed
➤ YN0000: ┌ Link step
➤ YN0000: └ Completed
➤ YN0000: · Done in 0s 44ms

node:internal/process/esm_loader:34
      internalBinding('errors').triggerUncaughtException(
                                ^

Error [ERR_MODULE_NOT_FOUND]: Cannot find module '/private/var/folders/4z/fmty9jsx2nz0b77clgyfjj_r0000gn/T/xfs-db3e3751/dlx-63482/.yarn/cache/create-rescript-app-npm-1.8.0-4abaf919f9-1cd44032c4.zip/node_modules/create-rescript-app/out/create-rescript-app.mjs' imported from /Users/florian-cca/Desktop/
Did you mean to import /private/var/folders/4z/fmty9jsx2nz0b77clgyfjj_r0000gn/T/xfs-db3e3751/dlx-63482/.yarn/cache/create-rescript-app-npm-1.8.0-4abaf919f9-1cd44032c4.zip/node_modules/create-rescript-app/out/create-rescript-app.mjs?
    at finalizeResolution (node:internal/modules/esm/resolve:264:11)
    at moduleResolve (node:internal/modules/esm/resolve:917:10)
    at defaultResolve (node:internal/modules/esm/resolve:1130:11)
    at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:396:12)
    at ModuleLoader.resolve (node:internal/modules/esm/loader:365:25)
    at ModuleLoader.getModuleJob (node:internal/modules/esm/loader:240:38)
    at ModuleLoader.import (node:internal/modules/esm/loader:328:34)
    at node:internal/modules/run_main:99:28
    at loadESM (node:internal/process/esm_loader:28:13)
    at runMainESM (node:internal/modules/run_main:98:21) {
  code: 'ERR_MODULE_NOT_FOUND',
  url: 'file:///private/var/folders/4z/fmty9jsx2nz0b77clgyfjj_r0000gn/T/xfs-db3e3751/dlx-63482/.yarn/cache/create-rescript-app-npm-1.8.0-4abaf919f9-1cd44032c4.zip/node_modules/create-rescript-app/out/create-rescript-app.mjs'
}

Node.js v20.11.1
@fhammerschmidt fhammerschmidt added help wanted Extra attention is needed bug Something isn't working labels Feb 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant