Error: cannot find module 'uuid'

I have this message when I try to use npm:

terminal screenshot

I tried uninstalling reinstall using brew, but without success.

+6
source share
2 answers

You have lost or not installed the uuid module, try installing ... https://www.npmjs.com/package/uuid

0
source

Just do:

cd / usr / local / lib / node_modules

then

npm prune

0
source

Source: https://habr.com/ru/post/1017097/


All Articles