Olá,
Estou utilizando o Windows 11 e instalei o NodeJS em minha máquina, porém quando dou o comando npm install um erro é apresentado.
Vídeo do procedimento: https://drive.google.com/file/d/1EQTP7lVQCQR83-rVWEjYSDiTSbsBsuFA/view?usp=sharing
Log completo: 0 verbose cli C:\Program Files\nodejs\node.exe C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js 1 info using npm@9.5.0 2 info using node@v18.15.0 3 timing npm:load:whichnode Completed in 1ms 4 timing config:load:defaults Completed in 1ms 5 timing config:load:file:C:\Program Files\nodejs\node_modules\npm\npmrc Completed in 1ms 6 timing config:load:builtin Completed in 1ms 7 timing config:load:cli Completed in 2ms 8 timing config:load:env Completed in 1ms 9 timing config:load:file:C:\Users\escud\OneDrive\Documentos\GitHub\TypeScript.npmrc Completed in 0ms 10 timing config:load:project Completed in 2ms 11 timing config:load:file:C:\Users\escud.npmrc Completed in 1ms 12 timing config:load:user Completed in 1ms 13 timing config:load:file:C:\Users\escud\AppData\Roaming\npm\etc\npmrc Completed in 0ms 14 timing config:load:global Completed in 0ms 15 timing config:load:setEnvs Completed in 2ms 16 timing config:load Completed in 11ms 17 timing npm:load:configload Completed in 12ms 18 timing npm:load:mkdirpcache Completed in 0ms 19 timing npm:load:mkdirplogs Completed in 1ms 20 verbose title npm install 21 verbose argv "install" 22 timing npm:load:setTitle Completed in 1ms 23 timing config:load:flatten Completed in 3ms 24 timing npm:load:display Completed in 3ms 25 verbose logfile logs-max:10 dir:C:\Users\escud\AppData\Local\npm-cache_logs\2023-03-10T21_19_27_767Z- 26 verbose logfile C:\Users\escud\AppData\Local\npm-cache_logs\2023-03-10T21_19_27_767Z-debug-0.log 27 timing npm:load:logFile Completed in 7ms 28 timing npm:load:timers Completed in 0ms 29 timing npm:load:configScope Completed in 0ms 30 timing npm:load Completed in 25ms 31 timing config:load:flatten Completed in 1ms 32 timing arborist:ctor Completed in 1ms 33 silly logfile start cleaning logs, removing 9 files 34 timing idealTree:init Completed in 8ms 35 timing idealTree:userRequests Completed in 0ms 36 silly idealTree buildDeps 37 timing idealTree:#root Completed in 0ms 38 timing idealTree:buildDeps Completed in 1ms 39 timing idealTree:fixDepFlags Completed in 0ms 40 timing idealTree Completed in 11ms 41 timing reify:loadTrees Completed in 14ms 42 timing reify:diffTrees Completed in 1ms 43 silly reify mark retired [ 43 silly reify 'C:\Users\escud\OneDrive\Documentos\GitHub\TypeScript\node_modules\sqlite3' 43 silly reify ] 44 silly reify moves { 44 silly reify 'C:\Users\escud\OneDrive\Documentos\GitHub\TypeScript\node_modules\sqlite3': 'C:\Users\escud\OneDrive\Documentos\GitHub\TypeScript\node_modules\.sqlite3-wJ0o7HvR' 44 silly reify } 45 timing reify:retireShallow Completed in 5ms 46 timing reify:createSparse Completed in 1ms 47 timing reify:loadBundles Completed in 0ms 48 timing reify:unpack Completed in 0ms 49 timing reify:unretire Completed in 0ms 50 timing build:queue Completed in 0ms 51 timing build:deps Completed in 1ms 52 timing build Completed in 1ms 53 timing reify:build Completed in 1ms 54 silly logfile done cleaning log files 55 timing reify:trash Completed in 6ms 56 timing reify:save Completed in 2ms 57 timing reify Completed in 40ms 58 timing command:install Completed in 44ms 59 verbose stack Error: ENOENT: no such file or directory, open 'C:\Users\escud\OneDrive\Documentos\GitHub\TypeScript\package.json' 60 verbose cwd C:\Users\escud\OneDrive\Documentos\GitHub\TypeScript 61 verbose Windows_NT 10.0.19045 62 verbose node v18.15.0 63 verbose npm v9.5.0 64 error code ENOENT 65 error syscall open 66 error path C:\Users\escud\OneDrive\Documentos\GitHub\TypeScript/package.json 67 error errno -4058 68 error enoent ENOENT: no such file or directory, open 'C:\Users\escud\OneDrive\Documentos\GitHub\TypeScript\package.json' 69 error enoent This is related to npm not being able to find a file. 69 error enoent 70 verbose exit -4058 71 timing npm Completed in 98ms 72 verbose code -4058 73 error A complete log of this run can be found in: 73 error C:\Users\escud\AppData\Local\npm-cache_logs\2023-03-10T21_19_27_767Z-debug-0.log