September 19, 2017, 07:16:11 PM
Welcome, Guest. Please login or register
News: Stay up to date with everything that's happening at http://twitter.digitalsignage.com

MediaSignage support forum



Author Topic: Bug in Windows Installation  (Read 247 times)

dodo123n1

  • Newbie
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Bug in Windows Installation
« on: September 04, 2017, 02:19:00 AM »
Hi,

we need help for the installation of studio-lite.

we are doing this folloging steps:

git clone github.com/born2net/studio-lite.git"
cd studio-lite
npm install -g @angular/cli@latest
npm install

and after the npm install we get the error, see the url

my-catcher.de/error-studio-lite.png

Thanks for your help

admin

  • Administrator
  • Hero Member
  • *****
  • Posts: 4699
  • Karma: +32/-7
    • View Profile
Re: Bug in Windows Installation
« Reply #1 on: September 04, 2017, 08:00:32 AM »
please post the error stack trace (image) so we can see more ...

dodo123n1

  • Newbie
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Re: Bug in Windows Installation
« Reply #2 on: September 04, 2017, 09:05:45 AM »
 69% building modules 1723/1724 modules 1 active ...\node_modules\rxjs\InnerSubs
Date: 2017-09-01T12:30:46.555Z
Hash: 9f4eb70698ce4f50e564
Time: 102860ms
chunk {index} index.chunk.js, index.chunk.js.map () 499 kB {main}  [rendered]
chunk {index.0} index.0.chunk.js, index.0.chunk.js.map () 123 kB {main}  [render
ed]
chunk {index.1} index.1.chunk.js, index.1.chunk.js.map () 66.2 kB {main}  [rende
red]
chunk {index.2} index.2.chunk.js, index.2.chunk.js.map () 58.9 kB {main}  [rende
red]
chunk {index.3} index.3.chunk.js, index.3.chunk.js.map () 40.1 kB {main}  [rende
red]
chunk {index.4} index.4.chunk.js, index.4.chunk.js.map () 18.7 kB {main}  [rende
red]
chunk {index.5} index.5.chunk.js, index.5.chunk.js.map () 20.1 kB {main}  [rende
red]
chunk {index.6} index.6.chunk.js, index.6.chunk.js.map () 24.2 kB {main}  [rende
red]
chunk {index.7} index.7.chunk.js, index.7.chunk.js.map () 19.3 kB {main}  [rende
red]
chunk {inline} inline.bundle.js, inline.bundle.js.map (inline) 5.83 kB [entry] [
rendered]
chunk {main} main.bundle.js, main.bundle.js.map (main) 1.69 MB {vendor} [initial
] [rendered]
chunk {scripts} scripts.bundle.js, scripts.bundle.js.map (scripts) 2.16 MB {inli
ne} [initial] [rendered]
chunk {styles} styles.bundle.js, styles.bundle.js.map (styles) 407 kB {inline} [
initial] [rendered]
chunk {vendor} vendor.bundle.js, vendor.bundle.js.map (vendor) 9.42 MB [initial]
 [rendered]

WARNING in Circular dependency detected:
src\app\campaigns\add-content.ts -> src\app\scenes\scene-editor.ts -> src\app\ca
mpaigns\add-content.ts

WARNING in Circular dependency detected:
src\app\campaigns\campaign-orientation.ts -> src\services\yellowpepper.service.t
s -> src\app\campaigns\campaign-orientation.ts

WARNING in Circular dependency detected:
src\app\scenes\scene-editor.ts -> src\app\campaigns\add-content.ts -> src\app\sc
enes\scene-editor.ts

WARNING in Circular dependency detected:
src\comps\simple-grid-module\SimpleGridDraggable.ts -> src\comps\simple-grid-mod
ule\SimpleGridTable.ts -> src\comps\simple-grid-module\SimpleGridDraggable.ts

WARNING in Circular dependency detected:
src\comps\simple-grid-module\SimpleGridRecord.ts -> src\comps\simple-grid-module
\SimpleGridTable.ts -> src\comps\simple-grid-module\SimpleGridRecord.ts

WARNING in Circular dependency detected:
src\comps\simple-grid-module\SimpleGridTable.ts -> src\comps\simple-grid-module\
SimpleGridRecord.ts -> src\comps\simple-grid-module\SimpleGridTable.ts

WARNING in Circular dependency detected:
src\services\yellowpepper.service.ts -> src\app\campaigns\campaign-orientation.t
s -> src\services\yellowpepper.service.ts

ERROR in C:/studio-lite/src/app/scenes/scene-editor.ts (672,62): Property 'getBl
ockData' does not exist on type 'string'.
ERROR in C:/studio-lite/src/app/scenes/scene-editor.ts (684,56): Property 'getBl
ockData' does not exist on type 'string'.
ERROR in C:/studio-lite/src/app/scenes/scene-editor.ts (703,56): Property 'getBl
ockData' does not exist on type 'string'.
ERROR in C:/studio-lite/src/app/scenes/scene-editor.ts (1247,70): Property 'left
' does not exist on type 'string'.
ERROR in C:/studio-lite/src/app/scenes/scene-editor.ts (1248,69): Property 'top'
 does not exist on type 'string'.
