Closed subwaystation closed 4 years ago
Thanks for the bug report - I've seen this issue before when access to github.com was not available from the computer running the yeoman command. Can you confirm if you can access github.com? If so, can you try again? It's possible github had a hiccup or something as well.
If it's still failing, try installing https://git-scm.com/downloads on your computer if it isn't already installed.
I am still seeing this error, I tried several times during the last 16 hours.
I already had git
installed:
git version 2.24.0
I think the problem is that git
tries to reach web-streams-polyfill
via ssh
instead of https
.
Indeed https
works:
[heumos@wave swat4hcls]$ /usr/bin/git ls-remote -h -t https://github.com/gwicke/web-streams-polyfill.git
77d2ed141fbc2d9170ebf9e2bcefb8b39a513be9 refs/heads/master
42c488428adea1dc0c0245014e4896ad456b1ded refs/heads/spec_performance_improvements
49c3c5363045edd18e186d7cd880917120395d47 refs/tags/v1.1.0
29c7d91e9f062426eb423bb34af5d4193f4183c1 refs/tags/v1.1.0^{}
For a temporary fix, try cracking open the package-lock.json file and updating the web-streams-polyfill
links from git:// to https://, then running npm install again.
I'll look for a more long-term fix, the issue is this isn't a dependency of ours directly, but rather dependency-of-a-dependency.
Unfortunately, there is not package-lock.json
created because npm
exists with an error code.
Any other suggestions?
@james-martin-jd isn't this essentially a duplicate of #281?
@michielbdejong that was my thought too, npm ls
on the package seems to imply it's still coming from Comunica, even in v2.8.0, and our code had already added the same webpack code as ldflex did:
// Disable shims for supported browser features
'web-streams-polyfill': 'window',
@subwaystation if you're interested, you could test the new RC version to see if that fixes your problem. You can install it with npm install -g @inrupt/generator-solid-react@rc
, which has made some changes to dependencies. I don't see the web-streams-polyfill locally in npm ls anymore on that RC.
Today we released a new version of the generator which no longer has a dependency on the package giving you problems. I tested locally and no longer see that package installed.
Now it works, thank!
Describe the bug I tried to generate the react app template via
yo
and also tried #193, but it failed:To Reproduce Steps to reproduce the behavior:
yo @inrupt/solid-react
Expected behavior Generate the template.
Desktop (please complete the following information):
Thanks!