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
Describe the bug
When running npm ini oclif on a folder that has a parent with a space in it, the chmod fails.
To Reproduce
Steps to reproduce the behavior:
Create a folder structure with parent folders with spaces in ~/Development/Test Directory/repos/test/
Run npx oclif init
Go through prompts and then error occurs
$ npx oclif init
npx oclif init
Initializing oclif in /Users/username/Development/Test Directory/repos/test
? Command bin name the CLI will export test
? Select a topic separator spaces
? Select a module type ESM
? Select a package manager npm
Using module type ESM
Using package manager npm
Creating bin/dev.cmd
Creating bin/dev.js
Creating bin/run.cmd
Creating bin/run.js
Error: Command failed: chmod +x /Users/username/Development/Test Directory/repos/test/bin/run.js
chmod: /Users/username/Development/Test: No such file or directory
chmod: Directory/repos/test/bin/run.js: No such file or directory
Code: 1
Expected behavior
package.json etc updated along with bin folder
Your Environment (please complete the following information):
oclif/4.8.0 darwin-arm64 node-v20.11.1
OS & version: macOS Sonoma 14.4.1
terminal: zsh
The text was updated successfully, but these errors were encountered:
Describe the bug
When running
npm ini oclif
on a folder that has a parent with a space in it, the chmod fails.To Reproduce
Steps to reproduce the behavior:
~/Development/Test Directory/repos/test/
npx oclif init
Expected behavior
package.json etc updated along with bin folder
Your Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: