Skip to content
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

[vite] cannot use addons installed via github url #2174

Open
patricklx opened this issue Nov 15, 2024 · 0 comments
Open

[vite] cannot use addons installed via github url #2174

patricklx opened this issue Nov 15, 2024 · 0 comments

Comments

@patricklx
Copy link
Contributor

patricklx commented Nov 15, 2024

e.g. the path
/home/runner/work/ember-native/ember-native/node_modules/.pnpm/@universal-ember+kolay-ui@[email protected]+patricklx+kolay.git#8a207afcf7ef25d131b6_kexwnap42kg2se6xycpbfqtkhe/node_modules/@universal-ember/kolay-ui/-embroider-implicit-modules.js

gets shortened to /home/runner/work/ember-native/ember-native/node_modules/.pnpm/@universal-ember+kolay-ui@[email protected]+patricklx+kolay.git

because cleanUrl splits at #

export function cleanUrl(url: string): string {

which then results in the error
Could not load embroider_virtual:/home/runner/work/ember-native/ember-native/node_modules/.pnpm/@universal-ember+kolay-ui@[email protected]+patricklx+kolay.git#8a207afcf7ef25d131b6_kexwnap42kg2se6xycpbfqtkhe/node_modules/@universal-ember/kolay-ui/-embroider-implicit-modules.js: not an @embroider/core virtual file: /home/runner/work/ember-native/ember-native/node_modules/.pnpm/@universal-ember+kolay-ui@[email protected]+patricklx+kolay.git

@patricklx patricklx changed the title [main] cannot use addons installed via github url [vite] cannot use addons installed via github url Nov 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant