-
-
Notifications
You must be signed in to change notification settings - Fork 761
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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't resolve core-js/modules/es7.symbol.async-iterator #129
Comments
forgot to install peer dependency i18next... |
Hi @andylacko, do you mean that you have to do something more than just |
I removed packages, then reinstalled and npm wrote few WARNs, and one of them was that I have to install i18next manually, installed and it was working, dunno, if something is with my package.json or it is mistake in dep config in this lib. If you want to check just reinstall packages and see if if it is specific to my setup, or not |
Got the same here today when installed the last version of |
So, I believe the @capellini Are you sure this is related to v0.23.0? What version are you upgrading from? Let's try to narrow the problem down to a specific release. |
Could be related to 9c96479. |
Indeed, however if I install with I think this only happens with |
That could make sense. I don't use I'm open to any solutions anyone might have. |
I ran across this comment in the babel docs for useBuiltins:
It looks like we may need to pin core-js@2. However, I can't reproduce this, and I use @andylacko , would you mind posting your |
after installing so the problem is, I have no yarn installed, in package.json, there are some yarn calls, I think, this is the issue |
{
"private": true,
"scripts": {
"dev": "node server.js",
"build": "NODE_ENV=production next build",
"start": "next start",
"lib": "gulp lib",
"analyze": "cross-env ANALYZE=1 next build",
"lint": "eslint actions/ components/ config/ helpers/ layouts/ pages/ reducers/ sagas/",
"lintfix": "eslint --fix actions/ components/ config/ helpers/ layouts/ pages/ reducers/ sagas/"
},
"dependencies": {
"adyen-cse-js": "git+https://github.com/Adyen/adyen-cse-web.git#v0.1.21",
"body-parser": "^1.18.2",
"compression": "^1.7.3",
"cookie-parser": "^1.4.3",
"core-js": "^2.6.3",
"dotenv": "^4.0.0",
"draft-js": "^0.10.5",
"draft-js-buttons": "^2.0.1",
"draft-js-export-html": "^1.2.0",
"draft-js-linkify-plugin": "^2.0.1",
"draft-js-plugins-editor": "^2.1.1",
"draft-js-static-toolbar-plugin": "^3.0.0",
"draftjs-to-html": "^0.8.4",
"es6-promise": "^4.2.5",
"express": "^4.16.4",
"graceful-fs": "^4.1.15",
"gulp": "^3.9.1",
"gulp-clean-css": "^3.10.0",
"gulp-concat": "^2.6.1",
"gulp-sass": "^3.1.0",
"humps": "^2.0.1",
"i18next": "^14.0.1",
"ismobilejs": "^0.4.1",
"isomorphic-fetch": "2.2.1",
"js-cookie": "^2.2.0",
"moment": "^2.22.2",
"next": "^7.0.2",
"next-i18next": "^0.23.0",
"next-redux-saga": "^3.0.0",
"next-redux-wrapper": "^2.0.0",
"next-routes": "^1.4.2",
"node-sass": "^4.9.3",
"normalize.css": "^8.0.1",
"query-string": "^6.2.0",
"react": "^16.5.2",
"react-addons-css-transition-group": "^15.6.2",
"react-custom-scrollbars": "^4.2.1",
"react-dates": "^18.2.2",
"react-dom": "^16.5.2",
"react-draft-wysiwyg": "^1.12.13",
"react-dropzone": "^7.0.1",
"react-google-invisible-recaptcha": "*",
"react-google-tag-manager": "^2.2.1",
"react-inlinesvg": "^0.8.2",
"react-redux": "^5.1.1",
"react-select": "^1.*",
"react-spinners": "^0.4.7",
"react-stickynode": "^2.1.0",
"react-tippy": "^1.2.3",
"react-toastify": "^3.*",
"react-vis": "^1.11.4",
"redux": "^4.0.1",
"redux-devtools-extension": "^2.13.5",
"redux-saga": "^0.15.4",
"request": "^2.88.0",
"semaphore-async-await": "^1.5.1",
"smoothscroll-polyfill": "^0.4.0",
"sweetalert2-react": "^0.5.0",
"url": "^0.11.0",
"winston": "^3.2.0"
},
"devDependencies": {
"babel-eslint": "^8.2.2",
"cross-env": "^5.1.4",
"eslint": "^5.12.0",
"eslint-config-airbnb": "^16.*",
"eslint-plugin-import": "^2.14.0",
"eslint-plugin-jsx-a11y": "^6.0.3",
"eslint-plugin-react": "^7.11.1",
"faker": "^4.1.0",
"webpack-bundle-analyzer": "^2.11.1"
}
}
|
@capellini Probably because you don't have a conflicting dep and @andylacko does. Thanks for finding that info in the docs. @andylacko I've added |
Yes, specifically We may be able to get away with just specifying @isaachinman - It may be better to:
This will put the onus of determining which version of Considering the way that |
I follow the bit about moving |
Ah, right. Then it wouldn't make sense to move it to a dev dependency. Would it then make sense to also have |
As far as I know, we don't depend on any specific version of The original problem in this issue is that |
No specific version, but we do have it as a dependency in our
In this case, since we evidently need
When I installed a dummy project with the same dependencies as @andylacko, The problem was that the version of Using @andylacko's deps (except for the However, if you used The different locations of import 'core-js/modules/es7.symbol.async-iterator';
// ... polyfilled code And so node uses the Playing around with |
Sure.
OK. I'm open to any sensible PRs on this, but we need to be very careful that we don't break installs outright. This package needs to work with the latest versions of |
I agree. I'd like to take a little more time to research @andylacko and @lucasfeliciano - the short-term fix is to install Incidentally @lucasfeliciano, would you mind posting the output of |
@capellini The short term fix was v0.23.1. |
@andylacko Can you please chime in and let us know if v0.23.1 fixed your issue? If so, we'll close this issue in favour of #136 as a longer-term solution. |
@isaachinman , it works 馃憣 |
Excellent. We'll now close this and track a peer-deps solution via #136. |
@isaachinman after Probably related to 4bf9d37 |
@lucasfeliciano Right. I need a way to reproduce. Instead of including |
Correct, installing via npm. |
@lucasfeliciano Is that just dev, or prod too? I installed |
Hello, I have seen that subpaths were merged, nice 馃憣 Although I see error :/
Can't resolve 'core-js/modules/es7.symbol.async-iterator' in '/Users/andy/Workspace/js/medialer/node_modules/next-i18next/dist/utils'
I am on node v11.8.0, it happened after I updated to v0.23.0
The text was updated successfully, but these errors were encountered: