Cannot runmap from VSCode, war3map.j not generated
See original GitHub issueDescribe the bug I can’t runmap the map from VSCode. It’s just saying this, even though the Jass parser from World Editor is ok.
More Details
I have existing w3x map project with some GUI triggers. It used to be working when I grill generate
new project on my first laptop (and then replace the template map with my own map)
The problem arises when I pushed changes to github repo, and then I changed into new PC and checked out the repo.
The grill install
is working, but then I kinda expect the runmap from VSCode will automatically generate the war3map.j
and then starts the game. What I got instead is errors above and no war3map.j extracted.
Compiler Log: https://pastebin.com/gKZG1SQd
Language Server Log: https://pastebin.com/GPDjTMJ8
Repo: https://github.com/Axection/MiniWars
Additional Info: I tried build my map and it’s also error:
MiniWars on master is 📦 v1.0.0 via v14.17.2 took 4s
❯ grill build .\MiniWars.w3x
Forwarded run arguments: ["build", ".\\MiniWars.w3x"]
? Grill warming up..
? Ready. Version: <1.3.4.1-jenkins-WurstSetup-155>
? Building project..
compilation finished (errors: 29, warnings: 0)
Error in File Banish.wurst line 3:
The import 'ClosureEvents' could not be resolved.
Available packages:
Error in File Banish.wurst line 4:
The import 'ClosureForGroups' could not be resolved.
Available packages:
Error in File Banish.wurst line 5:
The import 'InstantDummyCaster' could not be resolved.
Available packages:
Error in File Banish.wurst line 1:
The standard library could not be imported.
Error in File Distrust.wurst line 3:
The import 'ClosureEvents' could not be resolved.
Available packages:
Error in File Distrust.wurst line 4:
The import 'ClosureForGroups' could not be resolved.
Available packages:
Error in File Distrust.wurst line 5:
The import 'ClosureTimers' could not be resolved.
Available packages:
Error in File Distrust.wurst line 1:
The standard library could not be imported.
Error in File Earthcrack.wurst line 3:
The import 'ClosureEvents' could not be resolved.
Available packages:
Error in File RaceSpawner.wurst line 1:
The standard library could not be imported.
? There was an issue with the wurst build process.
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (2 by maintainers)
Top GitHub Comments
If I remember correctly, it should try to extract the
war3map.j
for you. You can check the log files and should see the messageextracting mapscript
. Maybe there is some more information there on what goes wrong.Ok I already fixed the stdlib, but the error is still there. I already tried re-generate the project and
grill build
, but now the error is all global variablesudg_vars
are not found.Do I need to extract war3map.j manually if I need to reference udg_ vars in fresh projects or what?