TypeError When I try to execute this block of code this is what I get. Es ist toll und sehr hilfreich :) Das Problem, das ich habe, ist folgendes: Ich sende Bot-Antworten, die ein Objekt und keine einfache Zeichenfolge übergeben, und wenn ich dies tue, erhalte ich diese Fehlermeldung: ERROR TypeError: Cannot read property 'catch' of undefined at client.coffee:180:7 (siehe Anhänge … TypeError hubot-slack - TypeError: Eigenschaft 'catch' von undefined kann … You need to put your query() call inside new Promise(). Uncaught (in promise) TypeError: Cannot read property 'catch' of undefined 2021-09-20; 抛出 ERROR TypeError: Cannot read property 'emit' of undefined 2017-12-29; useLocation hook undefined on startup: TypeError: Cannot read property 'location' of undefined 2021-04-06; vue.js push 给出 TypeError: Cannot read property 'name' of … TypeError: Cannot read property 'replace' of undefined 问题描述如下:同样的vue项目部署到一个测试环境,和正式生产环境后生产环境竟然报了一个错(Uncaught (in promise) TypeError: Cannot read property ‘catch’ of undefined): 测试环境: 生产环境: 这是为什么呢?暂时考虑是不是项目里没有package-lock.json这个文件的原因?