-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
nodemon 1.18.9 not working in windows 10 *64 #1501
Comments
I have this exact problem! it works on my macbook but not in my windows.... =_= |
I am also facing the same problem on windows 8.1 and nodemon version 1.18.9 |
Care to debug rather than "me too"? Happy to take PRs that will fix or even some actual debugging information to replicate and fix… |
I got this glitch after installing the latest update of nodemon. So I tried to revert back to the old version and it doesn't do anything. I think the update does something on the windows operating system that cannot remove even after uninstall and installing (reinstall) the nodemon package. |
I tries debugging by reverting back to old versions... and guess what? |
Those old versions also include deep vulnerabilities, which is why older versions are not supported. |
I am using version 1.17.15 for about an hour now and it was stuck at restarting due to changes. The same issue in version 1.18.x. |
Hello everyone, some goes for OSX. Info nodemon is installed locally, not globally. We had this in #1435. Edit: Cheers, |
Same here, been looking for a solution all over. Windows 10, reverting to @1.17.15 didn't make a difference |
This issue has been automatically marked as idle and stale because it hasn't had any recent activity. It will be automtically closed if no further activity occurs. If you think this is wrong, or the problem still persists, just pop a reply in the comments and @remy will (try!) to follow up. |
Can you all retest with [email protected] - it might fix the issue you were seeing. Otherwise, since there's been no interest in finding the source of the issue on this thread, I'll close it in a few days. |
Hi @remy, I've upgraded to 1.18.10, but to no avail.. |
@LemuelCushing can you detail what you're seeing and how you're able to replicate with as little code as possible? |
If you want to use nodemon on Windows 10 but can't get it to work globally you can always install it as a dev dependency, cd into your project directory, and run |
@remy sorry for the delay - I've just set up a simple package with nothing but nodemon and the basic "hello world" app.js file. I'm using nodemon as a dev dependency, and my ⨯ Lemuel Cushing@CUTHBERT C\..\nodemon_test yarn start yarn run v1.13.0 $ nodemon app.js [nodemon] 1.18.10 [nodemon] to restart at any time, enter `rs` [nodemon] watching: *.* [nodemon] starting `node app.js` Server running at http://127.0.0.1:3000/ When I make a change to app.js and save it, I get If I add the -V flag, the follwing is displayed: Lemuel Cushing@CUTHBERT C\..\nodemon_test yarn start yarn run v1.13.0 $ nodemon -V app.js [nodemon] 1.18.10 [nodemon] to restart at any time, enter `rs` [nodemon] or send SIGHUP to 34116 to restart [nodemon] watching: *.* [nodemon] watching extensions: js,mjs,json [nodemon] starting `node app.js` [nodemon] forking [nodemon] child pid: 10640 [nodemon] watching 3 files Server running at http://127.0.0.1:3000/ And after I save a change: [nodemon] files triggering change check: app.js [nodemon] matched rule: **\*.* [nodemon] changes after filters (before/after): 1/1 [nodemon] restarting due to changes... [nodemon] app.js [nodemon] files triggering change check: app.js [nodemon] matched rule: **\*.* [nodemon] changes after filters (before/after): 1/1 [nodemon] restarting due to changes... [nodemon] app.js |
This issue has been automatically marked as idle and stale because it hasn't had any recent activity. It will be automtically closed if no further activity occurs. If you think this is wrong, or the problem still persists, just pop a reply in the comments and @remy will (try!) to follow up. |
I'm having same issue on Windows Server 2016. I've tried nodemon globally and locally and no luck. If I run in verbose mode it says watching 0 files despite having my app.js file clearly present. It also reads that it's watching . with extensions: js,mjs,json ... anybody having luck with this? |
The issue is with chokidar since 2.1.3. See paulmillr/chokidar#812 This can be fixed in nodemon by setting |
Fixed chokidar. |
Star, I'll push a bumpped version of nodemon to pull the updated dep
(others: you sho be able to reinstall nodemon and it *should* pick up the
latest change in chokidar.
…On Fri, 22 Mar 2019, 21:20 Paul Miller, ***@***.***> wrote:
Fixed chokidar.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1501 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAA1hMypfdYk6PZ2pP65KSiFiyf92TTpks5vZUkpgaJpZM4Z3Z_V>
.
|
I'm having a similiar issue in Windows 10 Pro and [email protected]. I'm using the command:
Nodemon is not restarting when a file is modified 😢. I installed version 1.18.0 and this command works like a charm. 🐱🐉 |
@d4rth-v4d3r What do you get when you run this?
If you see |
@remy Can you bump the chokidar dependency to 2.1.5? Currently, reinstalling nodemon doesn't work if [email protected] is already in the dependency tree either directly or from another package. For example, if I run Nuking |
This is my output
|
@d4rth-v4d3r That's strange. What are the |
|
@d4rth-v4d3r your version of nodemon is 1.18.0 not the latest. @jordanbtucker thank you for your support on this thread - much appreciated 👍 ❤️ I'm pushing a release that upgrades chokidar directly - though most users should get the dep upgrade automatically as it pulls chokidar@^2.1.0 |
@d4rth-v4d3r I installed your dependencies. I was able to get it working by reinstalling nodemon.
Since nodemon is the only dependency that requires [email protected], [email protected] will also get reinstalled at the latest version. Note that this is different than |
@remy I revert from version 1.18.10 to 1.18.0 because it was not working |
I'm having this issue with 1.19.0, windows 10 64bits also. |
@victorblq What do you get when you run this?
I just want to rule out whether it's an issue with chokidar. |
@jordanbtucker this:
|
Thanks. How about this?
Replace |
I'm following an expressjs tutorial, if I run:
it works, but not refresh with code changes (this original issue)
actually, I'm working at my laptop now(Linux) and everything is fine. Logged at my desktop(Windows) just to test your solution in case of anyone need it. |
This looks like a different issue since it's actually watching the file:
The error you're getting is because it needs to be transpiled with something like babel. Try this:
|
I had the same issue Windows 10, for whatever reason nodemon wont run on some of my projects, here's a duck-tape work around, ask npm to run a nodemon script in package.json then just run using another thing that worked for me was deleting the |
@shahidfoy Just running |
I had the same problem on win 7. The issue was founded accidentally. My solution was adding C:\Windows\System32\ to the system variable in the PATH. |
This worked for me! npm install -g nodemon npm install --save-dev nodemon npm config get prefix set PATH=%PATH%;C:\Users"Your User"\AppData\Roaming\npm; Source: |
You should run PowerShell as administrator then: |
it also worked for me in windows 10 64bit |
I'm having the same problem, can you help me please??? How can i solve it??? |
add C:\\Windows\System32\ in your path in envrionment variable
…On Tue, 18 Feb, 2020, 8:30 AM felipe, ***@***.***> wrote:
I'm having the same problem, can you help me please??? How can i solve
it???
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#1501?email_source=notifications&email_token=AOJPIEAHG7K7HX7G6ZKQW7TRDNFM7A5CNFSM4GO5T7K2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEMALXAY#issuecomment-587250563>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AOJPIEC5FV77VKRT5MFPRY3RDNFM7ANCNFSM4GO5T7KQ>
.
|
@LemuelCushing Can you solve it??? Send me a message to [email protected], if you can please |
@remy I retested it but when I update the file and make a new request I get the previous result, even with the nodemon running. Note: I started getting this problem with the latest version of the nodemon: 2.0.2 |
#1619 (comment) .... That link has the answer. |
|
I have installed nodemon
npm install nodemon --g
and the server is starting as it is suppose to but then while i change in my file
it says
restarting due to changes...
and nothing other then this line and the weird thing is
the server didnot restart i have restarted my pc tried updating the nodemon my friend is using same thing and in his computer it worked but not mine. I m not sure what the isuue is.
Can anyone help me here.
nodemon index.js [nodemon] 1.18.9 [nodemon] to restart at any time, enter
rs[nodemon] watching: *.* [nodemon] starting
node index.jsthe app is running.... [nodemon] restarting due to changes...
The text was updated successfully, but these errors were encountered: