Home > other >  npm command couldn't be executed - dashlane/cli
npm command couldn't be executed - dashlane/cli

Time:08-05

I am trying to install the dashlane-cli using PowerShell. Unfortunately, there is a problem with the installation. PowerShell says that the command could not be executed. It reads the command from the package.json from the dashlane-cli. There is probably an error in there, but I can't find it. It tries to open a shell file called "prepare-pkg.sh". Does anyone have a hint how I can solve the problem? Scripts in the package.json PowerShell

CodePudding user response:

From what I see on your screenshot, you try to run npm run pkg, which "make" the binary of the dashlane-cli app itself.

What should you do to install is downloading this https://github.com/Dashlane/dashlane-cli/releases/download/v1.0.0/dcli-win.exe (I assume you are on windows because you are using Powershell) and just run it.

Good Luck!

  • Related