-
Notifications
You must be signed in to change notification settings - Fork 1
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
ERROR with pnpm dlx command #9
Comments
Same with npx and yarn dlx $ npx create-sveltex
Need to install the following packages:
create-sveltex@0.1.1
Ok to proceed? (y)
npm warn deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
npm warn deprecated rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported
npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported
[ERROR] String.prototype.split called on null or undefined |
Thanks for the reports! I'll try to further diagnose the issue and resolve it this weekend. |
This issue seems to be a consequence of plopjs/plop#445. As a temporary workaround, as suggested in that issue's comments, I'm hard-coding the 9.3.5 version of Thanks again for your reports! |
I tested this now and it seems the workaround only works with |
This commit tries to further hard-code the inquirer version in package.json by falsely listing it as a direct dependency (instead of as a peer dependency), in the hopes that this may fix the `pnpm dlx create-sveltex` and `bunx create-sveltex` commands. This commit also bumps the create-sveltex version number and updates the changelog to prepare for publication. Related issue: #9.
@slozano54 Thanks for the kind words! I actually just published another update that seems to fix the issue for |
@nvlang Everything works correctly with the command |
Hi !
Thanks for your job.
I actually have difficulty to run the command
pnpm dlx create-sveltex
I get an error String.prototype.split called on null or undefined as yo can see on the screenshot.
The text was updated successfully, but these errors were encountered: