我無法在Ubuntu 16.04上安裝Microsoft模擬器。在Ubuntu上安裝Bot Framework模擬器時出錯
我從網上下載門戶BotFramework-Emulator-3.5.29.zip
文件,然後提取並運行npm install
成功(但得到以下消息):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected]^1.0.1(node_modules/7zip-bin/node_modules/7zip-bin-mac):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected]^2.1.0 (node_modules/7zip-bin/node_modules/7zip-bin-win):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"win32","arch":"any"} (current: {"os":"linux","arch":"x64"})
然後gulp build-app
引發以下錯誤:
[14:32:40] Using gulpfile /var/www/BotFramework-Emulator-3.5.29/gulpfile.js
[14:32:40] Starting 'clean'...
[14:32:40] Finished 'clean' after 23 ms
[14:32:40] Starting 'build-app'...
[14:32:40] Compiling TypeScript files using tsc version 2.1.5
[14:32:46] [tsc] > node_modules/botframework-directlinejs/built/directLine.d.ts(204,13): error TS2304: Cannot find name 'object'.
[14:32:46] Failed to compile TypeScript: Error: tsc command has exited with code:1
events.js:160
throw er; // Unhandled 'error' event
^
Error: Failed to compile: tsc command has exited with code:1
什麼問題了嗎?模擬器或MS團隊集成?你的標題不明確 –
@NicolasR在ubutu安裝BotFramework在線仿真器應用 https://github.com/Microsoft/BotFramework-Emulator/releases/tag/v3.5.29 –
好,我清理標題,標籤和內容 –