Coder Social home page Coder Social logo

Comments (6)

justadudewhohacks avatar justadudewhohacks commented on May 18, 2024

Hi,

My guess is, if you want to modify the files, you would have to clone this repo. Modifying the files inside node_modules will probably just pull the original files from npm again once you npm install.

from face-recognition.js.

xAKLx avatar xAKLx commented on May 18, 2024

Hello,

Yes, I am using a local copy of the repo, and I am requiring it in the package.json like this:
"face-recognition": "file:./face-recognition". But for some reason, what gets to the node_modules is the original version, even though it throws errors during the build(npm install) if I do something wrong.

from face-recognition.js.

justadudewhohacks avatar justadudewhohacks commented on May 18, 2024

Okay, why are you adding a dependency to face-recognition in the package.json of face-recognition itself? That doesn't quite make sense to me. You could just obey that line.

from face-recognition.js.

xAKLx avatar xAKLx commented on May 18, 2024

No, I am adding it to the package.json of my personal project, to use the library(local version) there.

from face-recognition.js.

justadudewhohacks avatar justadudewhohacks commented on May 18, 2024

Ah I see. Well that's odd. You could try to move the face-recognition package outside of your working directory. I usually do it like "face-recognition": "../face-recognition" when developing locally.

from face-recognition.js.

xAKLx avatar xAKLx commented on May 18, 2024

It didn't work even using a git link to my own fork in the dependencies or moving the directory outside. But in the end I copied the files to the node_modules and performed a npm run install inside the directory. Now is working properly.

from face-recognition.js.

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.