knowbody / crra

Create Reason React App

Home Page:https://crra.now.sh

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Make `yarn create` work

knowbody opened this issue · comments

Currently it throws an error when trying to run yarn create reason-react-app MyApp and then yarn dev:

image

Looks like it's looking for copy.js which isn't there. Look here

I get the same error.

yeah I tried adding it back and I get:
permisson denied

image

Where is the copy.jsfile? Shouldn't it be in the repo?

just added it back, I think it got removed during the transition to CLI

It still throws permission denied, check this tweet from Jared: https://twitter.com/jaredpalmer/status/871731955225808896

I just don't know how to add it

Could it be as simple as running chmod u+x copy.js before you publish to npm?

Also its seems to be complaining about no webpack.config.js

ok, going to add it now... thank you

@jamesmcallister I did the chmod but it seems like the issue stays there still, also added the webpack config back

@msenevir any idea how to fix this? you worked on the testing so maybe you would be able to help with this one?

can take a look. when i originally committed the script I had run chmod a+x scripts/copy.js

@msenevir would be awesome! I tried running it, so did @jaredpalmer in #11 but still getting permission denied

fixed by #14