Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running the test script causes this error #1039

Closed
martinduo opened this issue Nov 14, 2016 · 3 comments
Closed

Running the test script causes this error #1039

martinduo opened this issue Nov 14, 2016 · 3 comments

Comments

@martinduo
Copy link

This happens when I run "yarn test" in my normal Windows folder structure with my create-react-app created project under my DropBox folder:

ReferenceError: [BABEL] C:\Users\Bruce\Dropbox\Projects Learning\Blue-Duck-Beta\src\containers\Appnav\tests\navbar.test.js: Using removed Babel 5 option: C:\Users\Bruce\Dropbox.babelrc.stage - Check out the corresponding stage-x presets http://babeljs.io/docs/plugins/#presets

If I move the create-react-app created project outside of the DropBox folder, the error goes away.

Googling this error shows many people asking about this problem, but there is no answer that I can apply to the hidden build created by your program (BTW, I'm loving it after trying many boilerplate frameworks). Is there anything you can help with? I would like to have my project backed up on DropBox.

@nhajidin
Copy link
Contributor

This might be related to #949.

I have a PR to fix this: #1017.

@gaearon
Copy link
Contributor

gaearon commented Nov 15, 2016

Please delete C:\Users\Bruce\Dropbox\.babelrc (the file might be hidden).
This Babel config messes up your settings.
Indeed this will be solved in a future version, but it's still going to bite you in other projects.

@gaearon gaearon closed this as completed Nov 15, 2016
@martinduo
Copy link
Author

On Mon, Nov 14, 2016 at 7:16 PM, Dan Abramov [email protected]
wrote:

delete C:\Users\Bruce\Dropbox.babelrc.

I did that. It fixed my problem. Thanks for the reply.

@lock lock bot locked and limited conversation to collaborators Jan 22, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants