Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

C:UsersuserDesktopPersonal-Portfolio>npm start                                                                                  

> portfolio@0.1.0 start
> react-scripts start

node:internal/fs/utils:322
    throw err;
    ^

Error: ENOENT: no such file or directory, stat '**/*.(ts|tsx)'
    at Object.statSync (node:fs:1127:3)
    at typeSync (C:UsersuserDesktopPersonal-Portfolio
ode_modulespath-typeindex.js:18:15)
    at C:UsersuserDesktopPersonal-Portfolio
ode_modulesdir-globindex.js:46:48
    at Array.map (<anonymous>)
    at module.exports.sync (C:UsersuserDesktopPersonal-Portfolio
ode_modulesdir-globindex.js:46:30)
    at globDirs (C:UsersuserDesktopPersonal-Portfolio
ode_modules
eact-dev-utils
ode_modulesglobbyindex.js:58:9)
    at getPattern (C:UsersuserDesktopPersonal-Portfolio
ode_modules
eact-dev-utils
ode_modulesglobbyindex.js:61:64)
    at C:UsersuserDesktopPersonal-Portfolio
ode_modules
eact-dev-utils
ode_modulesglobbyindex.js:107:19
    at Array.reduce (<anonymous>)
    at module.exports.sync (C:UsersuserDesktopPersonal-Portfolio
ode_modules
eact-dev-utils
ode_modulesglobbyindex.js:106:26) {
  errno: -4058,
  syscall: 'stat',
  code: 'ENOENT',
  path: '**/*.(ts|tsx)'
}
npm ERR! code 1
npm ERR! path C:UsersuserDesktopPersonal-Portfolio
npm ERR! command failed
npm ERR! command C:WINDOWSsystem32cmd.exe /d /s /c react-scripts start

npm ERR! A complete log of this run can be found in:
npm ERR!     C:UsersuserAppDataLocal
pm-cache\_logs2021-02-05T14_21_17_969Z-debug.log
question from:https://stackoverflow.com/questions/66065140/how-to-solve-this-errorfor-npm-start

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
253 views
Welcome To Ask or Share your Answers For Others

1 Answer

Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...