NPM doesn't install module dependencies

前端 未结 16 1780
深忆病人
深忆病人 2020-12-02 06:39

This is my package.json for the module that I\'m including in the parent project:

{
  \"version\": \"0.0.1\",
  \"name\": \"module-name\",
  \"d         


        
16条回答
  •  感情败类
    2020-12-02 06:48

    Just in case anyone is suffering from this predicament and happens to make the same asanine mistake that I did, here is what it was in my case. After banging my head against the wall for an hour, I realized that I had my json incorrectly nested, and the key "dependencies" was inside of the key "repository".
    Needless to say, no errors were evident, and no modules were installed.

提交回复
热议问题