Ele cria o arquivo package.json. mas qdo eu rodo de novo pra instalar volta o mesmo erro. O estranho é que ele tenta procurar o arquivo no usuário (mdo-ios-support, mdo-windows-support, etc...) sendo que não existe esses usuários.
Meu usuário é admin.
C:\Users\adpinhei>npm init -y
Wrote to C:\Users\adpinhei\package.json:
{
"name": "adpinhei",
"version": "1.0.0",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [],
"author": "",
"license": "ISC",
"description": ""
}
Erro:
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\adpinhei\AppData\Roaming\npm\node_modules.staging\fsevents-f21f97de\node_modules\extsprintf\Makefile.deps'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\adpinhei\AppData\Roaming\npm\node_modules.staging\fsevents-f21f97de\node_modules\extsprintf\Makefile.targ'
npm ERR! path C:\Users\mdo-mbs\package.json
npm ERR! code ENOPACKAGEJSON
npm ERR! errno -4058
npm ERR! syscall open
npm ERR! package.json ENOENT: no such file or directory, open 'C:\Users\mdo-mbs\package.json'
npm ERR! package.json npm can't find a package.json file in your current directory.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\adpinhei\AppData\Roaming\npm-cache_logs\2017-12-13T12_24_53_624Z-debug.log