App does not work on copy version

Hi there,
I’m facing really weird issue. My app is using SDK 32, it works perfect on original folder, but when copying to a new folder, all code under promise do not work anymore.

An example:

async componentDidMount() {
   console.log(111);
   const { getHomeScreen } = this.props; // getHomeScreen promise function
   console.log(222)
  .....
}

It will show up 111, but all code under const { getHomeScreen } = this.props; // getHomeScreen promise function it does not work.

Is this cache issue or babel issue?

Thank in advanced!

Hey @nguyen_dttn,

I think clearing caches and re-installing node_modules here would be a good first step. Let me know if that doesn’t help.

Cheers,
Adam

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.