jspm / project

Roadmap and management repo for the jspm project
161 stars 8 forks source link

CDN build error for werift@0.14.5 #180

Closed p-fruck closed 2 years ago

p-fruck commented 2 years ago

The import fails with the following error:

error: Import 'https://dev.jspm.io/npm:werift@0.14.5/lib/rtp/src/rtcp/rtpfb/twcc.dew.js' failed: 500 Internal Server Error
    at https://dev.jspm.io/npm:werift@0.14.5/lib/rtp/src/index.dew.js:22:36

Response payload:

Unable to create dew wrapper for this file.
guybedford commented 2 years ago

@p-fruck https://dev.jspm.io is the old JSPM CDN and is no longer supported. It was actually going to be removed last year but it's still up to support legacy applications.

Instead use https://jspm.dev/werift@0.14.5 or alternatively the import maps CDN.

I did notice another weird issue in this package dependency - https://unpkg.com/binary-data@0.6.0/src/index.js.

It's doing things like require('lib/...') which isn't a valid pathing scheme so it seems like the package does not support standard modules semantics.