Bundling failed: Module not found: Error: Can't resolve '@forge/resolver'

I’m trying to built Jira Panel add-on with UI Kit 2 but getting error
**Error:** Bundling failed: Module not found: Error: Can't resolve '@forge/resolver'

I tried running npm install @forge/resolver@latest but getting error

npm ERR! code ECONNRESET
npm ERR! errno ECONNRESET
npm ERR! network request to https://registry.npmjs.org/@types/scheduler/-/scheduler-0.16.7.tgz failed, reason: Client network socket disconnected before secure TLS connection was established
npm ERR! network This is a problem related to network connectivity.
npm ERR! network In most cases you are behind a proxy or have bad network settings.
npm ERR! network 
npm ERR! network If you are behind a proxy, please make sure that the
npm ERR! network 'proxy' config is set properly.  See: 'npm help config'

npm ERR! A complete log of this run can be found in:

BTW while creating the base app process hangs and never finishes

Hey @ViktorKuzmychov ,

Looking at the error message, it seems the problem is related to a network configuration issue - these can be caused by a number of things.

The above message suggests checking if you are behind a proxy and then ensuring the npm configuration is set correctly for your proxy. If you are behind a proxy, you may also need to configure Forge using a workaround described here [FRGE-517] - Ecosystem Jira

I hope this helps!

1 Like

Most probably you are correct
We had a network restructure recently

No worries @ViktorKuzmychov - I hope you were able to get this up and running!

1 Like