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

Incorrect capitalisation in package directory #7

Open
erikwatson opened this issue Sep 19, 2020 · 0 comments
Open

Incorrect capitalisation in package directory #7

erikwatson opened this issue Sep 19, 2020 · 0 comments

Comments

@erikwatson
Copy link

I was getting this error while building an openfl project using assets from an swf.

Export/html5/haxe/_generated/MC_AchievementPopUp.hx:7: characters 73-115 : Type not found : skyPandaTiles_fla.MC_AchievementPopUp2_433

When I searched inside the _generated folder, there was a subdirectory called SkyPandaTiles_fla and inside of it, the file MC_AchievementPopUp2_433 existed.

It took me a moment to realise that the directory name began with an uppercase S, which is incorrect, as a package name in Haxe must begin with a lowercase letter. When I changed this manually and re-tested the error went away.

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

1 participant