Unclear Forge linter warning

Morning @tbinna

Thanks for reporting this issue.

I was able to reproduce the error on your project branch by following your steps.

From what I can see, I believe the issue in the CLI linter itself, as it cannot resolve the exports of the webpacked file output (coming from dist/apps/forge-app/src/index.js).

Note that as mentioned in the warning, the linter command still performs the other actions (checks against code, manifest content…). However, one specific linter cannot run properly, and this is a bug on our side.

I will create a ticket to follow this up with my team.

In the meantime, you can still run forge lint or forge deploy and it will run properly, just showing you this warning (which you can ignore).

Hope this helps.

Thanks again,
Xavier

2 Likes