-
Notifications
You must be signed in to change notification settings - Fork 15
Update code to work with recent version of node #137
Comments
Thanks, and sorry for the delay in response! I will update this. Your error as reported in #136 has to do with the canvas module, and I'll do my best to make that work. The big issue has to do with the build process, and can be tricky. |
(I will also make sure this is compatible with node 12) |
Hi @dariusk just wondering whether you think you may have time to look at this? Or if there is anything I can do? |
Sorry about this, it got lost in holiday obligations and then off my radar. Am digging in right now and will let you know. I'm trying to update everything so there are no more vulnerabilities etc. It might take me a few sessions of development over the course of this week to get everything in good working order. |
I think I have everything done but now I need to test everything to make sure nothing broke. Hopefully will have code merged by Friday. |
Yay, something to test on a bleak February weekend! ;-) Thanks! |
Looking forward to your merge. :-) |
I've made a PR from a branch -- this works for me but my testing environment is pretty limited. If you could give it a try and let me know if you manage to get Shortcut running that would be great. Thank you for the issue and sorry again for the delays. |
@dariusk Thanks for that. I'm supposing the branch is |
Following the instructions in the Wiki (the Getting started for developers page) I managed to set up the client and the server and the episode server almost without a hitch. The server is running with a couple of warnings but no errors (app.js too big and mode falls back to production). However, no recent episodes are displayed (following the guide I expected to see the Nixon resignation episode). Below a screenshot of what the server shows (note I updated the tagline to see whether that worked). Also, the logo is broken because the image path is somehow not correctly interpreted: I called the client URL to add an episode (I guess) http://localhost:3000/api/ABC123/update/s01e01 which returned the expected success message:
Furthermore, in the client console I can see this output (is it a problem that
Also, the S3 test bucket has been configured for read access by anyone and with a CORS policy of The local data bucket at http://localhost:8081/ is also running and serving the Would you have an idea where to look for the problem? |
Hi @dariusk, just politely asking whether my bug report above is useful or whether the problem is entirely on my end. I know we all have other issues right now (hope you're safe!), so no hard feelings if not! Thanks. |
As reported in ticket #136 the last known version of node that allows building the project was version 8-based. More recent versions, like v12, throw errors. As the modules that work with version 8 are rather outdated and cannot always be updated automatically via an
npm audit fix
, I'd like to request that the code base could be updated to a recent version of node. Thank you for this great project that I'd like to potentially use!Another suggestion, although I'm not sure how realistic it is, would be to indicate in the developer documentation to use node version 8 for installation, and for running a more recent node version. I haven't yet tried to run the application with either version so I'm not well placed. Maybe later.
The text was updated successfully, but these errors were encountered: