Uh oh!
There was an error while loading. Please reload this page.
module: fix check for package.json at volume root - #33476
Conversation
nodejs-github-bot
commented
May 20, 2020
guybedford
left a comment
There was a problem hiding this comment.
Note we also have the esm resolver case to check too? Or is that already working?
That seems to already be working. I did the test described in #33438 and got that to pass. I also tested one level down, where an |
Uh oh!
There was an error while loading. Please reload this page.
e34cc24 to
036dfc1Comparenodejs-github-bot
commented
May 20, 2020
036dfc1 to
cd2dc86Comparenodejs-github-bot
commented
May 20, 2020
nodejs-github-bot
commented
May 21, 2020
GeoffreyBooth
commented
May 21, 2020
https://ci.nodejs.org/job/node-test-pull-request/31458/ is green, dunno what's going on with the GitHub Actions. |
cd2dc86 to
a94a5baCompareLanded in 51af89f. |
codebytere
commented
Jun 30, 2020
@guybedford this caused a CITGM failure on v14.x - see #34093 (comment) |
MylesBorins
commented
Jul 16, 2020
Just got bit by this in prepping v14.6.0 I think we should revert this change as it is causing broad failures in various modules |
This reverts commit 51af89f. This has needed to be backed out of both the 14.5.0 and 14.6.0 releases due to creating regressions across multiple projects including: * coffeescript * JSONStream * gulp * and more We should reopen a PR to figure out how to land this in a way that is non-breaking. Refs: nodejs#33476
This reverts commit 51af89f. This has needed to be backed out of both the 14.5.0 and 14.6.0 releases due to creating regressions across multiple projects including: * coffeescript * JSONStream * gulp * and more We should reopen a PR to figure out how to land this in a way that is non-breaking. Refs: #33476 PR-URL: #34403 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Guy Bedford <guybedford@gmail.com> Reviewed-By: Geoffrey Booth <webmaster@geoffreybooth.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
MylesBorins
commented
Jul 20, 2020
This change has been reverted on master. |
This reverts commit 51af89f. This has needed to be backed out of both the 14.5.0 and 14.6.0 releases due to creating regressions across multiple projects including: * coffeescript * JSONStream * gulp * and more We should reopen a PR to figure out how to land this in a way that is non-breaking. Refs: #33476 PR-URL: #34403 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Guy Bedford <guybedford@gmail.com> Reviewed-By: Geoffrey Booth <webmaster@geoffreybooth.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Fixes#33438. A
package.jsonat the volume root containing"type": "module"now behaves as documented. Thanks to @vitalets for pinpointing exactly where the problem was.No idea how to write a test for this, but I tested it manually and this fixes the issue.
Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passescc @nodejs/modules-active-members