0
我在Azure中創建一個Web應用程序。@ line/bot-sdk in azure not working
並從存儲庫中的bitbucket中進行部署。
但蔚藍總是給我這個錯誤
Error: Cannot find module '@line/bot-sdk'
的package.json:
{
"name": "linebot",
"version": "1.0.0",
"description": "",
"main": "index.js",
"dependencies": {
"@line/bot-sdk": "^2.0.0",
"body-parser": "^1.17.2",
"express": "^4.15.3",
"fs-extra": "^3.0.1"
},
"devDependencies": {},
"engines": {
"node": ">=6"
},
"scripts": {
"start": "node index.js"
},
"author": "",
"license": "ISC"
}
我輸入'LS node_modules'在蔚藍的控制檯窗口,我不能在裏面找「@line」文件夾中。但它確實存在於BitBucker回購中。 –