Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ionic serve / build fails with latest @typescript-eslint/eslint-plugin@2.10.0 #4233

Closed
davidtiede opened this issue Dec 2, 2019 · 1 comment
Labels

Comments

@davidtiede
Copy link

The latest version of @typescript-eslint/eslint-plugin@2.10.0. Explicitly specifying 2.9.0 as a dev dependency is a temporary work around..

Steps to recreate:

ionic start myApp --type=react
ionic serve

Output:

react-scripts start
[react-scripts] Starting the development server...
[react-scripts]
[react-scripts] Failed to compile.
[react-scripts]
[react-scripts] ./node_modules/react-dev-utils/webpackHotDevClient.js
[react-scripts] Error: [BABEL] ./node_modules/react-dev-utils/webpackHotDevClient.js: Cannot find module './src/data'
[react-scripts] Require stack:
[react-scripts] - ./node_modules/core-js-compat/helpers.js
[react-scripts] - ./node_modules/core-js-compat/get-modules-list-for-target-version.js
[react-scripts] - ./node_modules/babel-preset-react-app/node_modules/@babel/preset-env/lib/polyfills/corejs3/entry-plugin.js
[react-scripts] - ./node_modules/babel-preset-react-app/node_modules/@babel/preset-env/lib/index.js
[react-scripts] - ./node_modules/babel-preset-react-app/dependencies.js
[react-scripts] - ./node_modules/@babel/core/lib/config/files/plugins.js
[react-scripts] - ./node_modules/@babel/core/lib/config/files/index.js
[react-scripts] - ./node_modules/@babel/core/lib/index.js
[react-scripts] - ./node_modules/babel-loader/lib/index.js
[react-scripts] - ./node_modules/loader-runner/lib/loadLoader.js
[react-scripts] - ./node_modules/loader-runner/lib/LoaderRunner.js
[react-scripts] - ./node_modules/webpack/lib/NormalModule.js
[react-scripts] - ./node_modules/webpack/lib/NormalModuleFactory.js
[react-scripts] - ./node_modules/webpack/lib/Compiler.js
[react-scripts] - ./node_modules/webpack/lib/webpack.js
[react-scripts] - ./node_modules/react-scripts/scripts/start.js (While processing: "./node_modules/babel-preset-react-app/dependencies.js$0$9")

@ionitron-bot ionitron-bot bot added the triage label Dec 2, 2019
@imhoffd
Copy link
Contributor

imhoffd commented Dec 2, 2019

I believe this is the core-js issue we were seeing in React starters: zloirock/core-js#712

@imhoffd imhoffd closed this as completed Dec 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants