SamuelHornsey / scorm-promised

SCORM 1.2 API Wrapper 🤓
MIT License
4 stars 0 forks source link

NPM package contains .git folder #2

Closed ricick closed 5 years ago

ricick commented 5 years ago

Getting an error from NPM once this package is installed, and trying to install another:

λ npm install styled-components --save
npm ERR! path D:\projects\myproject\node_modules\scorm-promised
npm ERR! code EISGIT
npm ERR! git D:\projects\hmyproject\node_modules\scorm-promised: Appears to be a git repo or submodule.npm ERR! git     D:\projects\myproject\node_modules\scorm-promised
npm ERR! git Refusing to remove it. Update manually,
npm ERR! git or move it out of the way first.

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\MyUser\AppData\Roaming\npm-cache\_logs\2019-05-08T04_17_08_815Z-debug.log

This can be resolved by manually removing the .git folder in node_modules\scorm-promised

See this issue in another repo as a guide:

https://github.com/APSL/react-native-version-number/issues/13

SamuelHornsey commented 5 years ago

Thanks @ricick for raising this issue. Is now resolved in the latest release.