Skip to content
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

No such module xxx.xxx.xxx #12

Open
GiantSnail opened this issue Jun 28, 2022 · 2 comments
Open

No such module xxx.xxx.xxx #12

GiantSnail opened this issue Jun 28, 2022 · 2 comments

Comments

@GiantSnail
Copy link

First of all, thanks for open source!
I try to convert my Project to openFL, but always get "no such module xxx.xxx" error.Does anyone have the same error?

my haxe version:

PS E:\Projects\openFL\ax3-master> haxe --version
4.2.5

config.json

{
	"src": "E:/Projects/MicroPlat/Macro/Macro/src",
	"hxout": "E:/Projects/OUT/",
	"swc": [
		"E:/Downloads/AIRSDK32_Compiler/frameworks/libs/air/airglobal.swc",
		"E:/Projects/MicroPlat/Macro/Macro/lib/airLib.swc",
		"E:/Projects/MicroPlat/Macro/Macro/lib/fzip.swc"
	]
}

error log

E:/Projects/MicroPlat/Macro/Macro/src/view/main/servierList/ServerListView.as:180: character 25: Semicolon expected after block expression
E:/Projects/MicroPlat/Macro/Macro/src/win/AirNativeWindown.as:94: character 10: Semicolon expected after block expression
E:/Projects/MicroPlat/Macro/Macro/src/com/greensock/data/TweenLiteVars.as:8: character 2: No such module com.greensock::TweenLite
Exception in thread "main" assert
        at ax3.Typer$Closure_typeImports_0.invoke(src/ax3/Typer.hx:584)
        at ax3.Typer$Closure_typeImports_0.invoke(src/ax3/Typer.hx)
        at ax3.Typer$Closure_typeImports_0.invoke(src/ax3/Typer.hx:574)
        at ax3.Typer$Closure_typeImports_0.invoke(src/ax3/Typer.hx)
        at ax3.Typer.typeImports(src/ax3/Typer.hx:606)
        at ax3.Typer$Closure_processFile_0.invoke(src/ax3/Typer.hx:57)
        at ax3.Typer.process(src/ax3/Typer.hx:19)
        at ax3.Main.main(src/ax3/Main.hx:35)
        at ax3.Main.main(src/ax3/Main.hx:1)
PS E:\Projects\openFL\ax3-master>
@Shaunmax
Copy link

same here! any luck?

@GiantSnail
Copy link
Author

same here! any luck?

Due to irregular codes, there are many errors and warnings when converting. These errors need to be resolved first.
If the project refers to the source code of many libraries, you need to build swc and configure it in config.json.
Not only that, but you may need to implement some functionality yourself. i haven't succeeded yet.
good luck!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants