netguru / create-react-app

Create React apps with no build configuration.
MIT License
14 stars 6 forks source link

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

Open RusinovAnton opened 6 years ago

RusinovAnton commented 6 years ago

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://git@github.com/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 commented 6 years ago

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.