微信小程序雲函數中有以下未安裝的依賴,在新建的雲函數,右擊終端打開->cmd,安裝依賴
npm install --production
依賴安裝成功之後,文件裏面會出現
package-lock.json
微信小程序雲函數中有以下未安裝的依賴,在新建的雲函數,右擊終端打開->cmd,安裝依賴
npm install --production
依賴安裝成功之後,文件裏面會出現
package-lock.json
微信小程序真機調試時出現了,Error: request:fail url not in domain list:api.xxx.com 需要把網址添加到合法域名中,見圖 --- 自用 不解釋