Skip to content

Unable to install taiko using npm install -g taiko #2645

@Shivkant-Chauhan

Description

@Shivkant-Chauhan

Describe the bug
I am unable to install taiko on my mac 12.6
Also getting same error on a linux machine.
I have tried installing taiko using various commands like:
sudo npm install -g taiko
sudo TAIKO_SKIP_CHROMIUM_DOWNLOAD=true npm install -g taiko
but unable to do so!

I want to add that the problem is only with mac users.. after installing taiko with sudo npm i -g taiko command, then also I am getting taiko command not found!

Logs

npm WARN deprecated [email protected]: See https://github.com/lydell/source-map-url#deprecated
npm WARN deprecated [email protected]: Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated [email protected]: https://github.com/lydell/resolve-url#deprecated
npm WARN deprecated [email protected]: See https://github.com/lydell/source-map-resolve#deprecated
npm ERR! code 190
npm ERR! git dep preparation failed
npm ERR! command /usr/local/bin/node /usr/local/lib/node_modules/npm/bin/npm-cli.js install --force --cache=/Users/shivkantchauhan/.npm --prefer-offline=false --prefer-online=false --offline=false --no-progress --no-save --no-audit --include=dev --include=peer --include=optional --no-package-lock-only --no-dry-run
npm ERR! npm WARN using --force Recommended protections disabled.
npm ERR! npm ERR! code ENOTEMPTY
npm ERR! npm ERR! syscall rename
npm ERR! npm ERR! path /Users/shivkantchauhan/.npm-global/lib/node_modules/taiko
npm ERR! npm ERR! dest /Users/shivkantchauhan/.npm-global/lib/node_modules/.taiko-0MR00Ccl
npm ERR! npm ERR! errno -66
npm ERR! npm ERR! ENOTEMPTY: directory not empty, rename '/Users/shivkantchauhan/.npm-global/lib/node_modules/taiko' -> '/Users/shivkantchauhan/.npm-global/lib/node_modules/.taiko-0MR00Ccl'
npm ERR!
npm ERR! npm ERR! A complete log of this run can be found in:
npm ERR! npm ERR!     /Users/shivkantchauhan/.npm/_logs/2022-10-08T19_34_00_565Z-debug-0.log

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/shivkantchauhan/.npm/_logs/2022-10-08T19_32_25_945Z-debug-0.log

and

npm WARN deprecated [email protected]: See https://github.com/lydell/source-map-url#deprecated
npm WARN deprecated [email protected]: Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated [email protected]: https://github.com/lydell/resolve-url#deprecated
npm WARN deprecated [email protected]: See https://github.com/lydell/source-map-resolve#deprecated

changed 690 packages, and audited 691 packages in 8s

113 packages are looking for funding
  run `npm fund` for details

9 vulnerabilities (2 moderate, 6 high, 1 critical)

To address all issues (including breaking changes), run:
  npm audit fix --force

Run `npm audit` for details.

Expected behavior
Taiko should be installed without any vulnerabilities

Screenshots
Screenshot 2022-10-05 at 6 27 26 PM

output of gauge -v

Gauge version: 1.4.3
Plugins
-------
html-report (4.1.4)
js (2.4.0)
screenshot (0.1.0)
ts (0.1.0)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions