Comments (3)
What I was getting
npm ERR! Git working directory not clean.
npm ERR! M package-lock.json
npm ERR! A complete log of this run can be found in:
npm ERR! /home/travis/.npm/_logs/2017-09-08T15_12_25_740Z-debug.log
Theory:
If package-lock.json
is out-of-synch when npm install
is run, it gets
updated and is dirty when we are trying to run npm version
Add git checkout -- .
before npm version
Execution
It totally worked 🎉
from ccdb5-ui.
Fixed it for me too, I was having the same error but with package.json
- git checkout -- .
- npm version patch
from ccdb5-ui.
I commit my package-lock.json
file, but still see this error. My fix was to change the npm script from npm i
to npm ci
to install dependencies from the package-lock file.
from ccdb5-ui.
Related Issues (20)
- Type-ahead removes strings when wildcards used HOT 1
- Aggregation misalignment
- User-Agent HTTP header is assumed
- Using the keyboard only to navigate on CCDB traps you in the search box
- Today Sat 28/2020 HOT 2
- 432020 HOT 1
- 432020/11:9 HOT 4
- To discover HOT 1
- Display notification when JS isn't enabled
- Update readme HOT 3
- Use bindAll HOT 3
- Test issue
- Update `cfpb-expandables`
- Typeahead should use the existing style HOT 5
- Index page should display a notification when API call fails
- Don't put templates at app root level HOT 1
- <em> tag is displayed for complaint ID
- Internet Explorer Tweaks HOT 1
- Use autoprefixer HOT 2
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 ccdb5-ui.