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

[BUG] next command clashes with next from Next.js library #113

Open
etagwerker opened this issue Nov 22, 2023 · 0 comments
Open

[BUG] next command clashes with next from Next.js library #113

etagwerker opened this issue Nov 22, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@etagwerker
Copy link
Member

etagwerker commented Nov 22, 2023

Expected Behavior

next command should not clash with another library's command.

Actual Behavior

After running these steps:

npm install -g next
next start

I'd like it to use the next.js command.

Possible Fix

Rename the next_rails command to be next_rails so that it doesn't clash with Next.js's next command.

To Reproduce

  1. gem install next_rails
  2. npm install -g next
  3. git clone a next project
  4. next start

See something like this:

rbenv: next: command not found

The `next' command exists in these Ruby versions:
  2.7.2
  3.0.4
  3.1.3
  3.2.2

Then you can check which next command is getting used:

which next
/Users/etagwerker/.rbenv/shims/next

I will abide by the code of conduct

@etagwerker etagwerker added the bug Something isn't working label Nov 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant