[x ] I have searched for similiar issues before filing this issue.
node version: v6.11.2
On windows & linux I have everything working as expected. However, on OS X, not so much.
When calling ncu or npm-check-updates from command line i get.
Error: Cannot find module 'ansi'
After installing with npm install -g ansi i get
Error: Cannott find module 'lodash.pad' after installing that it goeson with 'lodash.padon' missing and it goes on.
I tried installing: browser sync with npm install -g browser-sync because the packages above seem to fall under that package... but it didn't work
Hi! Thanks for reporting. I'm sorry you are experiencing difficulties. I am
running OSX and unfortunately I can't reproduce the issues you are
experiencing. This leads me to believe that it is not a problem with
npm-check-updates, but npm, which occasionally does not install
dependencies correctly and leads to problems like this. If you can send a
repo in which this is reproduced, I would be happy to troubleshoot,
otherwise there might not be much I can do! You may have to play around
with your node and npm installation to get it to work. Try doing a full
uninstall and re-install of ncu, and then if that doesn't work possibly
doing that for node.
On Wed, Aug 23, 2017 at 3:21 AM Eddie notifications@github.com wrote:
>
- [ x] I have read the list of known issues
https://github.com/tjunnone/npm-check-updates#known-issues before
filing this issue.[x ] I have searched for similiar issues
https://github.com/tjunnone/npm-check-updates/issues before filing
this issue.node version: v6.11.2
- npm version:
- npm-check-updates version: 5.3.0
On windows & linux I have everything working as expected. However, on OS
X, not so much.
When calling ncu or npm-check-updates from command line i get.Error: Cannot find module 'ansi'
After installing with npm install -g ansi i get
Error: Cannott find module 'lodash.pad' after installing that it goeson
with 'lodash.padon' missing and it goes on.I tried installing: browser sync with npm install -g browser-sync because
the packages above seem to fall under that package... but it didn't work—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/tjunnone/npm-check-updates/issues/385, or mute the
thread
https://github.com/notifications/unsubscribe-auth/AAtyxANe6BBZn4kX_tITW5dc2WgzsmyVks5sa-8QgaJpZM4O_um2
.
I got it fixed. I don't know how exactly, but you were right. I think it happened when I downgraded my nodejs + npm.
So, if anyone else runs into this. Just.
npm uninstall -g npm-check-updatesnpm cache clean --forcenpm i -g npm-check-updatesThanks for the response, great tool!
Yay! 🐼
On Thu, Aug 24, 2017 at 12:11 AM Eddie notifications@github.com wrote:
Closed #385 https://github.com/tjunnone/npm-check-updates/issues/385.
—
You are receiving this because you commented.Reply to this email directly, view it on GitHub
https://github.com/tjunnone/npm-check-updates/issues/385#event-1219119498,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAtyxEiuKlw2rHpqSlWYLcGtd2lIMulMks5sbRQFgaJpZM4O_um2
.
having the same issue on OSX. no problems on ubuntu. I know it's not a very good fix but hopefully this will help someone else. Add the following to your bashrc.
PATH=$PATH:/Users/__YOUR_USERNAME_/npm_global/lib/node_modules/npm-check-updates/bin
then, source ~/.bashrc
Most helpful comment
I got it fixed. I don't know how exactly, but you were right. I think it happened when I downgraded my nodejs + npm.
So, if anyone else runs into this. Just.
npm uninstall -g npm-check-updatesnpm cache clean --forcenpm i -g npm-check-updatesThanks for the response, great tool!