Comments (3)
This is not a "bug" - this is a workaround for a zip issue which is resolved by using a hardcoded date in npm.
Imo this could have been solved much better but this was the way it was solved.
See
Line 150 in 3e7ed30
Related PR: npm/npm#20027
from cli.
Git is not always installed when npm / node is installed so this is no option ;-)
from cli.
A suggestion for a possible "much better" solution: use the output of git show -s --format=%aI HEAD
(or similar) as the argument for new Date()
.
from cli.
Related Issues (20)
- [BUG] `npm.ps1` introduced two regressions
- [BUG] Running `npm ci` doesn't fail when package.json#version has changed HOT 2
- [BUG] `install` and `cache add` disagrees on accept header
- [BUG] Windows npx looking in node_modules/node_modules HOT 3
- Typo in install-clean command HOT 2
- [BUG] npm install failing with ECONNRESET error HOT 4
- [BUG] running npm install without a package.json shouldn't create a package-lock.json if it errors HOT 2
- [BUG] <title>npm EXIT handler never called HOT 1
- [BUG] npm v6.14.xx : 'npm install' generate different node_modules which made my project not responding HOT 1
- [BUG] npx does not respect version range if a compatible version is found inside any package installed globally HOT 7
- [BUG] Npm incorrectly reads parameters in Powershell terminal (Node 20.13.0) HOT 1
- [DOCS] npm removal using make, no Makefile in project directory HOT 5
- [BUG] `npm update` hangs for some dependencies for `npm>=10.4.0`
- [BUG] Invalid package name ".DS_Store" HOT 16
- [BUG] NPM install seems to scope down os/arch of images in `package-lock.js` to only what exists in `node_modules` HOT 1
- [BUG] config prefix cannot be changed from project config in ~/.npmrc HOT 13
- [BUG] .npmignore does not handle .npmrc as expected HOT 2
- [BUG] `npm` sometimes unexpected overrides peer dependencies, resulting in an invalid tree HOT 1
- [BUG] Throw err 'package/lib/cli/validate-engines.js:31' HOT 1
- [BUG] Ctrl-C / SIGINT kills NPM while the Node app keeps running in the background
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 cli.