li-dennis / chromeJoule

41 stars 9 forks source link

No longer builds with stable node distro #8

Open w-barath opened 1 year ago

w-barath commented 1 year ago

Thanks for this great piece of research.

My partner got me a Joule for Xmas and I'm really not a fan of the Joule app's microscopic fonts which ignore every system setting including accessibility! 😞

Attempting to build in 2022 using Ubuntu 22.04 with node --version=v12.22.9:

$  git clone https://github.com/li-dennis/chromeJoule.git
$  cd chromeJoule/
$  npm install
$ grep -i " warn\b\| error\b"  /home/sid/.npm/_logs/2023-01-05T06_49_43_997Z-debug-0.log

[... many many deprecation warnings cut out]

1765 warn deprecated mkdirp@0.5.1: Legacy versions of mkdirp are no longer supported. Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.) 1826 warn deprecated buffer@4.9.1: This version of 'buffer' is out-of-date. You must update to v4.9.2 or newer 2141 warn deprecated core-js@1.2.7: core-js@<3.23.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Some versions have web compatibility issues. Please, upgrade your dependencies to the actual version of core-js. 2145 warn deprecated core-js@2.5.0: core-js@<3.23.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Some versions have web compatibility issues. Please, upgrade your dependencies to the actual version of core-js. 2159 error code E404 2160 error 404 Not Found - GET https://registry.npmjs.org/websocket-rpc-stream/-/websocket-rpc-stream-0.0.15.tgz - Not found 2161 error 404 2162 error 404 'websocket-rpc-stream@https://registry.npmjs.org/websocket-rpc-stream/-/websocket-rpc-stream-0.0.15.tgz' is not in this registry. 2163 error 404 You should bug the author to publish it (or use the name yourself!)

$ git reset --hard
$ rm -f package-lock.json  # try to let it install fresher versions where ">=" was given
$ node install

npm ERR! Cannot convert undefined or null to object npm ERR! A complete log of this run can be found in: npm ERR! /home/sid/.npm/_logs/2023-01-05T06_59_39_718Z-debug-0.log

Still pretty much same deprecated / unsupported warnings and the same 404, leading to slightly different fatal error.

If you're still using this and plan to update it for your own use, I'd be grateful if you bump whatever packages are needed for it to build again (or maybe add a zip of a successful build?)

I have no experience with Chrome extensions or the runtimes you've included, but I do have experience with APIs so in worst case I can probably learn about the API from your code and write a commandline tool, which I guess would be nice if I wanted to use it with at or cron πŸ˜„