Skip to content

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

Closed
@XDTZ

Description

@XDTZ

OS: Windows 10 developer preview
[email protected]
[email protected]
[email protected]
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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions