Other Node And npm not working after upgrading to 12.1

EverydayDiesel

Member


Messages: 31

Hello I followed the freebsd guide and everything went well but now when I go to start the node listener I get all kinds of errors.

node app.js gives me the error
Code:
'Error: cannot find module 'express'

so then i go to install express

Code:
#npm install express
npm ERR code MODULE_NOT_FOUND
npm ERR Cannot find module 'readable-stream/transform'

I did run portmaster -L / portmaster -a which reinstalled node and npm but this error is still there

How can I fix this?

Thanks in advance for any help you can give
 
Top