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 thesrc/
directory - I had another
index.js
in mysrc/
directory. But my main script according to thepackage.json
wasindex.jsx
. And the function in the manifest file wasindex.run
It’s a silly mistake, but the error messages can be more specific.
Just posting here in case someone else does this.