ERROR in C:/studio-lite/src/app/scenes/scene-editor.ts (1255,54): Property 'getB
lockData' does not exist on type 'string'.
ERROR in C:/studio-lite/src/app/scenes/scene-editor.ts (1256,57): Property 'm_bl
ockType' does not exist on type 'string'.
ERROR in C:/studio-lite/src/app/scenes/scene-editor.ts (1257,111): Property 'cur
rentWidth' does not exist on type 'string'.
ERROR in C:/studio-lite/src/app/scenes/scene-editor.ts (1257,140): Property 'cur
rentHeight' does not exist on type 'string'.
ERROR in C:/studio-lite/src/app/scenes/scene-editor.ts (1257,170): Property 'ang
le' does not exist on type 'string'.
ERROR in C:/studio-lite/src/app/blocks/block-prop-json-item.ts (167,19): Propert
y 'name' does not exist on type 'string'.
ERROR in C:/studio-lite/src/app/blocks/block-prop-json-item.ts (168,52): Propert
y 'type' does not exist on type 'string'.
ERROR in C:/studio-lite/src/app/blocks/block-prop-json-item.ts (169,52): Propert
y 'name' does not exist on type 'string'.
ERROR in C:/studio-lite/src/app/blocks/block-prop-json-item.ts (167,19): Propert
y 'name' does not exist on type 'string'.
ERROR in C:/studio-lite/src/app/blocks/block-prop-json-item.ts (168,52): Propert
y 'type' does not exist on type 'string'.
ERROR in C:/studio-lite/src/app/blocks/block-prop-json-item.ts (169,52): Propert
y 'name' does not exist on type 'string'.
ERROR in C:/studio-lite/src/app/scenes/scene-editor.ts (672,62): Property 'getBl
ockData' does not exist on type 'string'.
ERROR in C:/studio-lite/src/app/scenes/scene-editor.ts (684,56): Property 'getBl
ockData' does not exist on type 'string'.
ERROR in C:/studio-lite/src/app/scenes/scene-editor.ts (703,56): Property 'getBl
ockData' does not exist on type 'string'.
ERROR in C:/studio-lite/src/app/scenes/scene-editor.ts (1247,70): Property 'left
' does not exist on type 'string'.
ERROR in C:/studio-lite/src/app/scenes/scene-editor.ts (1248,69): Property 'top'
 does not exist on type 'string'.
ERROR in C:/studio-lite/src/app/scenes/scene-editor.ts (1255,54): Property 'getB
lockData' does not exist on type 'string'.
ERROR in C:/studio-lite/src/app/scenes/scene-editor.ts (1256,57): Property 'm_bl
ockType' does not exist on type 'string'.
ERROR in C:/studio-lite/src/app/scenes/scene-editor.ts (1257,111): Property 'cur
rentWidth' does not exist on type 'string'.
ERROR in C:/studio-lite/src/app/scenes/scene-editor.ts (1257,140): Property 'cur
rentHeight' does not exist on type 'string'.
ERROR in C:/studio-lite/src/app/scenes/scene-editor.ts (1257,170): Property 'ang
le' does not exist on type 'string'.

webpack: Failed to compile.

admin

  • Administrator
  • Hero Member
  • *****
  • Posts: 4699
  • Karma: +32/-7
    • View Profile
Re: Bug in Windows Installation
« Reply #3 on: September 05, 2017, 06:26:34 AM »
just tried it here with no issues.
here are some things to check

1. make sure you are running latest version of node.js
2. running proper version of TypeScript (per package.json) and installed globally
3. running latest version of ng-cli


dodo123n1

  • Newbie
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Re: Bug in Windows Installation
« Reply #4 on: September 06, 2017, 02:47:45 AM »
Its not working, i get the same error anytime. Can you give me please a complete (with all steps) manual to install it on a windows server 2012r2?

admin

  • Administrator
  • Hero Member
  • *****
  • Posts: 4699
  • Karma: +32/-7
    • View Profile
Re: Bug in Windows Installation
« Reply #5 on: September 06, 2017, 06:39:01 AM »
can you try it in a windows 10 box to  see if works first?

dodo123n1

  • Newbie
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Re: Bug in Windows Installation
« Reply #6 on: September 07, 2017, 05:06:53 AM »
the same error, there is a problem in the node_module folder. After the command npm install and the loading of the modules, i will get this error. So what can i do now?

admin

  • Administrator
  • Hero Member
  • *****
  • Posts: 4699
  • Karma: +32/-7
    • View Profile
Re: Bug in Windows Installation
« Reply #7 on: September 07, 2017, 09:42:28 AM »
we tested in multiple machines here so it must be the env.
I recommend getting a freelancer expert in Angular that can help.

dodo123n1

  • Newbie
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Re: Bug in Windows Installation
« Reply #8 on: September 07, 2017, 11:01:59 PM »
Is it not possible to give a complete instruction to install it, including all components like node.js, typescript.. ?

admin

  • Administrator
  • Hero Member
  • *****
  • Posts: 4699
  • Karma: +32/-7
    • View Profile
Re: Bug in Windows Installation
« Reply #9 on: September 08, 2017, 09:52:35 AM »
npm install -g typescript
npm install -g @angular/cli@latest
git clone https://github.com/born2net/studio-lite.git
cd studio-lite
npm install
open browser to: http://localhost:4208/

dodo123n1

  • Newbie
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Re: Bug in Windows Installation
« Reply #10 on: September 12, 2017, 05:15:32 AM »
now i get this error:

ERROR in ./src/main.ts
Module build failed: Error: AotPlugin was detected but it was an instance of the
 wrong class.
This likely means you have several @ngtools/webpack packages installed. You can
check this with `npm ls @ngtools/webpack`, and then remove the extra copies.
    at Object.ngcLoader (C:\WWW\studio-lite\node_modules\@ngtools\webpack\src\lo
ader.js:430:19)
 @ multi webpack-dev-server/client?http://localhost:4208 ./src/main.ts

 

Carbonate design by Bloc
variant: carbon
SMF 2.0.12 | SMF © 2016, Simple Machines