gpt4 book ai didi

reactjs - 找不到所需的文件。名称 : index. js

转载 作者:行者123 更新时间:2023-12-04 14:13:23 24 4
gpt4 key购买 nike

每当我启动 npm 时,它都会显示以下错误,我还使用此语句全局安装 npm(npm install -g create-react-app)我做了两个练习项目,但这些是第二个项目,在第一个项目中, 我也在全局安装 npm

PS E:\AvatarDemo\AvatarDemoAwesome> cd avatarawesome
PS E:\AvatarDemo\AvatarDemoAwesome\avatarawesome> npm start

> avatarawesome@0.1.0 start E:\AvatarDemo\AvatarDemoAwesome\avatarawesome
> react-scripts start

Could not find a required file.
Name: index.js
Searched in: E:\AvatarDemo\AvatarDemoAwesome\avatarawesome\src
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! avatarawesome@0.1.0 start: `react-scripts start`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the avatarawesome@0.1.0 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

最佳答案

也许 index.js 不存在,正确检查你的文件夹

关于reactjs - 找不到所需的文件。名称 : index. js,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/62554480/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com