NPM: After “npm link” module is not found

后端 未结 4 1132
难免孤独
难免孤独 2021-02-11 11:36

I\'m developing two modules for NodeJS, first one named aligator and second one aligator-methods. Second one depends on first one to work. I\'m develop

4条回答
  •  悲哀的现实
    2021-02-11 12:22

    The problem was that the main property of package.json was pointing to a non-existing file. It seems that the problem can happen due to multiple reasons so be sure to take a look at other answers.

提交回复
热议问题