systemjs / systemjs

Dynamic ES module loader

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unable to resolve bare specifier '@ambevtech/wms-push-notification-react-client'

AlexandreAkao opened this issue · comments

Hello guys
I'm facing this error:
image

But @ambevtech/wms-push-notification-react-client is only used in one micro frontend, I don't wanna share it with other micro frontends.

I know that probably will solve if I add this @ambevtech/wms-push-notification-react-client on import-map, but it is a private dependency that requires authentication.

This is my import-map:
image

Does anyone know how to solve this?

Thanks for the help :)

My guess is that you're building @ambevtech/wms-push-notification-react-client with webpack and that you have declared every dependency starting with @ambevtech/ as external with a regex in the external property of your webpack-config.js which means that they are expected to be in the import-map.

Anyhow .. this is not an issue with SystemJS and you're probably better off asking for help in the single-spa community.

My guess is that you're building @ambevtech/wms-push-notification-react-client with webpack and that you have declared every dependency starting with @ambevtech/ as external with a regex in the external property of your webpack-config.js which means that they are expected to be in the import-map.

Anyhow .. this is not an issue with SystemJS and you're probably better off asking for help in the single-spa community.

Yeah you are right, tks for your support, helps a lot.