GithubHelp home page GithubHelp logo

Comments (2)

trobert2 avatar trobert2 commented on August 22, 2024 1

I'm also running into that error on node 20. Works with node 18.

Cannot find module '../node_modules/@radarlabs/s2/lib/binding/Release/node-v115-darwin-arm64/s2.node'

@willbattel,
here are some things to consider:

  • make sure if you have an intermediary library that uses @radarlabs/s2, that it is also upgraded and built with node20 for your platform.
  • when upgrading, delete the dependency from your node_modules or the whole node_modules directory. Delete the lock file for your package manager and re-install the dependencies

Doing this fixed the missing binary issue for me. I have updated the description to be more precise to the issue I am having

from s2.

willbattel avatar willbattel commented on August 22, 2024

I'm also running into that error on node 20. Works with node 18.

Cannot find module '../node_modules/@radarlabs/s2/lib/binding/Release/node-v115-darwin-arm64/s2.node'

EDIT: Was able to resolve by deleting node_modules and lock file, then reinstalling.

from s2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.