-
Notifications
You must be signed in to change notification settings - Fork 2
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
fail to use pnpm create @ast-grep/lang
to complete a happy path
#20
Comments
You need to use a real tree-sitter npm package. You need real programming language and has tree-sitter package. https://github.com/ast-grep/langs/tree/main/packages/angular For reference, you can use |
In terms of description, #16 is tracking a doc for such usage |
TBH I think this feature is only for language author or person who does already have a parser in hand. So tree-sitter-xxx is probably a good default name for them to find the package. Besides that, I don't think ordinary user will look at this repo at all 🤣 |
🤣You are right. |
btw I do think the error reporting is horrendous. I will create a new issue for it |
hmm it's right, tree-sitter-cli should be in devDependencies the other warning comes from tree-sitter cli. :/ Would you like to open an issue there? |
I pushed a new 0.0.0-prerelease to npm |
@LoTwT thanks for reporting! devDeps is fixed. I will also investigate how to suppress the warning. |
descriptionHi, @HerringtonDarkholme. Today I tried system info
error![]() ![]() |
can you manually run |
description
I ran
pnpm create @ast-grep/lang
and followed the prompted default configs, but it came across some errors.The process was interrupted and the project codes were generated partially.
I think the
Tree-sitter package to use
and its default string are confusing. It's better to clarify its usage and update it with a more detailed description.The text was updated successfully, but these errors were encountered: