ENOENT, no such file or directory

前端 未结 10 1912
萌比男神i
萌比男神i 2020-12-04 23:39

I\'m getting this error from my node app:

ENOENT, no such file or directory \'~/Desktop/MyApp/newversion/partials/navigation.jade\'

I know

10条回答
  •  Happy的楠姐
    2020-12-05 00:18

    Another possibility is that you are missing an .npmrc file if you are pulling any packages that are not publicly available.

    You will need to add an .npmrc file at the root directory and add the private/internal registry inside of the .npmrc file like this:

    registry=http://private.package.source/secret/npm-packages/
    

提交回复
热议问题