ESEO-Tech / emulsiV

A visual simulator for teaching computer architecture using the RISC-V instruction set

Home Page:https://eseo-tech.github.io/emulsiV/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Insert sh scripts

carlosdelfino opened this issue · comments

https://github.com/Guillaume-Savaton-ESEO/emulsiV/blob/83ffa5c9f66e5a6330398037730883d43a2d55af/package.json#L12-L14

I use windows 10 with mingw, and I never had any problems with NPM, but in this version he is complaining about the path, so I added sh before the instructions which solved the problem.

Staying like this:

  "scripts": {
    "start": "sh node_modules/.bin/ws -o",
    "test": "sh node_modules/.bin/ws -o -d test",
    "lint": "sh node_modules/.bin/eslint src"
  },

I did not make a Pull Request, it would be a problem to change it, do I have another better option?

Thanks for the tip.
I will check that it still works for me with this change.
If it does not, I will search for the "official" way to write portable npm scripts.