Botframework-composer: Cannot build composer from source

Created on 4 Jan 2021  路  4Comments  路  Source: microsoft/BotFramework-Composer

I tried this : https://docs.microsoft.com/en-us/composer/install-composer#build-composer-from-source

But got problems when run yarn at terminal in ...\BotFramework-Composer\Composer
image
It didn't run anymore...

Then , I tried other way with running yarn install && yarn build
image

Version

Browser

  • [ ] Electron distribution
  • [ ] Chrome
  • [ ] Safari
  • [ ] Firefox
  • [ ] Edge

OS

  • [ ] macOS
  • [ ] Windows
  • [ ] Ubuntu

To Reproduce

Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior

Screenshots

Additional context

Bot Services Support Bug customer-replied-to customer-reported

Most helpful comment

Hi @Khanh-Ngy , reinforcing what @tdurnford said, right now we only support compiling and running on LTS versions of Node (v10, v12, v14 are ok). Can you revert to an LTS version and try compiling again?

All 4 comments

@Khanh-Ngy What version of Node and what operating system are you using? I ran into a similar issue when I was using Node v15. Reverting to Node v14 resolved the issue.

Hi @Khanh-Ngy , reinforcing what @tdurnford said, right now we only support compiling and running on LTS versions of Node (v10, v12, v14 are ok). Can you revert to an LTS version and try compiling again?

@taicchoumsft thanks for the clarification.

In the Install Bot Framework Composer article we:

  • Updated the wording of the Node.js versions to: Use the latest LTS 14.x or 12.x release line.
  • Added the supported OS link in the prerequisite section of building Composer from source.

The fixing PR has been merged to master and the content will go live soon.

@Khanh-Ngy What version of Node and what operating system are you using? I ran into a similar issue when I was using Node v15. Reverting to Node v14 resolved the issue.

So many tks bro !!
I changed node version 15 to 14 && it worked fine <3

Was this page helpful?
0 / 5 - 0 ratings

Related issues

gbelenky picture gbelenky  路  22Comments

kalebk picture kalebk  路  16Comments

stephanbisser picture stephanbisser  路  21Comments

saikumaru picture saikumaru  路  18Comments

arafattehsin picture arafattehsin  路  15Comments