In my project I use
import defaultExport from package-name/module-name.
When loading the project to Snack, I get a message suggesting that I add package-name/module-name as a dependency to my package.json, although it already includes a package-name dependency.
If I refuse, playing the app results with an exception.
If I agree, the app plays successfully.
As far as I understand, my import syntax and package.json syntax are valid. Moreover, adding a a package-name/module_name as a dependency in package.json is not valid.
What’s going in there?