I'm tring to sign a second version of my firefox extension using web-ext but i keep getting this error
Your add-on failed validation and could not be signed
FAIL
WebExtError: The extension could not be signed
at _callee$ (C:\Users\sofie\AppData\Roaming\npm\node_modules\web-ext\dist\webpack:\src\cmd\sign.js:134:15)
at tryCatch (C:\Users\sofie\AppData\Roaming\npm\node_modules\web-ext\node_modules\regenerator-runtime\runtime.js:62:40)
at Generator.invoke [as _invoke] (C:\Users\sofie\AppData\Roaming\npm\node_modules\web-ext\node_modules\regenerator-runtime\runtime.js:296:22)
at Generator.prototype.(anonymous function) [as next] (C:\Users\sofie\AppData\Roaming\npm\node_modules\web-ext\node_modules\regenerator-runtime\runtime.js:114:21)
at step (C:\Users\sofie\AppData\Roaming\npm\node_modules\web-ext\dist\webpack:\node_modules\babel-runtime\helpers\asyncToGenerator.js:17:1)
at C:\Users\sofie\AppData\Roaming\npm\node_modules\web-ext\dist\webpack:\node_modules\babel-runtime\helpers\asyncToGenerator.js:28:1
at <anonymous>
at process._tickCallback (internal/process/next_tick.js:188:7)
I don't understand why this is happening because the first time i tried to sign it it worked.
PS : i already wrote a new version in my manifest.json script
Can someone help me please ?
Above the line "Your add on failed...", do you get a line like this?:
Validation results: https://addons.mozilla.org/en-US/developers/upload/....
I had the same error message, and following that link showed me a detailed analysis of why it failed. My error was that I had a file called Translator.js, but in the manifest it was listed as translator.js, notice the case. After renaming it, signing succeeded.
if you are on windows try:
run cmd as administrator.
run sign command without using batch file
Related
I'm trying to set up a playwright script to take some screenshots and I've been getting this error:
[Error: EPERM: operation not permitted, scandir 'c:\users\myname\appdata\local\elevateddiagnostics'] {
errno:-4048,
code: 'EPERM',
Syscall: 'scandir',
path h:'c:\\users\\myname\\AppData\\Local\\ElevatedDiagnostics'
}
Currently none of my test scripts are working, including the example one. What might the problem be?
I had a similar problem.
npm init playwright#latest
solved the problem for me.
Getting below error while running Appium
Encountered internal error running command: Error: Cannot verify the signature of '/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-v4.24.0.apk'. Original error: The JAVA_HOME location '$(/usr/libexec/java_home)' must exist
Had the same error a while ago, try using this on terminal.
xattr -cr "/Applications/Appium Server GUI.app"
codesign --deep --sign - /Applications/Appium\ Server\ GUI.app
it should solve the error, it did for me.
I'm new to ios appium and trying to use appium for app testing which i did not have the source code nor ios developer account, the app is downloaded from crashlytics.
I've tried to modify the certificate for webdriveragent with my personal account but failed. And i saw the document from appium that i should able to use appium with only "app" or "bundleid" capability so i tried to remove the "app" then got another err.
Please advise, thank you in advance.
My capabilities set as below
capabilities['platformName'] = 'iOS'
capabilities['automationName'] = 'XCUITest'
capabilities['platformVersion'] = '11.4'
capabilities['deviceName'] = 'iPhone X'
capabilities['udid'] = 'my phone'
capabilities['bindleId'] = 'app.bundleId'
capabilities['app'] = '/pathtomyapp'
Appium log output
selenium.common.exceptions.WebDriverException An unknown server-side
error occurred while processing the command. Original error: Unable to
launch WebDriverAgent because of xcodebuild failure: "xcodebuild
failed with code 65".
If I remove the "app" from capablities then I get following error
selenium.common.exceptions.WebDriverException: Message: An unknown
server-side error occurred while processing the command. Original
error: The desired capabilities must include either an app or a
bundleId for iOS
https://github.com/appium/appium-xcuitest-driver/blob/master/docs/real-device-config.md
a very comprehensive tutorial how to deal with your problem, you are missing
desired_caps['xcodeOrgId'] = 'YOURDEVID'
desired_caps['xcodeSigningId'] = "iPhone Developer"
I believe that this error normally happens because the wda is in the wrong directory. Which version of appium is this? If it's above 1.7.2 then you'll need to add the capabilities usePrebuiltWDA set to true and derivedDataPath set to the path of the derived data folder of the wda.
https://github.com/appium/appium-xcuitest-driver/blob/master/README.md
Hth
James
I'm trying to build to an iOS device, building to simulator works fine.
This is what I get:
uncaught error Error: TypeError: unsupported file type at lookup (/Users/NAME/git/vex/vex-app react/VexAppReact/node_modules/image-size/lib/index.js:35:9)
at /Users/NAME/git/vex/vex-app-react/VexAppReact/node_modules/image-size/lib/index.js:93:22
at /Users/NAME/git/vex/vex-app-react/VexAppReact/node_modules/image-size/lib/index.js:50:9
at /Users/NAME/git/vex/vex-app-react/VexAppReact/node_modules/graceful-fs/graceful-fs.js:43:10
at FSReqWrap.oncomplete (fs.js:82:15)
See logs /var/folders/h8/42h3w_qd2r9fvpwy99jsnjq40000gn/T/react-packager.log
at SocketClient._handleMessage (SocketClient.js:144:23)
at BunserBuf. (SocketClient.js:53:42)
at emitOne (events.js:90:13)
at BunserBuf.emit (events.js:182:7)
at BunserBuf.process (/Users/NAME/git/vex/vex-app-react/VexAppReact/node_modules/bser/index.js:289:10)
at /Users/NAME/git/vex/vex-app react/VexAppReact/node_modules/bser/index.js:244:12
at nextTickCallbackWith0Args (node.js:452:9)
at process._tickCallback (node.js:381:13)
Command /bin/sh failed with exit code 1
I'm assuming there's something wrong with image assets. I didn't install the image-size node module myself, so I doubt there's something wrong with that module, it could be though.
Any suggestions welcome.
Solution: apparently you can't add png files to native ios build
hi i am getting this error in console while running application and it is not build my app package.Following is my error.
C:\Eclipse\plugins\net.rim.ejde.componentpack5.0.0_5.0.0.25\components\bin\rapc.exe
-convertpng -quiet codename=deliverables\Standard\5.0.0\Weed deliverables\Standard\5.0.0\Weed.rapc
-sourceroot=D:\Hasmukh\Blackberry\BlackBerryWorkspace\Weed\src;D:\Hasmukh\Blackberry\BlackBerryWorkspace\Weed\res
-import=C:\Eclipse\plugins\net.rim.ejde.componentpack5.0.0_5.0.0.25\components\lib\net_rim_api.jar D:\Hasmukh\Blackberry\BlackBerryWorkspace\Weed\bin D:\Hasmukh\Blackberry\BlackBerryWorkspace\Weed\src\com\weedclass\CommonFunction.java:102: Warning!: method 'com.weedclass.CommonFunction.ReadFile()' not invoked. I/O Error: Cannot run program "jar": CreateProcess error=2, The system cannot find the file specified Packaging project Weed failed (took 4.162 seconds)
Thanx in advance.
The solution can be found here: http://supportforums.blackberry.com/t5/Java-Development/I-O-Error-CreateProcess/ta-p/445949