npm install execution error: ENOENT: no such file or directory, open 'XXXXX\package.json'

Execute npm install and report an error

Insert image description here

Solution:

First execute npm init -f and then install npm install

Insert image description here
Insert image description here

Guess you like

Origin blog.csdn.net/weixin_52268321/article/details/131386873