bin scripts not running on Windows machines with `npm run docker:build`

Viewed 16

I am getting setup on a repo worked on primarily by folks with mac OS. I have a windows machine. Both npm and docker are in my windows path and work in the cmd line.

When I run the command npm run docker:build

I get

C:\Users\myName\dev\REPONAME>npm run docker:build

> docker:build
> bin/foo-bar

'bin' is not recognized as an internal or external command,
operable program or batch file.

In package.json the file looks correct, and in scripts I see "docker:build": "bin/foo-bar"

and I have confirmed that the script foo-bar is indeed present in the bin folder that I can cd to.

How do I overcome this error?

0 Answers
Related