Running new-backend on Windows machines with Node > 16.x #906
-
Describe the bug To Reproduce git clone . . . Expected behavior Desktop (please complete the following information):
Additional context |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 1 reply
-
I've seen this issue on Windows-machines as well. Seems to be Node > 16.x related. I fixed it by changing the following: A more long-term solution is coming up! |
Beta Was this translation helpful? Give feedback.
-
It seems like Nodemon cannot find the packages for some reason. Use the fix above until we've figured out how to avoid this. |
Beta Was this translation helpful? Give feedback.
-
For clarity: |
Beta Was this translation helpful? Give feedback.
-
Thanks @Hallbergs ! Now it works! |
Beta Was this translation helpful? Give feedback.
-
@perosoderstrom I pushed the fix to develop so that you don't have to remember to add the line yourself :) Hopefully we can add a more long-term solution soon! |
Beta Was this translation helpful? Give feedback.
I've seen this issue on Windows-machines as well. Seems to be Node > 16.x related. I fixed it by changing the following:
"dev": "nodemon server --exec babel-node --config .nodemonrc.json",
to"dev": "nodemon server --exec ./node_modules/.bin/babel-node --config .nodemonrc.json",
A more long-term solution is coming up!