Npm installing pxt/target stucks

Hello my friends, I got stucked at the very first step to setup a local PXT dev env. With https://github.com/carlosperate/pxt-banana, a pxt target microbit command hangs for ever and I have to press Ctrl-C to abort it:

$ npx pxt target microbit --no-save
Installing pxt-microbit --no-save locally; don’t worry about package.json warnings.
npm warn deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you wan
t a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.

npm warn deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumst
ances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
npm warn deprecated request@2.88.0: request has been deprecated, see https://github.com/request/request/issues/3142
npm warn deprecated svgo@1.3.2: This SVGO version is no longer supported. Upgrade to v2.x.x.
npm warn deprecated puppeteer@13.0.1: < 22.8.2 is no longer supported
⠇^C
npm error path /home/user1/devel_imq/qbuild/pxt-banana-master/node_modules/puppeteer
npm error command failed
npm error signal SIGINT
npm error command sh -c node install.js
npm error A complete log of this run can be found in: /home/user1/.npm/_logs/2024-12-08T14_46_09_966Z-debug-0.log

With the PXT sample target similar things happen when executing npm install pxt.

Please help!


Muzee

I have an update on the issue mentioned ealier in this topic. The next day at 4:36 am I retried, and everything went fine, the problem disappeared. So, I learned a valuable first lesson in PXT development: if npm install gets stuck, set an alarm for 4:36 am the next morning and go do something else!