-
Notifications
You must be signed in to change notification settings - Fork 9
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
Package generator is broken for js option #156
Comments
Thanks for the report! I cannot reproduce it but I'm on MacOS. And it looks like the OP shows Windows. @pomek could your team take a look?
This doesn't matter, it determines what will be generated to your
Not sure what you mean here, please elaborate :) |
After removing the following lines, it works as expected.
|
Fix (generator): Removed the current working directory from a package manager command when installing dependencies. A new process is already spawned in the directory. Hence, there is no need to duplicate the path. Thanks to that, a space in the path will not crash the generator while installing dependencies. Closes #156.
📝 Provide detailed reproduction steps (if any)
I tried to generate a package with --js as option, always results in an error after going through several phases.
Steps to reproduce:
npx ckeditor5-package-generator@latest @somerandomname/ckeditor5-some-random-name --use-yarn
js
as languageeditorial note:
✔️ Expected result
Not sure, but maybe not an error?
❌ Actual result
An error that's confusing, did it work, did it not, it generated files, what am I supposed to do with them, yeet them and delete them, or treasure them ...?
❓ Possible solution
not sure man, haven't looked at the code of the package generator
If you'd like to see this fixed sooner, add a 👍 reaction to this post.
The text was updated successfully, but these errors were encountered: