You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using rails-7 to install qr-code-styling with importmap. When it installs qr-code-styling it also installs https://ga.jspm.io/npm:@jspm/[email protected]/nodelibs/browser/buffer.js which contains the following:
import{d as r}from"../../_/C7GZrc4O.js";const a=r();a.Buffer;a.SlowBuffer;a.INSPECT_MAX_BYTES;a.kMaxLength;var f=a.Buffer;var e=a.INSPECT_MAX_BYTES;var t=a.kMaxLength;export{f as Buffer,e as INSPECT_MAX_BYTES,a as default,t as kMaxLength};
Obviously this causes an error as there is no such file ../../_/C7GZrc4O.js.
Is this a bug or is the 'buffer.js' somehow invalid?
The text was updated successfully, but these errors were encountered:
I think this might be related to the problem with the Rails implementation of downloading import maps, which doesn't support downloading packages as folders of modules, only as single files.
I think treating packages as folders to download as opposed to files using the folder API (https://jspm.org/cdn/api#download) remains the fix for Importmap Rails, which I have suggested before. Someone just needs to work on a PR for that.
Hi,
I am using rails-7 to install
qr-code-styling
with importmap. When it installsqr-code-styling
it also installshttps://ga.jspm.io/npm:@jspm/[email protected]/nodelibs/browser/buffer.js
which contains the following:Obviously this causes an error as there is no such file
../../_/C7GZrc4O.js
.Is this a bug or is the 'buffer.js' somehow invalid?
The text was updated successfully, but these errors were encountered: