Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Insert sh scripts #15

Open
carlosdelfino opened this issue Mar 17, 2021 · 1 comment
Open

Insert sh scripts #15

carlosdelfino opened this issue Mar 17, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@carlosdelfino
Copy link
Contributor

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?

@Guillaume-Savaton-ESEO
Copy link
Collaborator

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.

@Guillaume-Savaton-ESEO Guillaume-Savaton-ESEO added the bug Something isn't working label Mar 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants