enzymejs / enzyme

JavaScript Testing utilities for React
https://enzymejs.github.io/enzyme/
MIT License
19.95k stars 2.01k forks source link

npm can't create-react-app #2469

Closed Jb-hub-sudo closed 3 years ago

Jb-hub-sudo commented 3 years ago

Hello Ma'am/ Sir I I'm just a beginner can you help me to fix this.

C:\Users\$^The_King^$>npx create-react-app myapp internal/modules/cjs/loader.js:883 throw err; ^

Error: Cannot find module 'C:\Users\$The_King$\AppData\Roaming\npm\node_modules\create-react-app\index.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: [] }

ljharb commented 3 years ago

Hi there - unfortunately this repo is for enzyme, a react testing framework, and not a general help channel. I'd suggest IRC, a public Slack community, or StackOverflow, for more general help.