clink's installscript not supported fully correctly
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Idoneità per principianti
- 45/100
Direzione di ricerca
Start with the root-level test_path.lua and inspect how clink installscripts initializes files in the z.lua installation directory. Move the test/helper file into a subdirectory ignored by clink installscripts, then verify that launching cmd no longer reports the missing z module error.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Hello, if you use clink's new better way to install modules, so: clink installscripts C:\path\to\z.lua\, z.lua works mostly fine, except for one small issue. Every time you launch cmd you see this annoying error at the top:
...cations\Plugins\Windows\System\clink\z.lua\test_path.lua:1: module 'z' not found:
no field package.preload['z']
no file 'D:\Backups\Applications\Plugins\Windows\System\clink\clink-completions\modules/z.lua'
no file 'C:\Program Files (x86)\Lua\5.1\lua\z.luac'
no file 'C:\Windows\system32\z.dll'
no file 'C:\Windows\system32\loadall.dll'
no file '.\z.dll'
Basically what happens is that clink installscripts only accepts dirs not files, so you provide a path which also contains test_path.lua file and that file doesn't work well when it's initialized in clink.
The fix would be to move test_path.lua to a separate directory, e.g. modules or helpers or something, as clink installscripts ignores subdirectories. I'm not sure what the file does though (well, it tests the path, but I don't know under which circumstances, I can't see any references) and why it's in the root of the project.
EDIT: oh, from the commit history I see it's some kind of a test/helper. So moving it shouldn't be any sort of a problem.
- Lingua principale
- Lua
- Stelle
- 3.1k
- Fork
- 149
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di skywind3000/z.lua
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 68/100
skywind3000/z.lua#234 · 1 commento ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 38/100
skywind3000/z.lua#232 · 1 commento ·
-
似乎不支持wsl路径?Aperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
skywind3000/z.lua#227 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 45/100
skywind3000/z.lua#226 ·
-
FAQ `zii` code brokenAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 35/100
skywind3000/z.lua#225 ·
Tutte le issue di skywind3000/z.lua
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
windwp/nvim-ts-autotag#266 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
folke/sidekick.nvim#362 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
pterodactyl/game-eggs#657 ·
-
Adding `:wtall` commandApertaenhancement good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
stalker57241/tabview#10 ·
-
feature-request mini.icons
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 82/100