In here i give you advices based on my experience.
like this issue and this issue
Hubs build with lot of dependencies. And it keep update.
I using github action runner that run npm install
when i commit to master
branch. Problem like this is dangerous on production phase it will make the entire app is crash.
- Package keep update because this symbol
^
"core-js": "^3.6.5",
"dashjs": "^3.1.0",
"deepmerge": "^2.1.1",
"detect-browser": "^3.0.1",
"downshift": "^6.0.5",
"draft-js": "^0.10.5",
- Package keep updating because point to the branch
"ammo.js": "github:mozillareality/ammo.js#hubs/master",
"animejs": "github:mozillareality/anime#hubs/master",
-
NPM version (rare) use the LTS version instead.
-
Cache (rare)
-
Environment library change (rare)
"aframe": "github:mozillareality/aframe.git#033ec6571ff6ec2c9162e26ff4e23ee2e65afc12",
"core-js": "3.6.5",
"dashjs": "3.1.0",
"deepmerge": "2.1.1",
"detect-browser": "3.0.1",
"downshift": "6.0.5",
"draft-js": "0.10.5",
Sometime it work.
If you see an update in hubs like adding feature or something. you can clone it first and check it first. make sure it work. then compare the code manually. please correct me if im doing wrong way.
Dependencies crash is really dangerous, so always provide backup.Backup this file and folder to
/home/admin/hubs-action-runners/<hubs or spoke or dialog>/backup
node_modules
package-lock.json
package.json