You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when using the cmd, /node_modules/.bin/yackage --app-dir $PWD build $PWD/out for packaging, it goes failed with the following prompt:
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:120:11)
at Object.basename (node:path:1309:5)
at packageApp (/Users/iwt/downloader/node_modules/yackage/lib/main.js:184:49)
at async packageCleanApp (/Users/iwt/downloader/node_modules/yackage/lib/main.js:227:12)
at async Command.build (/Users//iwt/downloader/node_modules/yackage/bin/yackage.js:32:3) {
code: 'ERR_INVALID_ARG_TYPE'
}
debuggging the problem, it should be the following line:
env:
node -v
v17.2.0npm -v
8.1.4node -p 'process.platform'
darwinnode -p 'process.arch'
x64when using the cmd,
/node_modules/.bin/yackage --app-dir $PWD build $PWD/out
for packaging, it goes failed with the following prompt:debuggging the problem, it should be the following line:
yackage/lib/main.js
Lines 183 to 184 in 98a753d
The
getYode
function was returned an[AsyncFunction: downloadYode]
, there wasn't thepath
property, and it's caused thepath.resolve
goes failed.yackage/lib/util.js
Lines 5 to 12 in 98a753d
The text was updated successfully, but these errors were encountered: