Issues with npm error 'nopt'

Hi all, I’m apparently unable to access the npm, which is essential since I’m studying JS development right now.

I’m apparently missing a module called ‘nopt’, but it’s not in the Manjaro/Arch repositories and I can’t use npm to download it as it references the “Cannot find module ‘nopt’” any time I simply call npm, the following jpeg will illustrate. Any ideas would be helpful!

Thanks in advance!

It’s in the community repo as nodejs-nopt.

Thank you! I had to remove that package, reinstall it, then reinstall npm and that worked! Muchisimas gracias senor!

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.