I recently followed a tutorial on how to publish packages to NpmJS. However, I encountered an error when trying to update the package after making changes to the README.MD
:
npm version patch
npm ERR! Git working directory not clean.
npm ERR! A .gitignore
npm ERR! AM README.md
npm ERR! A babel.config.js
npm ERR! AM package-lock.json
npm ERR! AM package.json
npm ERR! AD public/favicon.ico
npm ERR! AD public/index.html
npm ERR! AD src/App.vue
npm ERR! AD src/assets/logo.png
npm ERR! AD src/components/HelloWorld.vue
npm ERR! AD src/main.js
What's puzzling me is that the error mentions a HelloWorld.vue
file which isn't even part of my package. I haven't used git for this, only npm.
If anyone has insight or can point me in the right direction to resolve this issue, it would be greatly appreciated.