-
Notifications
You must be signed in to change notification settings - Fork 52
Closed
Labels
Issue-EnhancementThe issue is a feature or ideaThe issue is a feature or idea
Description
Prerequisites
- Write a descriptive title.
- Make sure you are able to repro it on the latest version
- Search the existing issues.
Summary
When running the build.ps1 script on a fresh Windows 11 machine, the build script fails with:
Caused by:
Failed to load grammar.js -- Failed to run `node` -- program not found
Exception: D:\source\operation-methods\tree-sitter-dscexpression\build.ps1:11:9
Line |
11 | throw "Command $cmd failed with exit code $LASTEXITCODE"
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Command tree-sitter generate --build failed with exit code 1The build script should include NodeJS installation.
Steps to reproduce
- Run build script on fresh Windows 11 machine
Expected behavior
Build the projectActual behavior
ErroError details
Environment data
Name Value
---- -----
PSVersion 7.5.2
PSEdition Core
GitCommitId 7.5.2
OS Microsoft Windows 10.0.26100
Platform Win32NT
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0Version
3.1.0
Visuals
No response
Metadata
Metadata
Assignees
Labels
Issue-EnhancementThe issue is a feature or ideaThe issue is a feature or idea