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

New project walkthrough fails when project names differs from project dir #2056

Closed
frankcalise opened this issue Aug 25, 2022 · 2 comments
Closed
Assignees
Labels
bug maverick Ignite v8: Maverick

Comments

@frankcalise
Copy link
Contributor

Describe the bug

During the new command walkthrough, I tried to name my project different from the directory it would be located in and saw the following error:

node ignite/bin/ignite new KristieLengel

Error: ENOENT: no such file or directory, chdir '/Users/fcalise/code' -> 'KristieLengel'
    at wrappedChdir (node:internal/bootstrap/switches/does_own_process_state:112:14)
    at process.chdir (node:internal/worker:98:5)
    at /Users/fcalise/code/ignite/src/commands/new.ts:341:13
    at step (/Users/fcalise/code/ignite/src/commands/new.ts:44:23)
    at Object.next (/Users/fcalise/code/ignite/src/commands/new.ts:25:53)
    at fulfilled (/Users/fcalise/code/ignite/src/commands/new.ts:16:58) {
  errno: -2,
  code: 'ENOENT',
  syscall: 'chdir',
  path: '/Users/fcalise/code',
  dest: 'KristieLengel'

Ignite version

Maverick 7a20616

Additional info

image

@frankcalise frankcalise added this to the Ignite v8: Maverick milestone Aug 25, 2022
@frankcalise frankcalise added the maverick Ignite v8: Maverick label Aug 25, 2022
@joshuayoes
Copy link
Contributor

I'll take a look at this today

@joshuayoes
Copy link
Contributor

I've put together a PR to resolve this. If you could take a look at it @frankcalise and make sure that it works on your end, I would appreciate it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug maverick Ignite v8: Maverick
Projects
None yet
Development

No branches or pull requests

2 participants