Skip to content

Failing to run cra.sh script #763

Closed
Closed
@azakordonets

Description

@azakordonets

If you are reporting a bug, please fill in below. Otherwise feel to remove this template entirely.

Description

I'm currently working on issue #750 and to be able to test my changes, i decided that i could run rca.sh script. But when i run it, it fails on line 98 at the
node packages/create-react-app/index.js --scripts-version=$scripts_path "$@" command . I'm trying to figure out what am i missing, but no luck so far. Here's what i see in log :

++ npm pack
+ scripts_path=/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/tmp.Z0Iimlvq/packages/react-scripts/react-scripts-0.6.0.tgz
+ cd /Users/biercoff/Work/GitHubProjects/create-react-app
+ node packages/create-react-app/index.js --scripts-version=/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/tmp.Z0Iimlvq/packages/react-scripts/react-scripts-0.6.0.tgz
Usage: create-react-app <project-directory> [--verbose]
++ set +x
cra.sh: ERROR! An error was encountered executing line 99.
Exiting with error.

Expected behavior

I expect to have a new dummy create-react-app that i could use for my tests.

Actual behavior

I'm getting an error message and i don't find newly created app build from my changed source code

Environment

Run these commands in the project folder and fill in their results:

  1. npm ls react-scripts (if you haven’t ejected):
  2. node -v: v6.4.0
  3. npm -v:3.10.3

Then, specify:

  1. Operating system: Mac OS Sierra
  2. Browser and version: Doesn't matter. The problem is with the script

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions