0

我正在尝试构建 tour de gem 示例项目,下载自:nightly build number #1861

我正在使用 Visual Studio Code。但无法使用终端消息构建:

Executing task: C:\ProgramData\Oracle\Java\javapath\java.exe -jar     
c:\Users\Usr\.vscode\extensions\bowlerhatllc.vscode-nextgenas-1.3.0\bin\asconfigc.jar --sdk 
C:\Users\Usr\AppData\Roaming\npm\node_modules\@apache-royale\royale-js\royale-asjs --debug=true - 
-project d:\xampp\htdocs\apache-royale-0.9.8-bin-js-1861\royale- 
asjs\examples\jewel\TourDeJewel\asconfig.json <

MXMLJSC
+royalelib=C:\Users\Usr\AppData\Roaming\npm\node_modules\@apache-royale\royale-js\royale- 
asjs\frameworks
--debug=true
+configname=royale
--targets=JSRoyale
--source-path+=src/main/resources
--source-map=true
--html-template=src/main/resources/jewel-example-index-template.html
--theme=${royalelib}/themes/JewelTheme/src/main/resources/defaults.css
-js-dynamic-access-unknown-members=true
--
src/main/royale/App.mxml
command line Error: unknown configuration variable 'js-dynamic-access-unknown-members'.

请帮忙。

4

1 回答 1

0

我下载并测试了那个具体的版本,似乎工作正常。甚至发布版本:

> Executing task in folder TourDeJewel: /Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/bin/java -jar /Users/carlosrovira/.vscode/extensions/bowlerhatllc.vscode-nextgenas-1.3.0/bin/asconfigc.jar --sdk /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-0.9.8-bin-js/royale-asjs --debug=true --project /Users/carlosrovira/Dev/Royale/Source/royale-asjs/examples/jewel/TourDeJewel/asconfig.json <

MXMLJSC
+royalelib=/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-0.9.8-bin-js/royale-asjs/frameworks
--debug=true
+configname=royale
--targets=JSRoyale
--source-path+=src/main/resources
--source-map=true
--html-template=src/main/resources/jewel-example-index-template.html
--theme=${royalelib}/themes/JewelTheme/src/main/resources/defaults.css
-js-dynamic-access-unknown-members=true
--
src/main/royale/App.mxml
The project 'App' has been successfully compiled.
4.049057994 seconds

Terminal will be reused by tasks, press any key to close it.

我正在使用CMD+SHIFt+B然后选择Build Debug with AS3 Extension Tour De Jewel(和Build Release with AS3 Extension Tour De Jewel

也许是您的配置中的某些内容。请检查以下链接:

于 2020-10-02T16:39:15.613 回答