Skip to content
This repository has been archived by the owner on Oct 19, 2022. It is now read-only.

Compatibility issue with create-react-app@next #50

Open
RusinovAnton opened this issue Aug 28, 2018 · 1 comment
Open

Compatibility issue with create-react-app@next #50

RusinovAnton opened this issue Aug 28, 2018 · 1 comment
Labels

Comments

@RusinovAnton
Copy link

I've just tried to use this fork with the latest create-react-app installed and it failed fails to create a project with a following error:

➜ create-react-app --version
2.0.0-next.3e165448
➜ create-react-app test --scripts-version @netguru/react-scripts

Creating a new React app in /Users/rusinov/projects/nodus/test.

Installing packages. This might take a couple of minutes.
Installing react, react-dom, and react-scripts...

yarn add v1.9.4
info No lockfile found.
[1/4] 🔍  Resolving packages...
error Command failed.
Exit code: 128
Command: git
Arguments: ls-remote --tags --heads ssh://[email protected]/netguru/react-scripts.git
Directory: /Users/rusinov/projects/nodus/test
Output:
ERROR: Repository not found.
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.

Aborting installation.
  yarnpkg add --exact react react-dom react-scripts@netguru/react-scripts --cwd /Users/rusinov/projects/nodus/test has failed.

Deleting generated file... package.json
Deleting test/ from /Users/rusinov/projects/nodus
Done.
@papermana
Copy link

I will have to look at this when CRA 2 comes out officially. (I assume they'll have a migration guide.)

For now, if anybody else encounters this problem: the solution is to use npx/yarn create.

@papermana papermana added the bug label Sep 11, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants