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回购中。 –