-
Notifications
You must be signed in to change notification settings - Fork 120
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pinning not picking up dependency correctly #264
Comments
Got a similar same issue with I guess it is the trailing slash in
|
I have the same issue with
And I don't know how to force importmap to resolve directories. For example It's easy to just paste <script type="module">
import mermaid from 'https://cdn.jsdelivr.net/npm/mermaid@11/dist/mermaid.esm.min.mjs';
</script> right after
import ApplicationController from 'controllers/application_controller'
import mermaid from 'mermaid'
export default class extends ApplicationController {
async connect() {
super.connect();
await mermaid.run({ nodes: [this.element] });
}
}
I understand that it's a workaround and I'll have problems with updating mermaid later or if some library clashes occur. So I'm as well interested to know how to import this in a proper way. |
Running into a weird issue with a specific pin:
This has a few dependencies that get detailed in my importmap correctly, but I think there's primarily a problem with pixi.js, the larger of the dependencies: I end up getting a lot of errors in-browser:
The odd-named files stem from how pixi.js is handling its files- there's a lot of strings that get spit out for filenames. Accordingly, not able to load
@diffusionstudio/core
through it.Using the JSPM generator seems to work in that I can access the original diffusionstudio/core library through import maps, but it's not working in Railsland for some reason- any thoughts? (Apologies in advance if I'm holding it wrong; it's tricky to dig into third party dependencies sometimes!)
The text was updated successfully, but these errors were encountered: