Comments (9)
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.
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.
Is this a dupe of #36?
from npm2nix.
I switched from the npm2nix in 16.03 to nixos-unstable, and it seems to be working now.
from npm2nix.
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.
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.
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.
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.
Closing, using node2nix now.
from npm2nix.
Related Issues (20)
- Relative file paths in package.json are treated as github URLs HOT 2
- generated file is incomplete HOT 16
- Generates incorrect default.nix for iojs
- The devDependencies are ignored HOT 1
- A more stable method of retrieving package information HOT 8
- npm pack doesn't work on optimised store
- handle deps with git+ssh locations HOT 1
- #tree references not working
- There is no `file` variable HOT 1
- Disable npm user config HOT 2
- npm-registry-client 0.2.27 can't handle scoped packages. HOT 1
- Cannot rebuild nix-packages-generated.nix HOT 2
- Problem of "postinstall"
- ETIMEDOUT and ECONNRESET
- scoped packages still fail HOT 1
- "not a valid repository name" error HOT 1
- Make clear that this project is unmaintained HOT 1
- Error during fetch: Could not find version matching
- Status of the repository? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from npm2nix.