Giter VIP home page Giter VIP logo

Comments (2)

wobbet avatar wobbet commented on September 17, 2024

Not sure if it's useful but there are two references to pre-gyp in my package-lock.json...

    "@tensorflow/tfjs-node": {
      "version": "4.2.0",
      "resolved": "https://registry.npmjs.org/@tensorflow/tfjs-node/-/tfjs-node-4.2.0.tgz",
      "integrity": "sha512-dkyExfqTjMVDpKLBzHH2b7JWzGK+QORtYswvoNHbeHwx7kvYYRAQeiHxp+xrgry6LdbWfZs88IWCwNGoOiZ21w==",
      "requires": {
        "@mapbox/node-pre-gyp": "1.0.9",

and

    "@mapbox/node-pre-gyp": {
      "version": "1.0.9",
      "resolved": "https://registry.npmjs.org/@mapbox/node-pre-gyp/-/node-pre-gyp-1.0.9.tgz",
      "integrity": "sha512-aDF3S3rK9Q2gey/WAttUlISduDItz5BU3306M9Eyv6/oS40aMprnopshtlKTykxRNIBEZuRMaZAnbrQ4QtKGyw==",

from node-pre-gyp.

wobbet avatar wobbet commented on September 17, 2024

I have completely rebuilt my project from scratch with two modifications

  • Switched from face-api.js to @vladmandic/face-api. This is important because the original was based on TensorFlow JS v1.7 where TFJS is now at 4.2. The original would only support the 2.x version.
  • Switched from opencv-js to @techstark/opencv-js for similar reasons.

I'm confident the first library was the one at issue.

I'm back up and running.

Closing.

from node-pre-gyp.

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.