NPM: After “npm link” module is not found

后端 未结 10 875
情深已故
情深已故 2021-02-11 11:31

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

10条回答
  •  温柔的废话
    2021-02-11 12:27

    My issue ended up being that repo A was using npm and repo B was using yarn, so I needed to run yarn link in repo B in order to pull it in via npm link package-name into repo A.

提交回复
热议问题