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

"react-native init project" works for other path, but causes trouble if previous troubled project path reused #14608

Closed
XDTZ opened this issue Jun 19, 2017 · 1 comment
Labels
Resolution: Locked This issue was locked by the bot.

Comments

@XDTZ
Copy link

XDTZ commented Jun 19, 2017

OS: Windows 10 developer preview
yarn@0.24.5
node@8.0.0
python@2.7.13
jdk1.8.0_131

Running on Genymotion emulator, uninstall apk before each runs.

Description

So I deleted an old project I screwed up because of messed up process of manual install of several packages(react-native-navigation, react-native-secure-key-store, react-native-cookies.) However, when I deleted the project folder and ran the command "$ react-native init project" , I still get the same error: "undefined is not a function (evaluating 'babelHelpers.asyncToGenerator.') ." BEFORE I make ANY change to the fresh new project. However,

Reproduction Steps

I can't provide the exact detailed steps, but I'm constantly getting the same error everytime I initialize a clean project using the same project name and path. I have no trouble using other names, or same project name but with different project path.
Suspecting it has something to do with android stuio/ sdk setting, I tried redownloading the sdk and reinstalling android studio(cleared the User.AndroidStudio2.3\system\caches folder before that, but not the config folder.) The problem persisted.

Additional Information

  • React Native version: 0.45.1
  • Platform: android
  • Development Operating System: Windows 10 developer preview
  • Build tools: android studio 2.3.3
@XDTZ XDTZ changed the title "react-native init project" works for other path, but incites lingering trouble if previous project path reused "react-native init project" works for other path, but causes trouble if previous troubled project path reused Jun 19, 2017
@XDTZ
Copy link
Author

XDTZ commented Jun 20, 2017

Turns out the problem is explained here: #4844 (comment). The comment on 2017 28 Apr worked for me.

@XDTZ XDTZ closed this as completed Jun 20, 2017
@facebook facebook locked as resolved and limited conversation to collaborators Jun 20, 2018
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Jul 18, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Resolution: Locked This issue was locked by the bot.
Projects
None yet
Development

No branches or pull requests

2 participants