Closed Specks8553 closed 1 year ago
Your npm is version 8.x, this is a legacy branch. Please upgrade to version 9.x and try again.
sudo npm install npm@latest -g
should do the upgrade.
Many thanks for the quick reply. The Problem persists after updating npm to v9.5.0. I added the new log. 2023-02-18T14_23_37_832Z-debug-0.log
Does it make a difference if you run npm install
instead of npm install --omit=dev
?
This fixed it
Nice :slightly_smiling_face: I've made an adjustment so others don't stumble across the same problem. Have fun with your mirror!
On installtion i get the following error after running
npm install --omit=dev
sh: 1: husky: not found npm ERR! code 127 2023-02-18T12_09_29_373Z-debug-0.log
npm ERR! path /home/adrian/MagicMirror/modules/MMM-PublicTransportHafas npm ERR! command failed npm ERR! command sh -c -- husky install
npm ERR! A complete log of this run can be found in: npm ERR! /home/adrian/.npm/_logs/2023-02-18T12_09_29_373Z-debug-0.log
I attached the log file