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
Application fail to respawn after file modification has been detected #243
Comments
@bobbui I feel your pain. As temporary workaround I rolled back from 1.1.1 to 1.1.0, problem gone. |
Revert to 1.1.0 does not work for me. |
There were reports on this #241 not sure what it may be caused by. This also probably affects MacOs users. Try to use |
I caught that error after upgrading my storybook ( |
Same here within a nuxt(https://nuxtjs.org/) project. I had to upgrade a few dependencies, but nothing really crucial and since today it's randomly throwing those errors while being in watch mode for compilation. Upon some changes everything's compiling just fine, sometimes it pops up out of the blue. Haven't noticed any pattern.
|
Reverting also didn't work for me. After the error my CPU usage remains high (can see a 100% |
Same issue for me. I want to mention this that the port continues to stay open on my server and I have to look up the PID and kill it manually every time this happens (pretty awful DX) Using Node 14.15.4
I also see this which I haven't before, granted I am using this in conjuction with a graphql code generator named "nexus"
|
Any progress on this one? |
This bug basically completely breaks this tool — is there anything we can do to help? |
On the nuxt side of things it seems that this issue was solved through this: fsevents/fsevents#356 |
Having this problem still. |
I can confirm that. Even with |
Try to upgrade. |
Still having the same issue on |
Can confirm, still an issue:
|
Same trouble here on Any observations yet, if Is this issue introduced from |
If you still have this issue on macOS it is likely related to Version Fix:
(I can confirm it works on my environment) |
I have been trying version 2.3.2 of fsevents this afternoon, but for me the original issue still occurs. (macOS 10.15.7) |
Still getting this issue |
For the people that are still having this problem, the alternative solution suggested here worked for me: #258 |
Issue description
The application fails to respawn after a few restarts:
command :
cross-env NODE_ENV=development ts-node-dev --debug --files --respawn --project tsconfig.json --transpile-only --inspect --watch .env,../common/src, -- src/devIndex.ts
I think the most relevant part is Assertion failed: (napi_create_string_utf8(env, events->events[idx].path, NAPI_AUTO_LENGTH, &args[0]) == napi_ok), function fse_dispatch_event, file ../src/fsevents.c, line 147.
but a quick Google search returns absolutely nothing 😢
Context
OS version (is it docker or host?), ts-node-dev version
Mac OS 10.15.7
ts-node-dev@1.1.1
node v15.4.0
Did you try to run with ts-node?
yes
Did you try to run with
--files
option enabled?yes
Did you try to run with
--debug
option enabled?yes
Do you have a repro example (git repo) with simple steps to reproduce your problem?
no
The text was updated successfully, but these errors were encountered: