lc-soft/LCUI



The issue has been closed
lcpkg not working anymore #255
TheSystemIsCorrupt posted onGitHub
Hi there, It seems lcpkg dependenices are deprecated and it's not working anymore. I use this command to build lcui but it fails with the following error...
- I run cmd
- I cd in to the lcui source repo root
- I run
lcpkg install --arch x64
Here is error :
C:\Users\SystemIsCorrupt\Desktop\LCUI-2.2.0>lcpkg install
node:internal/errors:464
ErrorCaptureStackTrace(err);
^
TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined
at new NodeError (node:internal/errors:371:5)
at validateString (node:internal/validators:119:11)
at Object.resolve (node:path:167:9)
at LCPkg.resolvePackage (C:\Users\SystemIsCorrupt\AppData\Roaming\npm\node_modules\lcpkg\src\index.js:106:25)
at C:\Users\SystemIsCorrupt\AppData\Roaming\npm\node_modules\lcpkg\src\index.js:135:49
at Array.map (<anonymous>)
at LCPkg.loadPackages (C:\Users\SystemIsCorrupt\AppData\Roaming\npm\node_modules\lcpkg\src\index.js:135:30)
at run (C:\Users\SystemIsCorrupt\AppData\Roaming\npm\node_modules\lcpkg\src\cli-install.js:180:24)
at Command.<anonymous> (C:\Users\SystemIsCorrupt\AppData\Roaming\npm\node_modules\lcpkg\src\cli-install.js:230:5)
at Command.listener [as _actionHandler] (C:\Users\SystemIsCorrupt\AppData\Roaming\npm\node_modules\lcpkg\node_modules\commander\index.js:426:31) {
code: 'ERR_INVALID_ARG_TYPE'
}
am I doing something wrong? or is it from the lcpkg?
regards, Marius