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

Using github urls for testing a module from github errors #942

Open
pacostas opened this issue Feb 8, 2023 · 0 comments
Open

Using github urls for testing a module from github errors #942

pacostas opened this issue Feb 8, 2023 · 0 comments

Comments

@pacostas
Copy link
Contributor

pacostas commented Feb 8, 2023

  • Node Version: >= 16
  • CitGM Version: 8.1.3
  • Platform: fedora Linux 6.1.8-100.fc36.x86_64

CITGM errors on node >= 16 when using github urls such as the npx citgm https://github.com/caolan/async/archive/HEAD.tar.gz ( copied from the example https://github.com/nodejs/citgm#notes )

Error: sh: line 1: citgm: command not found

This happens due to, npm view does not work for node >= 16

const proc = spawn(
'npm',
['view', '--json', context.module.raw],
createOptions(context.path, context)
);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant