Git Product home page Git Product logo

Comments (9)

rvl avatar rvl commented on July 18, 2024

Strangely, this now works. I'm not sure what was going on before, but I could consistently get that error, for more than one project. Does npm2nix keep a cache of git repos or anything like that?

from npm2nix.

chris-martin avatar chris-martin commented on July 18, 2024

I consistently get this error in npm2nix from nixos-16.03.

Error during fetch: Error fetching git://github.com/NixOS/npm2nix.git#5.12.0 from git: git rev-parse's stdout ended before 64 characters were read
error: could not lock config file /run/user/1000/npm2nix-git-checkout-tabtab116424-23487-17snh8y/node-tabtab/.git/config: No such file or directory
fatal: Could not set 'remote.origin.fetch' to '+refs/heads/*:refs/remotes/origin/*'
error: could not lock config file /run/user/1000/npm2nix-git-checkout-pegjs116424-23487-32r9ec/pegjs/.git/config: No such file or directory
fatal: Could not set 'remote.origin.fetch' to '+refs/heads/*:refs/remotes/origin/*'

from npm2nix.

chris-martin avatar chris-martin commented on July 18, 2024

Is this a dupe of #36?

from npm2nix.

chris-martin avatar chris-martin commented on July 18, 2024

I switched from the npm2nix in 16.03 to nixos-unstable, and it seems to be working now.

from npm2nix.

NicolasPetton avatar NicolasPetton commented on July 18, 2024

I'm getting this issue again while running npm2nix on the latest nixos-unstable. @chris-martin have you done something to fix the issue?

from npm2nix.

chris-martin avatar chris-martin commented on July 18, 2024

No, I didn't do anything.

I don't think it matters, though. Even when it finishes running, it doesn't output anything. It seems that everything is blocked by #21.

from npm2nix.

rvl avatar rvl commented on July 18, 2024

I'm not sure if we're all seeing the same issue but I suspect the problem that I saw was timing related.

If my suspicion is correct then the awful nodejs async API is to blame.

I wish luck to the various people who are currently attempting to update npm2nix for the latest npm developments.

from npm2nix.

NicolasPetton avatar NicolasPetton commented on July 18, 2024

Rodney Lorrimar [email protected] writes:

I'm not sure if we're all seeing the same issue but I suspect the
problem that I saw was timing related.

I'll try to fix it, I need npm2nix to work.

from npm2nix.

rvl avatar rvl commented on July 18, 2024

Closing, using node2nix now.

from npm2nix.

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.