How to build LuciNg2?

Hi All,

I am very new to OpenWRT.
Can anyone guide me how to build LuciNg2?
I am facing difficulties in setting up a local development environment.

Steps I tried.
1.checkout https://github.com/jow-/luci-ng
2. cd luci2-ui-core/src
3. npm install
4. npm run start

Error that i am getting.

ERROR in node_modules/reactive-json-form-ng/lib/core/expressionProvider.d.ts(1,10): error TS2305: Module '"/home/warlock/ledeproject/luci-ng/luci-ng/luci2-ui-core/src/node_modules/espression/dist/src/main"' has no exported member 'ILvalue'.
node_modules/reactive-json-form-ng/lib/core/expressions.d.ts(7,10): error TS2305: Module '"/home/warlock/ledeproject/luci-ng/luci-ng/luci2-ui-core/src/node_modules/espression/dist/src/main"' has no exported member 'ILvalue'.
src/app/widgets/rootContext.ts(9,10): error TS2305: Module '"/home/warlock/ledeproject/luci-ng/luci-ng/luci2-ui-core/src/node_modules/reactive-json-form-ng/reactive-json-form-ng"' has no exported member 'ROOT_CONTEXT'.
src/app/widgets/status/expansion/expansion.component.ts(24,41): error TS2314: Generic type 'AbstractWidget<T>' requires 1 type argument(s).
src/app/widgets/status/level/level.component.ts(20,37): error TS2314: Generic type 'AbstractWidget<T>' requires 1 type argument(s).
src/app/widgets/status/status.module.ts(21,31): error TS2345: Argument of type '{ widgets: { type: string; component: typeof LevelComponent; }[]; }' is not assignable to parameter of type 'IAutoFormConfig'.
  Types of property 'widgets' are incompatible.
    Type '{ type: string; component: typeof LevelComponent; }[]' is not assignable to type 'IWidgetConf | IWidgetConf[]'.
      Type '{ type: string; component: typeof LevelComponent; }[]' is not assignable to type 'IWidgetConf[]'.
        Type '{ type: string; component: typeof LevelComponent; }' is not assignable to type 'IWidgetConf'.
          Types of property 'component' are incompatible.
            Type 'typeof LevelComponent' is not assignable to type 'Type<AbstractWidget<any>>'.
              Type 'LevelComponent' is not assignable to type 'AbstractWidget<any>'.
                Property '_cdr' is missing in type 'LevelComponent'.
src/app/widgets/uci/config/config.component.ts(19,38): error TS2314: Generic type 'AbstractWidget<T>' requires 1 type argument(s).
src/app/widgets/uci/section/section.component.ts(15,42): error TS2314: Generic type 'AbstractWidget<T>' requires 1 type argument(s).
src/app/widgets/uci/section/section.component.ts(25,10): error TS2339: Property 'bindings' does not exist on type 'UciSectionComponent'.
src/app/widgets/uci/section/section.component.ts(25,38): error TS2339: Property 'bindings' does not exist on type 'UciSectionComponent'.
src/app/widgets/uci/section/section.component.ts(29,63): error TS2345: Argument of type '{}' is not assignable to parameter of type 'string'.
src/app/widgets/uci/uci.module.ts(26,31): error TS2345: Argument of type '{ widgets: ({ type: string; component: typeof ConfigComponent; } | { type: string; component: typ...' is not assignable to parameter of type 'IAutoFormConfig'.
  Types of property 'widgets' are incompatible.
    Type '({ type: string; component: typeof ConfigComponent; } | { type: string; component: typeof UciSect...' is not assignable to type 'IWidgetConf | IWidgetConf[]'.
      Type '({ type: string; component: typeof ConfigComponent; } | { type: string; component: typeof UciSect...' is not assignable to type 'IWidgetConf[]'.
        Type '{ type: string; component: typeof ConfigComponent; } | { type: string; component: typeof UciSecti...' is not assignable to type 'IWidgetConf'.
          Type '{ type: string; component: typeof ConfigComponent; }' is not assignable to type 'IWidgetConf'.
            Types of property 'component' are incompatible.
              Type 'typeof ConfigComponent' is not assignable to type 'Type<AbstractWidget<any>>'.
                Type 'ConfigComponent' is not assignable to type 'AbstractWidget<any>'.
                  Property '_cdr' is missing in type 'ConfigComponent'.

Can anyone guide me in right direction.
Thanks in Advance.
-Abhijeet