back2dos / travix

Travis helper.
The Unlicense
33 stars 12 forks source link

no @run directive found for library travix #117

Closed sh-dave closed 4 years ago

sh-dave commented 5 years ago

I'm not sure if this is a lix or travix issue, but here goes:

I can't currently use the current travix, b/c whatever i try i always get a no @run directive found for library travix. I think the last version that worked was 0.12.

Here is a small log trying to call travix init.

dklein@CLDEV10:~/Documents/foo$ echo "{}" > package.json && npm install --save-dev lix && npx lix scope create && npx lix install gh:back2dos/travix && npx lix run travix init

> lix@15.5.3 postinstall /home/dklein/Documents/foo/node_modules/lix
> node bin/postinstall.js

npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN foo No description
npm WARN foo No repository field.
npm WARN foo No license field.

+ lix@15.5.3
added 1 package from 1 contributor and audited 1 package in 0.736s
found 0 vulnerabilities

created scope in /home/dklein/Documents/foo
already downloaded: gh://github.com/back2dos/travix#b92388c36b17faae2374066f7f0d796c5412e96d
lix --silent download "gh://github.com/haxetink/tink_cli#e40960a7ddd72bdb3ca723aefb20591c514fae33" into tink_cli/0.4.1/github/e40960a7ddd72bdb3ca723aefb20591c514fae33
lix --silent download "gh://github.com/haxetink/tink_io#9ad28aefacad69c4415d8a458c1a1e920052560e" into tink_io/0.6.2/github/9ad28aefacad69c4415d8a458c1a1e920052560e
lix --silent download "haxelib:tink_chunk#0.2.0" into tink_chunk/0.2.0/haxelib
lix --silent download "https://github.com/haxetink/tink_streams/archive/a38e3a97e8512830b31f1fe9476a752cf6fb51ff.tar.gz" into tink_streams/0.2.1/github/a38e3a97e8512830b31f1fe9476a752cf6fb51ff
lix --silent download "haxelib:tink_core#1.16.1" into tink_core/1.16.1/haxelib
lix --silent download "haxelib:tink_stringly#0.2.0" into tink_stringly/0.2.0/haxelib
lix --silent download "haxelib:tink_core#1.16.1" into tink_core/1.16.1/haxelib
lix --silent download "gh://github.com/haxetink/tink_macro#9018b06279ab8743428f494f19d06f3c1e2a41bc" into tink_macro/0.17.5/github/9018b06279ab8743428f494f19d06f3c1e2a41bc
lix --silent download "haxelib:tink_core#1.16.1" into tink_core/1.16.1/haxelib
-> mounted as travix#0.13.1
no @run directive found for library travix
sh-dave commented 5 years ago

Ah, i just remembered it never worked when installing travix from gh:back2dos/travix, only via haxelib:travix.

But i run into this everytime i try to setup a project, so is there a chance of fixing it? :angel:

back2dos commented 4 years ago

The above commands now work. It was probably more of a lix problem than anything.