Skip to content

12.0.0-alpha.13: Pervasives not found when using pnpm #7526

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

Open
4 of 5 tasks
hackwaly opened this issue May 26, 2025 · 1 comment
Open
4 of 5 tasks

12.0.0-alpha.13: Pervasives not found when using pnpm #7526

hackwaly opened this issue May 26, 2025 · 1 comment

Comments

@hackwaly
Copy link

hackwaly commented May 26, 2025

version: 12.0.0-alpha.13
platform: macOS arm64

demo https://gist.github.com/hackwaly/bae3945b92170e79b9130bf1b6019209

pnpm rewatch watch
[1/7] 📦 Built package tree in 0.00s
[2/7] 👀 Found source files in 0.00s
[3/7] 📝 Read compile state 0.00s
[4/7] 🧹 Cleaned 0/2 0.00s
[5/7] 🧱 Parsed 0 source files in 0.00s
[6/7] 🌴 Collected deps in 0.00s
[7/7] ❌ Compiled 2 modules in 0.01s

  We've found a bug for you!
  command line

  The module or file Pervasives can't be found.
  - If it's a third-party dependency:
    - Did you add it to the "bs-dependencies" or "bs-dev-dependencies" in rescript.json?
  - Did you include the file's directory to the "sources" in rescript.json?
  


  We've found a bug for you!
  command line

  The module or file Pervasives can't be found.
  - If it's a third-party dependency:
    - Did you add it to the "bs-dependencies" or "bs-dev-dependencies" in rescript.json?
  - Did you include the file's directory to the "sources" in rescript.json?

Thank you for filing! Check list:

  • Is it a bug? Usage questions should often be asked in the forum instead.
  • Concise, focused, friendly issue title & description.
  • A minimal, reproducible example.
  • OS and browser versions, if relevant.
  • Is it already fixed in master? Instructions
@nojaf
Copy link
Collaborator

nojaf commented May 27, 2025

Thanks for reporting this. I can reproduce this.
Both rewatch and bsb can't find Pervasives.src.
I believe this is related to pnpm.

@cknitt cknitt changed the title 12.0.0-alpha.13 reports "The module or file Pervasives can't be found." unconditionally 12.0.0-alpha.13: Pervasives not found when using pnpm May 27, 2025
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

2 participants