Replies: 1 comment 1 reply
-
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Created exe package using pkg with below package.json.. used fs.copy to copy the appium-uiautomator2-driver folder during runtime. It's copying files but not all. Some files and folders are missing. I feel while adding itself, it missed some files and folders.
How to make sure all the files and folders are added to the package which is mentioned in the assets section?
{
"name": "appium",
"version": "2.5.1",
"description": "Appium Server",
"main": "index.js",
"scripts": {
"test": "appium"
},
"bin": {
"appium": "./index.js"
},
"author": "Meganathan C",
"license": "ISC",
"dependencies": {
"appium": "^2.5.1",
"fs-extra": "^11.2.0",
"pkg": "^5.8.1",
"user-home": "^3.0.0"
},
"pkg": {
"targets": [
"node16-win-x64"
],
"assets": [
"./node_modules/appium-uiautomator2-driver/",
"./node_modules/appium-xcuitest-driver/",
"./node_modules/fs-extra/",
"./node_modules/axios/dist/node/axios.cjs",
"./node_modules/sharp/build/",
"./node_modules/sharp/vendor/**"
],
"outputPath": "dist"
}
}
Beta Was this translation helpful? Give feedback.
All reactions