Azure / ibex-dashboard

Custom Analytics Dashboard for Microsoft Bot Framework and other applications as well
http://aka.ms/ibex
MIT License
169 stars 189 forks source link

Failed to compile #122

Closed chitrang89 closed 7 years ago

chitrang89 commented 7 years ago

Hey Guys,

First of all, keep up the great work you guys are doing :) I just tried to clone,compile and run locally but running into compile issues. So far, I've tried to check out other branches but no go, also updated my node version. Im running this on a mac. Here's the screenshot of the compilation error I'm getting. Any advise would be great.

Thanks

err
morsh commented 7 years ago

@chitrang89 - thanks for the issue, we just merged in a lot of pulls from a hackfest. I'll make sure to check this tomorrow and find out the problem.

chitrang89 commented 7 years ago

Lovely. In the meantime, is there a stable build/branch I could check out?

morsh commented 7 years ago

@chitrang89 can you try this? https://github.com/CatalystCode/ibex-dashboard/tree/fix-adv-dash-templates

I suspect it's a small ta compile error, but I'll only be able to check it tomorrow.

morsh commented 7 years ago

@chitrang89 -

  1. What's your typescript version? tsc -v
  2. What are the reproduction steps? I know this code ran on several computers this week (PC/Mac)
chitrang89 commented 7 years ago

2.3.2 - I just downloaded the source, npm install and yarn start:dev

morsh commented 7 years ago

I'm guessing this is because you're using a newer version of typescript

morsh commented 7 years ago

Hi, I tried reproducing by installing typescript 2.3.2, then cloning the repo and rerunning: yarn yarn run start:dev

And I still can't reproduce the problem.

When you're running yarn run client:start I'm seeing the following line in the console (even though I installed the new version of Typescript): ts-loader: Using typescript@2.2.1 and C:\temp\ibex-dashboard\tsconfig.json

If you want, we can have a Skype meeting to understand why this happens on your machine.

deadlyfingers commented 7 years ago

@chitrang89 I see you mentioned you did npm install, but can you try yarn install instead? Lmk if this issue still happens and was this theibex-version-1.0 or master branch?

chitrang89 commented 7 years ago

Hi Guys,

I just checked out a fresh copy and "connections-bot-framework" branch, ran yarn install and that seems to have done the magic. Thanks so much @deadlyfingers and @morsh for helping me out with this :)