help me plz !!!!!!!!!!!!!!

Node.js

JavaScript

Visual Studio Code

01/03/2021

fui Testar para ver se meu node estava funcionando no VS, so que não importa o que eu mude ou faça sempre da esse erro :

Error: Cannot find module ''C:\Users\mathe\oi.js''
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:880:15)
at Function.Module._load (internal/modules/cjs/loader.js:725:27)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:72:12)
at internal/main/run_main_module.js:17:47 {
code: ''MODULE_NOT_FOUND'',
requireStack: []

Já tentei muitas coisas, entrei em vários fóruns nenhum resolveu o problema se alguém puder da um help agradeço.
Obs: Nem se aqui e para postar algo assim caso n seja FOI MAL
Matheus

Matheus

Curtidas 0

Respostas

Vinicius Araujo

Vinicius Araujo

01/03/2021

vc ta usando npm start ?
GOSTEI 0
Matheus

Matheus

01/03/2021

cabei de usar e deu esse erro:
npm ERR! code ENOENT
npm ERR! syscall open
npm ERR! path C:\\\\Users\\\\mathe\\\\package.json
npm ERR! errno -4058
npm ERR! enoent ENOENT: no such file or directory, open ''C:\\\\Users\\\\mathe\\\\package.json''
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent

npm ERR! A complete log of this run can be found in:
npm ERR! C:\\\\Users\\\\mathe\\\\AppData\\\\Roaming\\\\npm-cache\\\\_logs\\\\2021-03-02T21_33_38_406Z-debug.log
GOSTEI 0
Matheus

Matheus

01/03/2021

vc ta usando npm start ?
usei e deu o erro que botei
GOSTEI 0
Matheus

Matheus

01/03/2021

vc ta usando npm start ?
cabei de usar e deu esse erro:
npm ERR! code ENOENT
npm ERR! syscall open
npm ERR! path C:\\\\\\\\Users\\\\\\\\mathe\\\\\\\\package.json
npm ERR! errno -4058
npm ERR! enoent ENOENT: no such file or directory, open ''C:\\\\\\\\Users\\\\\\\\mathe\\\\\\\\package.json''
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent

npm ERR! A complete log of this run can be found in:
npm ERR! C:\\\\\\\\Users\\\\\\\\mathe\\\\\\\\AppData\\\\\\\\Roaming\\\\\\\\npm-cache\\\\\\\\_logs\\\\\\\\2021-03-02T21_33_38_406Z-debug.log
GOSTEI 0
POSTAR