Closed changeling closed 6 years ago
I'm getting the following error whenever I run either setup.sh or npm start.
I've tried the following node installs: v7.7.3 v7.10.1 v8.0.0 v8.1.0 v7.7.3 v9.11.1
This is more likely related to a different version of typescript. Can you run the following:
grep version node_modules/typescript/package.json
I am using 2.5.3 here
This is more likely related to a different version of typescript. Can you run the following:
grep version node_modules/typescript/package.json
Done:
"version": "2.5.3",
Any thoughts on further debugging on my end?
I have much experience with Python, but am just becoming familiar with JS. I'm unsure how to proceed. Thanks!
Any thoughts on further debugging on my end? I have much experience with Python, but am just becoming familiar with JS. I'm unsure how to proceed. Thanks!
Thanks for the proposal. I spent some time debugging yesterday, by deleting node_modules and restarting from scratch. But now I am getting compilation errors in third party modules, so I guess I had done some local changes to those modules… Trying to fix that situation, before I can investigate things on geneaprove’s own code…
Will let you know the state of things Emmanuel
Thank you, Emmanuel! Let me know if I can help test things out.
Thank you, Emmanuel! Let me know if I can help test things out.
I think it is fixed now. I managed to reproduce the same errors you were seeing. The code was indeed incorrect, but for some reason my previous setup did not show them. Seems like with react/typescript/javascript it is best to regularly delete the node_modules/ directory and restart from scratch from a clean slate.
Looks like that did indeed fix these errors. Thank you again. Perhaps having a --reset
option in setup.sh
, or a separate reset.sh
script might be an idea to consider for folks who are having issues.
Looks like that did indeed fix these errors. Thank you again. Perhaps having a --reset option in setup.sh, or a separate reset.sh script might be an idea to consider for folks who are having issues.
Could you perhaps open a github issue for that suggestion so that it doesn’t get lost ? Thanks for your pull requests, too !
Doing so now. And you're welcome!
(For what it is worth, that was my very first PR on GitHub ever. Let me know if I did it correctly, or if I should do differently in the future.)
(For what it is worth, that was my very first PR on GitHub ever. Let me know if I did it correctly, or if I should do differently in the future.)
All good. I perhaps would not have made so many small commits myself, I think I would have merged them, but it doesn’t matter all that much in practice
I'm getting the following error whenever I run either setup.sh or
npm start
.I've tried the following node installs: v7.7.3 v7.10.1 v8.0.0 v8.1.0 v7.7.3 v9.11.1