-
Notifications
You must be signed in to change notification settings - Fork 16
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
Allow any version post 4.x to be used #15
Conversation
We indirectly depend on anodynos/upath via webpack. upath specifically states it does not support node > 9. Stable should be added back in as soon as our dependency graph has updated to address this – hopefully it will not be too long. See anodynos/upath#14 See anodynos/upath#15
We indirectly depend on anodynos/upath via webpack. upath specifically states it does not support node > 9. Stable should be added back in as soon as our dependency graph has updated to address this – hopefully it will not be too long. See anodynos/upath#14 See anodynos/upath#15
Maybe worth adding Node 10 and/or "stable" to the test matrix as well? |
Nice catch @mAAdhaTTah! I have added |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
Use a forked upath until [1] is resolved following the method described at [2] [1] anodynos/upath#15 [2] https://stackoverflow.com/a/41082766/434243
Use a forked upath until [1] is resolved following the method described at [2] [1] anodynos/upath#15 [2] https://stackoverflow.com/a/41082766/434243
cc @anodynos we need this to be merged asap. |
Please stop approving this PR, it triggers unnecessary email notification to all subscribed users and adds nothing. (and users read this notification in hope that this PR is finally merged) |
Hello everyone, sorry for the wait - I will merge this soon and publish! |
Fixes issue with webpack 2.7.0 -> upath 1.0.5 dependency, which incorrectly specifies compatibility with node <= 9 Issue described here: anodynos/upath#15
Fixes issue with webpack 2.7.0 -> upath 1.0.5 dependency, which incorrectly specifies compatibility with node <= 9 Issue described here: anodynos/upath#15
Fixes issue with webpack 2.7.0 -> upath 1.0.5 dependency, which incorrectly specifies compatibility with node <= 9 Issue described here: anodynos/upath#15
upath 1.0.4 doesn't support node 10, and this was fixed in later versions ( anodynos/upath#15 ), but Babel's yarn.lock pinned the version to 1.0.4. Normal Babel builds use `yarn --ignore-engines` to work around this, but I have a script that clones and builds a number of repositories and assumes that all of them can run `yarn` after cloning without error. Upgrading upath fixes plain `yarn` on node 10 so I don't need to add a special case when cloning/building Babel. As described in yarnpkg/yarn#4986 (comment) , I did this by deleting the yarn.lock entry and re-running `yarn`. (It's a little tricky to upgrade since it's an indirect dependency.) I believe this means that it should be safe to remove `--ignore-engines` from travis.yml and Makefile, but I left those alone since arguably `--ignore-engines` is nice in that it protects against future similar issues.
upath 1.0.4 doesn't support node 10, and this was fixed in later versions ( anodynos/upath#15 ), but Babel's yarn.lock pinned the version to 1.0.4. Normal Babel builds use `yarn --ignore-engines` to work around this, but I have a script that clones and builds a number of repositories (including Babel) and assumes that all of them can run `yarn` after cloning without error. Upgrading upath fixes plain `yarn` on node 10 so I don't need to add a special case when cloning/building Babel. As described in yarnpkg/yarn#4986 (comment) , I did this by deleting the yarn.lock entry and re-running `yarn`. (It's a little tricky to upgrade since it's an indirect dependency.) I believe this means that it should be safe to remove `--ignore-engines` from travis.yml and Makefile, but I left those alone since arguably `--ignore-engines` is nice in that it protects against future similar issues.
upath 1.0.4 doesn't support node 10, and this was fixed in later versions ( anodynos/upath#15 )
error: error upath@1.0.2: The engine "node" is incompatible with this module. Expected version ">=4 <=9". upath is required via: $ yarn why upath gulp#glob-watcher#chokidar#upath which had an "engines" entry in its package.json which prevented it working on node v10 1) the issue has been fixed in upath: anodynos/upath#15 2) chokidar has been updated to point to the updated upath: paulmillr/chokidar#717 3) glob-watcher has not been updated to point to the updated chokidar: gulpjs/glob-watcher#37
Fixes issue with webpack 2.7.0 -> upath 1.0.5 dependency, which incorrectly specifies compatibility with node <= 9 Issue described here: anodynos/upath#15
With Node.js 10 released today, and with
@vue/cli
making use of this library, it is not possible to set the Vue application as 10 is not in the range=>4 <=9
. This PR tweaks it so any version above Node.js 4 is supported.Probably fixes #14.
Edit:
After doing some research, it seems that the root of the issue is in
webpack
(which vue and many other frameworks use, and also has millions of downloads a week) indirectly depends on this package, did some research and:So anyone using yarn in Node.js 10 and any of webpack's +8.6k dependents would encounter this issue.