Closed grepsuzette closed 4 years ago
what does which haxe
tell?
and haxe --run resolve-args -lib tink_sql
?
which haxe
gives /usr/bin/haxe
file $( which haxe )
gives /usr/lib/node_modules/lix/bin/haxeshim.js: a /usr/bin/env node script executable (binary data)
I as a matter of course have those executed:
`
To reply to @back2dos
any local modifications to tink_core or something? ^^ did you delete Promise::next? :D
No :) I mean in the past maybe... It can be that I guess. I don't do that anymore but since it's version 1.24 it's possible. Guess I'll just remove the libs and make a lix download again.
I tried today to clone again tink_sql in 2 other directories. One with npm init ; npm -i mysql
and the other one unaltered from origin. Both give me the same error, with my haxe 4.0.5.
haxe --run resolve-args -lib tink_sql
gives
--cwd /home/justinbieber/tink_sql
-cp src
-D tink_streams=0.3.2
-D tink_core=1.24.0
-cp /home/justinbieber/haxe/haxe_libraries/tink_core/1.24.0/github/a182e8c47e54b0587594010d435f8464379cc648/src
-cp /home/justinbieber/haxe/haxe_libraries/tink_streams/0.3.2/github/01a2b3894ae7ee5eb583503282371e307c03f065/src
-D pure
-D tink_macro=0.18.0
-D tink_core=1.24.0
-cp /home/justinbieber/haxe/haxe_libraries/tink_core/1.24.0/github/a182e8c47e54b0587594010d435f8464379cc648/src
-cp /home/justinbieber/haxe/haxe_libraries/tink_macro/0.18.0/github/b4fa5f4fe0310bd919866af42d403de06fdcf53c/src
-D tink_url=0.3.1
-cp /home/justinbieber/haxe/haxe_libraries/tink_url/0.3.1/github/7c98a2ea212c3a2f8d9ff41c1450eae98eee812f/src
-D tink_stringly=0.1.0
-cp /home/justinbieber/haxe/haxe_libraries/tink_stringly/0.1.0/haxelib/src
-D tink_core=1.24.0
-cp /home/justinbieber/haxe/haxe_libraries/tink_core/1.24.0/github/a182e8c47e54b0587594010d435f8464379cc648/src
In my tink_sql repo yesterday I tried lix install --flat upon each libs but it didn't change the result, above is result for the pristine haxe_libraries.
Some potential problem. My ~/haxe/ directory used by lix has downloads haxelib haxe_libraries haxe-material-ui neko tink_core versions
<- tink_core here. IDK if normal.
After rm -fr /home/justinbieber/haxe/haxe_libraries/tink_core/1.24.0/github/a182e8c47e54b0587594010d435f8464379cc648/src ; lix download
same problem
same after repeating that process (rm + lix download + lix run travix node) for each folders in above haxe --run resolve-args -lib tink_sql
: tink_streams tink_macro tink_url tink_stringly
Removed ~/haxe/versions/4.0.5 and lix download, same problem.
Will temporarily move all my libs to /tmp and lix download
again. Same oO
Can it have to do with non haxe sources, e.g. can it have to do with npm or nvm? I don't know how lix really works. Travix post-installation stuffs? Tests for tink_web run fine, my stuffs run fine as well, it is really weird.
This is likely a setup issue... The worse case is to use a docker (with a node image) to build...
Turned out was running a alpha version of lix. Updating it I can run the tests. Thanks to kevin and juraj for their help on the chat :)
I am rather unexperienced with travix, but when running
lix run travix node
I get the following error.After
nvm use 10
,lix download
. Using haxe 4.0.5. I have set the mysql user and password in tests/Run.hx