T
TanStack3y ago
wise-white

router-cli Usage

I want to use router-cli in my project, but when I run the generate command, I got this error:
/usr/local/bin/tsr: line 1: /Applications: is a directory
/usr/local/bin/tsr: line 2: README.md: command not found
/usr/local/bin/tsr: line 3: README.md: command not found
/usr/local/bin/tsr: line 4: syntax error near unexpected token `('
/usr/local/bin/tsr: line 4: ` * Copyright (c) TanStack'
/usr/local/bin/tsr: line 1: /Applications: is a directory
/usr/local/bin/tsr: line 2: README.md: command not found
/usr/local/bin/tsr: line 3: README.md: command not found
/usr/local/bin/tsr: line 4: syntax error near unexpected token `('
/usr/local/bin/tsr: line 4: ` * Copyright (c) TanStack'
Does anyone face this issue? I have created tsr.config.json in the root of the project.
2 Replies
sharp-indigo
sharp-indigo2y ago
same did you solve it?
foreign-sapphire
foreign-sapphire2y ago
use npx

Did you find this page helpful?