简体   繁体   中英

Spawn ENOENT error when using npx create-react-app

I'm getting a strange and rather uninformative error after attempting to create a new react app using 'npx create-react-app'.

$ npx create-react-app client
spawn C:\Program Files\MongoDB\Server\4.0\bin ENOENT

For some reason it's pointing to my mongoDB folder, this only started after I installed mongoDB on my laptop for the first time. I have no idea how to replicate this error on another system.

I've tried uninstalling mongoDB as well, but I still get the same error.

尝试清除位于appdata文件夹中的npm cache .. cache。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM