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
fail: my-app: can't change to service directory: No such file or directory
Which is the result of running sv create my-app manually.
Environment
npm: 11.2.0
Node.js: v23.9.0
OS Name: KISS
System Model Name: PC
npm config:
; node bin location = /usr/bin/node; node version = v23.9.0; npm local prefix = /home/eli; npm version = 11.2.0; cwd = /home/eli; HOME = /home/eli; Run `npm config ls -l` to show all defaults.
The text was updated successfully, but these errors were encountered:
Maybe this could be fixed by looking for executable files only in the path where npm installs them and when it comes to /usr/bin only allow execution of files installed by npm.
This would avoid execution of any executable file, which might also be a security issue. npx ls runs /usr/bin/ls, so it might also be able to run programs the user would not have permission to.
Is there an existing issue for this?
This issue exists in the latest npm version
Current Behavior
Running
npx sv create my-app
runs/usr/bin/sv
which is runit (service-manager)'s cli interface.Expected Behavior
I expected to download and run the sveltekit cli (https://npmjs.com/package/sv).
Steps To Reproduce
npx sv create my-app
Which is the result of running
sv create my-app
manually.Environment
The text was updated successfully, but these errors were encountered: