Closed sebastiandottop closed 4 months ago
@castrogarciajs Hi, could you try global install? Like npm i -g nextui-cli
and run nextui-cli
Yes, of course. But I not have a good result
➜ ~ npm i -g nextui-cli
added 69 packages in 6s
26 packages are looking for funding
run `npm fund` for details
➜ ~ nextui
nextui: command not found
➜ ~ ✗ nextui-cli
nextui-cli: command not found
➜ ~ ✗ next-ui --help
next-ui: command not found
I think this is a problem with the configuration of environment variables in WSL, you can try this solution
Modify the configuration file for global environment variables: vim etc/profile (requires root privileges)
Add the following content:
export NODE_HOME=/usr/app/node-v10.15.1-linux-x64 (change to your node path)
export PATH=$NODE_HOME/bin:$PATH
source /etc/profile
Thank you, It work
NextUI CLI Version
I have not been able to install it
Describe the bug
I run the command
npx nextui-cli@latest
and it fires a node:internalSteps to Reproduce the Bug or Issue
Expected behavior
I was expecting an installation exit or asking if I want to install nextui-cli
Screenshots or Videos
Operating System Version
Windows with WSL