在线观看不卡亚洲电影_亚洲妓女99综合网_91青青青亚洲娱乐在线观看_日韩无码高清综合久久

鍍金池/ 問答/網(wǎng)絡安全  HTML/ thinkjs 按照文檔配置后報錯

thinkjs 按照文檔配置后報錯

按照文檔配置后提示錯誤找不到模塊think-websocket
extend.js
const view = require('think-view');
const model = require('think-model');
const cache = require('think-cache');
const session = require('think-session');
const websocket = require('think-websocket');

module.exports = [
view, // make application support view
model(think.app),
cache,
sessionwebsocket(think.app),
];

config.js
module.exports = {
stickyCluster: true,
// ...
};
報錯 Error: Cannot find module 'think-websocket'

回答
編輯回答
遲月

找不到模塊安裝啊,npm i think-websocket

2018年1月25日 02:20