我正在使用create-react-app (React v16.12.0)。当我运行的时候,我得到了下面的错误在mac上。install it manually: your package manager does it automatically.[1]
[1] /Users/abz/node_modules/
我在Github上派生了一个应用程序,并尝试在我的本地计算机上运行它。但是,正如您所看到的,文件夹结构没有节点模块。这是否意味着我必须在我的计算机上全局安装create-react-app才能在本地运行它?当我运行npm start时,我收到错误消息"react-scripts is not found“和"typescript is not installed”。
我在一台新计算机上尝试运行npx create-react-app myapp,但收到此错误。以前从来没有过这个,看起来它缺少es-lint包?$ npx create-react-app my-app
Creating a new React app in C:\Users\Name\notarget No matching version found for @typescript-eslint/e
我有一个在本地主机上完美运行的create-react-app,然而,当我尝试部署到cPanel (我想部署到子目录中,因为主域已经有其他内容)时,只有首页工作正常,所有其他链接都被破坏。在我的本地主机上一切正常,直到我运行"npm run build“并上传到cPanel子目录。它在"http://mydomain/start/“中运行良好,但在"