npm запуск REACT APP приводит к ошибке компиляции

Я использую 32-битную машину Windows7. Установил node12 v12.22.1, npm 6.14.12

  1. создано npx create-response-app, реагирующее
  2. cd в папку
  3. начало npm

приводит к открытию веб-браузера и отображению этого сообщения.

Failed to load plugin 'import' declared in 'package.json » eslint-config-react-app': Cannot find module 'is-symbol'
Requir

e stack:
    - C:\Users\Sujith\weblearn\js\webBootCamp\react\reacting\node_modules\es-to-primitive\es2015.js
    - C:\Users\Sujith\weblearn\js\webBootCamp\react\reacting\node_modules\es-abstract\2020\ToPrimitive.js
    - C:\Users\Sujith\weblearn\js\webBootCamp\react\reacting\node_modules\es-abstract\2020\ToNumber.js
    - C:\Users\Sujith\weblearn\js\webBootCamp\react\reacting\node_modules\es-abstract\2020\ToInteger.js
    - C:\Users\Sujith\weblearn\js\webBootCamp\react\reacting\node_modules\array-includes\implementation.js
    - C:\Users\Sujith\weblearn\js\webBootCamp\react\reacting\node_modules\array-includes\index.js
    - C:\Users\Sujith\weblearn\js\webBootCamp\react\reacting\node_modules\eslint-plugin-import\lib\ExportMap.js
    - C:\Users\Sujith\weblearn\js\webBootCamp\react\reacting\node_modules\eslint-plugin-import\lib\rules\named.js
    - C:\Users\Sujith\weblearn\js\webBootCamp\react\reacting\node_modules\eslint-plugin-import\lib\index.js
    - C:\Users\Sujith\weblearn\js\webBootCamp\react\reacting\node_modules\@eslint\eslintrc\lib\config-array-factory.js
    - C:\Users\Sujith\weblearn\js\webBootCamp\react\reacting\node_modules\@eslint\eslintrc\lib\index.js
    - C:\Users\Sujith\weblearn\js\webBootCamp\react\reacting\node_modules\eslint\lib\cli-engine\cli-engine.js
    - C:\Users\Sujith\weblearn\js\webBootCamp\react\reacting\node_modules\eslint\lib\cli-engine\index.js
    - C:\Users\Sujith\weblearn\js\webBootCamp\react\reacting\node_modules\eslint\lib\api.js
    - C:\Users\Sujith\weblearn\js\webBootCamp\react\reacting\node_modules\eslint-webpack-plugin\dist\getESLint.js
    - C:\Users\Sujith\weblearn\js\webBootCamp\react\reacting\node_modules\eslint-webpack-plugin\dist\linter.js
    - C:\Users\Sujith\weblearn\js\webBootCamp\react\reacting\node_modules\eslint-webpack-plugin\dist\index.js
    - C:\Users\Sujith\weblearn\js\webBootCamp\react\reacting\node_modules\eslint-webpack-plugin\dist\cjs.js
    - C:\Users\Sujith\weblearn\js\webBootCamp\react\reacting\node_modules\react-scripts\config\webpack.config.js
    - C:\Users\Sujith\weblearn\js\webBootCamp\react\reacting\node_modules\react-scripts\scripts\start.js

Пожалуйста, помогите мне решить проблему и запустить приложение.


person Sujith Kumar    schedule 11.05.2021    source источник
comment
Вы установили зависимости с npm install?   -  person Alejandro    schedule 11.05.2021
comment
похоже, что во время реакции npx create-response-app произошла ошибка. Другой хороший совет - запустите npm install или удалите node_modules / и запустите npm install. Если ни один из них не работает, попробуйте снова воссоздать приложение с помощью npx create-response-app.   -  person olore    schedule 12.05.2021


Ответы (1)


Попробуйте удалить node_modules и снова запустить npm install.

Дополнительная информация: https://stackoverflow.com/a/39960890/14029804

person Nvidia99    schedule 11.05.2021