Closed Foppp closed 2 years ago
Sure, I've added a PR in https://github.com/jspm/generator/pull/153 here.
Note that the best approach is to always ensure there is a package.json
file in the package with an "exports"
field to inform resolutions, as that will avoid waiting on unnecessary requests.
We are using Google Cloud Storage (GCS) for our packages. After we updated the
@jspm/generator
package to1.0.0-beta.32
(and above) we started receiving errors of 403 on packages that in previous versions worked. We believe it is because your code looks for 404 to fallback to other options, but GCS returns a 403 when a file is not found (and we cannot configure it to return 404). Previous versions took this into account, but it seems that a change in this version removed that consideration.Stack trace: