question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Artillery not getting properly installed on ubuntu 16.04

See original GitHub issue

when running <sudo npm install -g artillery>, This gives npm WARN deprecated minimatch@0.3.0: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue /home/newgen/.npm-global/bin/artillery -> /home/newgen/.npm-global/lib/node_modules/artillery/bin/artillery /home/newgen/.npm-global/lib `-- artillery@1.6.0-2

then when we run <artillery dino>, this gives artillery: command not found

kindly help.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
hajimurtazacommented, Apr 1, 2019

Your issue is related to incorrect installtion of npm. This usually happens when sudo is used to install npm. As it loads all global node modules from the root directory by creating a .npm-global package. Hence you are able to install packages globally but not be able to use them

Try running npm config get prefix if u get an output anything other then /usr/local , that means you need to reconfigure your npm install

Look up stackoverflow for solution to this. Recently resolved this in my friends Mac.

@wbrickner @pranshu1595

0reactions
vijayakumar-psg587commented, Aug 22, 2019

I experienced a similar problem, but was able to resolve it by adding the node executable path to the system variable. Get the exec path by using which node. The add that to the environment variable PATH PATH=$PATH:/<your exec bin location> and now try to install artillery globally. You should be able to get that started

Read more comments on GitHub >

github_iconTop Results From Across the Web

Installing Artillery CLI
We do not recommend installing Artillery as a dependency inside application codebases. This installation method is only recommended for codebases that only ...
Read more >
Install Ubuntu Server 16.04
If you'd rather install the desktop version, take a look at our Install Ubuntu desktop tutorial. This guide will provide an overview of...
Read more >
Github marlin
For the moment I am just trying to get the screen to work properly I try to compile latest ... Many commercial 3D...
Read more >
357 magnum brass for sale
357 SIG brass For more information on custom guns or barrels in the . ... Policy; anvil github; install pip ubuntu docker; indiana...
Read more >
hoi4 armored cars
1. a max tech armored car recon support provides 17 recon (no doctrines) vs ... life expectancy of a pastor; python requests get;...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found