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
Windows: Doesn't work because of .bin executable issue #613
Comments
@gyandeeps why do you use If you delete |
I am not doing anything special, that how npm works on windows. I deleted |
Well, does |
So whenever you execute a package through npm like {
"lint": "eslint"
}
Initially I installed |
I am also getting this issue: OS: Windows 8.1 |
Same issue here. |
Using git bash (on Windows 10) and installing
https://docs.npmjs.com/files/package.json#bin
For npm to create the shim right, as suggested by @gyandeeps, the script defined in the |
Any news? Below the script expected for
You can notice there is something wrong in the installation because |
Fixed in #713 |
* add support of nodejs 0.10 * handle 'incorrect header check' error from gunzip * fix progress bar * use async-retry restart after 'incorrect header check' * fix for #613
The issue still exists on git bash on windows |
@zusamann I don't think the patch was included in the latest version Or do you mean you tested the master and it doesn't work? |
Oh sorry for the confusion, I simply used the latest release and did not build from master. |
|
👌 |
Getting this issue today on version 8.1.0, Windows 10, using gitbash. Anybody have a solution? Keep getting No such file or directory. |
same here... I had to use powershell to make it work... |
Same on 8.2.1 with git bash... |
Sigh. See also #729.
Anyway using |
We haven't tackled Git for Windows yet, but I suppose we should do that, now that so many people are interested in it. @igorklopov? |
now not working on Windows 10 : Git Bash. Node Version: v8.5.0 Error: /c/Users//AppData/Roaming/npm/now: line 1: /node_modules/now/download/dist/now: No such file or directory Content of /c/Users/Nikunj/AppData/Roaming/npm/now "$basedir/node_modules/now/download/dist/now" "$@" |
i'm getting the same |
I'm no expert but shouldn't
I think that's what I've seen in most bootstrap scripts. |
Windows 10, Git Bash |
Sigh again. Any news? |
@leo are you sure? Using git bash
|
@albertosantini What command did you use to install it? |
|
It should be |
Well... I want to install locally (per project) the package and there should not be any diff in terms of "executable". At least, I didn't notice any difference using other tools, if they are installed globally or locally. I don't (cannot) think |
* add bench * remove yarn.lock * refactor and extract launcher logic * add entrypoints to bench * Update packages/now-node/src/launcher.ts Co-Authored-By: Steven <steven@ceriously.com>
Environment
Steps
Install
npm install now
Run
Error
Findings
Current: node_modules/.bin/now
Expected: node_modules/.bin/now
Note: By making this change it fixes the issue
ESLint example
I used ESLint generated code and replaced the file paths.
Notes/Questions
ESLint
doesn't do anything special and all this is generated by npm install process.The text was updated successfully, but these errors were encountered: