cypress upgrade 9.0 to 10.3 , missing executable cypress.exe - cypress

I upgraded from Cypress 9.0 to 10.3.0 with Corporate Proxy . PS C:\CypressUpgrade10> node -v v12.14.1 PS C:\CypressUpgrade10> npm -v 6.13.4
PS C:\CypressUpgrade10>
I download (from nexus) & installation seems to be success
npx cypress -v Cypress binary version: 10.3.0 Electron version: 18.3.0 Bundled Node version: 16.13.2
But npx cypress verify or cypress run /open gives error as below & there is no Cypress.exe on Local
No version of Cypress is installed in: C:\Users\AppData\Local\Cypress\Cache\10.3.0\Cypress
Please reinstall Cypress by running: cypress install
Cypress executable not found at: C:\Users\AppData\Local\Cypress\Cache\10.3.0\Cypress\Cypress.exe
Platform: win32-x64 (10.0.19042) Cypress Version: 10.3.0
Missing any dependency or compatibility issue ?
Thanks

Run the command npx cypress install. This should fix your issue.

It works after updating Binary version to 0 & installing by npm install cypress#10.3.0

Related

cypress 9.7.0 installation hangs at (Installing cypress 9.7.0)

initially installed through npm install, when trying to open cypress it is showing No version of Cypress is installed in: C:\Users\xxxxxxx\AppData\Local\Cypress\Cache\9.7.0\Cypress
after that tried ./node_modules/.bin/cypress install, then it is showing
Installing Cypress (version: 9.7.0)
Cypress 9.7.0 installation hangs,
node version used: v16.15.0
Try below:
npm install cypress --save-dev
npm audit --force
npm i

Getting an error while running truffle init command

I've installed truffle successfully but when I run truffle init I always get the following error:
Downloading...
Error: read ETIMEDOUT
at TLSWrap.onStreamRead (internal/stream_base_commons.js:111:27)
Node, npm and system version:
node -v
v10.10.0
npm -v
6.4.1
truffle version
Truffle v4.1.14 (core: 4.1.14)
Solidity v0.4.24 (solc-js)
ProductName: Mac OS X
ProductVersion: 10.13.6
Any ideas how to resolve this issue?
So the solution I came up is to downgrade node to v8.12.0 and it works.

Can't run tests with appium

The problem
Can't run tests!
Appium version 1.8.1 / command for run appium
Environment
Appium version 1.8.1 / command for run appium
Node 10.6.0
ios_webkit_debug_proxy 1.8 / command for run ios_webkit_debug_proxy -c my_udid:27753
libimobiledevice v1.2.0
libplist v2.0.0
Real device : iPhone 6 (11.0)
MacOS 10.13.6
My logs
Appium Server

Install Ionic Cordova Error

I am trying to install Ionic 2 on a OSx machine. I did install Node.js. When I run the following:
$ npm install -g ionic cordova
I get this error:
If anyone can assist, I would appreciate it.
UPDATE:
Downgraded Node to v6.9.1 and still get the same error:
UPDATE
As suggested below, I tried:
npm cache clean
But still get the same error:
UPDATE
If I try install a specific version, I get the following error:
sudo npm install -g ionic#2.0.0-beta.20 cordova
to install ionic in mac
you have to install nodejs .
to install ionic as per the official doc if you are using linux or mac you should use sudo command
try
sudo npm install -g ionic cordova
note
your npm version should be greater then 3.x
that version of node its the current so maybe its nos stable at all. I recommend to instal NVM (node version manager) from here this is like a "sand-box" where you have all node version you want and can switch between them.
You only need to run nvm install 5.11.0 and nvm will download that node version for you. Then to use a specific node version you need to run nvm use 5.11.0 and thats all.
I recommend to install 5.11.0 for example, its the node version that im using atm and its working fine with ionic2 RC3.
After downgrading your node.js clean npm cache.
npm cache clean
and try the installation again

upgrade Appium from 1.4.8 to 1.5.0

Is it possible to upgrade straight from appium 1.4.8 to appium 1.5.0 or should i upgrade to the closest version?
Basically, on mac all i need to do is to type sudo npm install appium#1.5.0?
thanks
You can use appium-version-manager to deal with this :
$ npm install -g appium-version-manager
then install a specific version saying :
$ avm 1.5.0
Learn more about it here.
This will automatically install the latest version:
npm install -g appium # globally install appium

Resources