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

Cannot read property 'tapAsync' of undefined #1

Open
zmnv opened this issue Jul 11, 2019 · 2 comments
Open

Cannot read property 'tapAsync' of undefined #1

zmnv opened this issue Jul 11, 2019 · 2 comments

Comments

@zmnv
Copy link

zmnv commented Jul 11, 2019

/* config-overrides.js */
const rewireInlinSource = require('react-app-rewire-inline-source')

module.exports = function override (config, env) {
config = rewireInlinSource(config, env)
return config
}

npm run build

Cannot read property 'tapAsync' of undefined


  "scripts": {
    "start": "react-app-rewired start",
    "build": "react-app-rewired build",
  },
@marcopeg
Copy link
Owner

Hi, I guess this is due to the update to react-scripts 2.x, this extension was made for the previous version and I never really ported it to 2.x.

Feel free to open a PR with the fix and I'll merge it

@zmnv
Copy link
Author

zmnv commented Jul 12, 2019

sorry, I can't fix it...
I would not write this issue if I could...

thanks))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants