"Unexpected error in app"

I was getting started with Forge and I was breaking my head over this error.
I realised after an hour that

  • my index.jsx was not in the src/ directory :cry:
  • I had another index.js in my src/ directory. But my main script according to the package.json was index.jsx. And the function in the manifest file was index.run

It’s a silly mistake, but the error messages can be more specific.
Just posting here in case someone else does this.

1 Like


I’d like to know more about your experiencing with development here if you wouldn’t mind.

Does the same error show up when using Forge Tunnel?

If so do the tunnel logs provide additional information that could have helped you in this case?