You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 1, 2024. It is now read-only.
Run step 2 from Getting started: npm start file.ps1
Try npm run generate
Try npm run parse file.ps1
Expected behavior
Not an error. Based on documentation, unsure of success.
Actual behavior
Error occurred.
> tree-sitter-powershell@0.1.0 start
> npm run generate && npm run parse
> tree-sitter-powershell@0.1.0 generate
> tree-sitter generate[stdin]:189 throw value ^ReferenceError: Undefined symbol '_newline' at Object.get ([stdin]:210:23) at Proxy.class_definition (C:\Users\Kyle L. Davis\Development\tree-sitter-PowerShell\grammar.js:64:16) at grammar ([stdin]:283:42) at Object.<anonymous> (C:\Users\Kyle L. Davis\Development\tree-sitter-PowerShell\grammar.js:12:18) at Module._compile (node:internal/modules/cjs/loader:1112:14) at Module._extensions..js (node:internal/modules/cjs/loader:1166:10) at Module.load (node:internal/modules/cjs/loader:988:32) at Module._load (node:internal/modules/cjs/loader:834:12) at Module.require (node:internal/modules/cjs/loader:1012:19) at require (node:internal/modules/cjs/helpers:102:18) { symbol: { type: 'SYMBOL', name: '_newline' }}Node.js v18.4.0Node process exited with status 1
### Error details
```console
`Get-Error` fails to capture error.
Environment data
Name Value
---------
PSVersion 5.1.19041.1682
PSEdition Desktop
PSCompatibleVersions {1.0,2.0,3.0,4.0...}
BuildVersion 10.0.19041.1682
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
Prerequisites
Steps to reproduce
gh repo clone PowerShell/tree-sitter-PowerShellGetting started:npm installGetting started:npm start file.ps1npm run generatenpm run parse file.ps1Expected behavior
Not an error. Based on documentation, unsure of success.Actual behavior
Environment data
Version
7.2.5
Visuals
No response