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

Test suite failing on Node.js v14.6.0 #128

Closed
MylesBorins opened this issue Jul 21, 2020 · 8 comments
Closed

Test suite failing on Node.js v14.6.0 #128

MylesBorins opened this issue Jul 21, 2020 · 8 comments
Labels
support Questions, discussions, and general support

Comments

@MylesBorins
Copy link

This is due to new global variables that are unknown to lab

I've opened a PR to fix this -> hapijs/lab#981

Until this is fixed we are skipping shot on v14.x in CITGM nodejs/citgm#813

Once the upstream lab fix has landed and shot has been fixed we can revert that change on CITGM

@MylesBorins MylesBorins added the support Questions, discussions, and general support label Jul 21, 2020
@cjihrig
Copy link
Contributor

cjihrig commented Jul 22, 2020

@hapi/lab@22.0.5 was published with hapijs/lab@0a5adf0. The shot CI is now passing on Node v14.6.0.

@cjihrig cjihrig closed this as completed Jul 22, 2020
@MylesBorins
Copy link
Author

MylesBorins commented Jul 22, 2020 via email

@MylesBorins
Copy link
Author

Hey @cjihrig shot is still failing in CI because the lab update hasn't landed in a release (at least that is my assumption). Are you planning a release soon or should we remove shot from CITGM for the time being?

@cjihrig
Copy link
Contributor

cjihrig commented Jul 28, 2020

Any chance you're running into caching issues? The lab change was published as 22.0.5, and shot relies on 22.x.x. Can you verify that CITGM is testing against lab 22.0.5?

@MylesBorins
Copy link
Author

Unsure if it is a caching thing... I just reproduced locally with npx citgm -v verbose shot

I was also able to reproduce in a clone of the shot repository with a fresh npm install

@cjihrig
Copy link
Contributor

cjihrig commented Jul 28, 2020

npx citgm -v verbose shot doesn't work for me locally. I get this warning:

primordials is not defined
Warn   |update-available    |v7.1.1 (current: v0.1.0)
       |                    |npm install -g citgm   

I was also able to reproduce in a clone of the shot repository with a fresh npm install

I did a fresh clone with a fresh npm install, and it worked fine for me. Can you run npm ls @hapi/lab:

$ npm ls @hapi/lab
@hapi/shot@5.0.0 /private/tmp/shot
└── @hapi/lab@22.0.5 

@MylesBorins
Copy link
Author

MylesBorins commented Jul 28, 2020 via email

@cjihrig
Copy link
Contributor

cjihrig commented Jul 28, 2020

Cool. FWIW, we are due to publish a new major version of lab and a new patch version of shot. Those should be out tonight or tomorrow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
support Questions, discussions, and general support
Projects
None yet
Development

No branches or pull requests

2 participants