problem with package.json

I'm having the following problem creating an iTwin viewer: When following the tutorial, when executing the 'npm start' command, this message always appears. the system cannot find the 'package.json' file. But this file is there instead.

Em anexo o arquivo '.log'

0 verbose cli C:\Program Files\nodejs\node.exe C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js
1 info using npm@8.11.0
2 info using node@v16.16.0
3 timing npm:load:whichnode Completed in 0ms
4 timing config:load:defaults Completed in 1ms
5 timing config:load:file:C:\Program Files\nodejs\node_modules\npm\npmrc Completed in 2ms
6 timing config:load:builtin Completed in 2ms
7 timing config:load:cli Completed in 2ms
8 timing config:load:env Completed in 0ms
9 timing config:load:file:C:\Users\Davi Pessoa Ferraz\Visualizadores\.npmrc Completed in 0ms
10 timing config:load:project Completed in 4ms
11 timing config:load:file:C:\Users\Davi Pessoa Ferraz\.npmrc Completed in 0ms
12 timing config:load:user Completed in 0ms
13 timing config:load:file:C:\Users\Davi Pessoa Ferraz\AppData\Roaming\npm\etc\npmrc Completed in 0ms
14 timing config:load:global Completed in 0ms
15 timing config:load:validate Completed in 1ms
16 timing config:load:credentials Completed in 0ms
17 timing config:load:setEnvs Completed in 1ms
18 timing config:load Completed in 11ms
19 timing npm:load:configload Completed in 12ms
20 timing npm:load:mkdirpcache Completed in 1ms
21 timing npm:load:mkdirplogs Completed in 0ms
22 verbose title npm start
23 verbose argv "start"
24 timing npm:load:setTitle Completed in 0ms
25 timing config:load:flatten Completed in 3ms
26 timing npm:load:display Completed in 4ms
27 verbose logfile logs-max:10 dir:C:\Users\Davi Pessoa Ferraz\AppData\Local\npm-cache\_logs
28 verbose logfile C:\Users\Davi Pessoa Ferraz\AppData\Local\npm-cache\_logs\2022-07-18T14_28_48_614Z-debug-0.log
29 timing npm:load:logFile Completed in 6ms
30 timing npm:load:timers Completed in 0ms
31 timing npm:load:configScope Completed in 0ms
32 timing npm:load Completed in 24ms
33 silly logfile start cleaning logs, removing 2 files
34 timing command:run-script Completed in 3ms
35 timing command:start Completed in 9ms
36 verbose stack Error: ENOENT: no such file or directory, open 'C:\Users\Davi Pessoa Ferraz\Visualizadores\package.json'
37 verbose cwd C:\Users\Davi Pessoa Ferraz\Visualizadores
38 verbose Windows_NT 10.0.19044
39 verbose node v16.16.0
40 verbose npm  v8.11.0
41 error code ENOENT
42 error syscall open
43 error path C:\Users\Davi Pessoa Ferraz\Visualizadores/package.json
44 error errno -4058
45 error enoent ENOENT: no such file or directory, open 'C:\Users\Davi Pessoa Ferraz\Visualizadores\package.json'
46 error enoent This is related to npm not being able to find a file.
46 error enoent
47 verbose exit -4058
48 timing npm Completed in 49ms
49 verbose code -4058
50 error A complete log of this run can be found in:
50 error     C:\Users\Davi Pessoa Ferraz\AppData\Local\npm-cache\_logs\2022-07-18T14_28_48_614Z-debug-0.log

Can anyone help me with this?

Parents Reply Children
No Data