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

Error: Could not locate the bindings file (node_modules/bindings/bindings.js:135). Tried: #87

Open
hoffmanic opened this issue Aug 5, 2023 · 1 comment

Comments

@hoffmanic
Copy link

hoffmanic commented Aug 5, 2023

Hi there, we are running an old version of node and attempting to run on WSL2.

I am new to WSL2 and wondering if there is support for this v-environment?

Package: segfault-handler@1.3.0
WLS2: Ubuntu-22.04
We are using node: v14.15.1 and attempted: v20.5.0
npm: 0.39.4

and the basic get started code.

Note: node v20.5.0 does work.. you need to npm rebuild on wsl2.

@hoffmanic
Copy link
Author

I ended up getting this working:

I needed to use node: v14.21.3 the lts/fermium build.

I also believe you need to do a npm rebuild for WSL2
you'll need to install:

  • build-essentials
  • python3
  • python-is-python3

Further in our real project we use pnpm and the above works too. just do a npm rebuild too!

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