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

CI workflow is failing for node 14 on windows-latest #4425

Closed
2 tasks done
driimus opened this issue Nov 15, 2022 · 8 comments
Closed
2 tasks done

CI workflow is failing for node 14 on windows-latest #4425

driimus opened this issue Nov 15, 2022 · 8 comments
Labels
dependencies Pull requests that update a dependency file

Comments

@driimus
Copy link
Contributor

driimus commented Nov 15, 2022

Prerequisites

  • I have written a descriptive issue title
  • I have searched existing issues to ensure the issue has not already been raised

Issue

Only raising the issue for visibility. Feel free to close if there's already a planned resolution.

This workflow (or any others that use npm@<7 and the latest tap version) will fail for node 14 on windows-latest.
Context and workarounds: fastify/fastify-type-provider-typebox#43 (comment)

You can see newer PRs experience the failure (e.g. #4415, #4421)

@jsumners
Copy link
Member

In each instance where that workflow uses a specific Node.js version it is lts/*, except for line:

node-version: [14, 16, 18, 19]

None of those versions ship with npm@9.

@climba03003
Copy link
Member

More like an upstream issue.
fastify > tap > @babel/generator > @jridgewell/gen-mapping

@climba03003 climba03003 added the dependencies Pull requests that update a dependency file label Nov 16, 2022
@Uzlopak
Copy link
Contributor

Uzlopak commented Nov 16, 2022

I actually dont understand why this really happens because @isaacs puts all the dependencies also in the final tar file which gets pushed to npm.

@climba03003
Copy link
Member

climba03003 commented Nov 16, 2022

Is it possible to push the node_modules to npm.js?
This folder should be ignored in any configuration.

Interesting, it is packed inside.

@Uzlopak
Copy link
Contributor

Uzlopak commented Nov 16, 2022

This happens because of bundleDependencies field in the package.json.

@climba03003
Copy link
Member

I see the old issue tapjs/tapjs#620

@Uzlopak
Copy link
Contributor

Uzlopak commented Nov 16, 2022

Maybe the bundled dependencies need to be part of devDependencies to avoid issues, when npm tries to overwrite them in the installation phase of the dependencies?

@Uzlopak
Copy link
Contributor

Uzlopak commented Nov 16, 2022

Isaacs released new tap version..we have to trigger the workflows again

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

No branches or pull requests

4 participants