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

Trouble compiling #60

Closed
Jean-FrancoisTrevien opened this issue Aug 19, 2015 · 4 comments
Closed

Trouble compiling #60

Jean-FrancoisTrevien opened this issue Aug 19, 2015 · 4 comments

Comments

@Jean-FrancoisTrevien
Copy link

Hello,

I have tried to use your library, for this i have in my hxml file the path of a clone of your code.
and i use a simplified version of your express example ( just static entry)
But i have the following errors messages:

/home/systrans/haxemk/haxe-js-kit/npm/Package.hx:249: characters 7-40 : Duplicate type parameter name: Const
/home/systrans/haxemk/haxe-js-kit/npm/Package.hx:252: characters 7-49 : Duplicate type parameter name: Const

When i look at line 249 :
extern interface Require<Const,Const> {}

And when i look at line 252
extern interface RequireNamespace<Const,Const> {}

I have the same errors when i do:
haxe test.hxml
in the haxe-js-kit directory

@clemos clemos closed this as completed in 2ed5955 Aug 19, 2015
@clemos
Copy link
Owner

clemos commented Aug 19, 2015

Can you confirm my commit fixes it ?
Also, what version of Haxe are you using ? I can't seem to reproduce this issue.

@Jean-FrancoisTrevien
Copy link
Author

The problem is solved , the version avec haxe i use is 3.3.0.

Thanks a lot.

De : Clément Charmet [mailto:notifications@github.com]
Envoyé : mercredi 19 août 2015 13:41
À : clemos/haxe-js-kit
Cc : Jean-FrancoisTrevien
Objet : Re: [haxe-js-kit] Trouble compiling (#60)

Can you confirm my commit fixes it ?
Also, what version of Haxe are you using ? I can't seem to reproduce this issue.


Reply to this email directly or view it on GitHub #60 (comment) .Image supprimée par l'expéditeur.

clemos added a commit that referenced this issue Sep 25, 2015
clemos added a commit that referenced this issue Sep 25, 2015
@ianharrigan
Copy link

I get something similar to this:

\lib/js-kit/git/atomshell/Package.hx:236: characters 31-36 : Duplicate type parameter name: Const
\lib/js-kit/git/atomshell/Package.hx:239: characters 40-45 : Duplicate type parameter name: Const

Any ideas? It seems to have only just started to happen, which is strange as i dont think ive updated anything

@clemos
Copy link
Owner

clemos commented Sep 7, 2017

atomshell.Package seem to be outdated.
You should update it with this part of the "main" npm.Package.
I think duplicating this class has obviously been a mistake, there is certainly a better way to handle this :\

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

3 participants