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

CLI crash #865

Closed
wuleninja opened this issue Dec 21, 2023 · 2 comments
Closed

CLI crash #865

wuleninja opened this issue Dec 21, 2023 · 2 comments

Comments

@wuleninja
Copy link

wuleninja commented Dec 21, 2023

Describe the bug

The tsr fails after the install as per the instructions.

Your Example Website or App

http://icannotsinceits.cli

Steps to Reproduce the Bug or Issue

From my Vite project: npx tsr

Expected behavior

A generated ./src/routeTree.gen.ts file.
Instead:

-> % npx tsr
/home/me/react/node_modules/.bin/tsr: 1: /bin: Permission denied
/home/me/react/node_modules/.bin/tsr: 2: README.md: not found
/home/me/react/node_modules/.bin/tsr: 3: README.md: not found
/home/me/react/node_modules/.bin/tsr: 4: Syntax error: "(" unexpected

Screenshots or Videos

No response

Platform

  • OS: Windows 10 + WSL2
  • Version: "@tanstack/router-cli": "^0.0.1-beta.29" (latest)

Additional context

Thanks for these great tools 👍 🙇

@wuleninja
Copy link
Author

This may be related to this: https://superuser.com/questions/1445185/bad-permissions-for-sh

@wuleninja
Copy link
Author

Closing it, can't reproduce

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant