Skip to content
This repository has been archived by the owner on Jul 6, 2019. It is now read-only.
This repository has been archived by the owner on Jul 6, 2019. It is now read-only.

error message "command not found: cowsay" (Win 10) #60

Closed
@seriousManual

Description

this may or may be not related to #58 (i encountered the same issue, but only when running a module that has not been installed already).

when i try to reproduce the example from your blog post I get the error message from the title.
in more detail:

D:\programming\florp>cat package.json
{
  "name": "florp",
  "version": "1.0.0",
  "description": "",
  "main": "index.js",
  "scripts": {
    "test": "echo \"Error: no test specified\" && exit 1"
  },
  "keywords": [],
  "author": "",
  "license": "ISC",
  "dependencies": {
    "cowsay": "^1.1.9"
  }
}

D:\programming\florp>npm -v
5.2.0

D:\programming\florp>npx -v
9.0.3

D:\programming\florp>ls .\node_modules\.bin
cowsay  cowsay.cmd  cowthink  cowthink.cmd

D:\programming\florp>npx cowsay hello!
npx: command not found: cowsay

Update:
I updated to 9.0.5, the issue is still the same.

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions