Recompiling node dependencies using another node version

前端 未结 6 1642
终归单人心
终归单人心 2021-01-03 02:38

I want to install some dependencies and in this case installing node-pty. But when I run it they give me this error:

Error: The module \'/home/dev/Do

6条回答
  •  时光说笑
    2021-01-03 03:19

    The simplest way to be sure is just to delete node_modules and re-run npm i from scratch, that way all modules will definitely be set up for the new Node version.

提交回复
热议问题