Closed guybedford closed 1 year ago
When this fails, ie when using the nodemodules provider without es-module-shims installed, it's not obvious what the fix is.
We should wrap the error with a new error that specifically throws: es-module-shims@1.0.0 not found under the current provider.
es-module-shims@1.0.0
In addition if the provider is "nodemodules", it should explicitly say: "Run npm install es-module-shims to install the polyfill".
When this fails, ie when using the nodemodules provider without es-module-shims installed, it's not obvious what the fix is.
We should wrap the error with a new error that specifically throws:
es-module-shims@1.0.0
not found under the current provider.In addition if the provider is "nodemodules", it should explicitly say: "Run npm install es-module-shims to install the polyfill".