December 07, 2023, 11:28:14 PM
Welcome, Guest. Please login or register
News: Stay up to date with everything that's happening at http://plus.digitalsignage.com

MediaSignage support forum



Author Topic: Compile problems  (Read 7768 times)

tomyl

  • Newbie
  • *
  • Posts: 3
  • Karma: +0/-0
Compile problems
« on: September 27, 2017, 05:24:21 AM »
Hi,

i tried to build Studio-lite on several PC's but always getting this message:

Quote
@angular/compiler-cli@4.4.3 requires typescript@'>=2.1.0 <2.4.0' but 2.4.0 was found instead.
Using this version can result in undefined behaviour and difficult to debug problems.

Please run the following command to install a compatible version of TypeScript.

    npm install typescript@'>=2.1.0 <2.4.0'

To disable this warning run "ng set --global warnings.typescriptMismatch=false".


 12% building modules 24/25 modules 1 active ...ode_modules\style-loader\addStyles.jswebpack: wait until bundle finished: /                                Date: 2017-09-27T12:11:54.776Z
Hash: 26cb576d1b1821abd07a
Time: 10188ms
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.06 kB {vendor} [initial] [rendered]
chunk {styles} styles.bundle.js, styles.bundle.js.map (styles) 411 kB {inline} [initial] [rendered]
chunk {vendor} vendor.bundle.js, vendor.bundle.js.map (vendor) 338 kB [initial] [rendered]

ERROR in C:/Users/Desktop/studio-lite/src/app/scenes/scene-editor.ts (1256,57): Property 'm_blockType' does not exist on type 'string'.
ERROR in C:/Users/Desktop/studio-lite/src/app/scenes/scene-editor.ts (672,62): Property 'getBlockData' does not exist on type 'string'.
ERROR in C:/Users/Desktop/studio-lite/src/app/scenes/scene-editor.ts (703,56): Property 'getBlockData' does not exist on type 'string'.
ERROR in C:/Users/Desktop/studio-lite/src/app/scenes/scene-editor.ts (1247,70): Property 'left' does not exist on type 'string'.
ERROR in C:/Users/Desktop/studio-lite/src/app/scenes/scene-editor.ts (1248,69): Property 'top' does not exist on type 'string'.
ERROR in C:/Users/Desktop/studio-lite/src/app/scenes/scene-editor.ts (1255,54): Property 'getBlockData' does not exist on type 'string'.
ERROR in C:/Users/Desktop/studio-lite/src/app/scenes/scene-editor.ts (684,56): Property 'getBlockData' does not exist on type 'string'.
ERROR in C:/Users/Desktop/studio-lite/src/app/scenes/scene-editor.ts (1257,111): Property 'currentWidth' does not exist on type 'string'.
ERROR in C:/Users/Desktop/studio-lite/src/app/scenes/scene-editor.ts (1257,140): Property 'currentHeight' does not exist on type 'string'.
ERROR in C:/Users/Desktop/studio-lite/src/app/scenes/scene-editor.ts (1257,170): Property 'angle' does not exist on type 'string'.
ERROR in C:/Users/Desktop/studio-lite/src/app/blocks/block-prop-json-item.ts (167,19): Property 'name' does not exist on type 'string'.
ERROR in C:/Users/Desktop/studio-lite/src/app/blocks/block-prop-json-item.ts (168,52): Property 'type' does not exist on type 'string'.
ERROR in C:/Users/Desktop/studio-lite/src/app/blocks/block-prop-json-item.ts (169,52): Property 'name' does not exist on type 'string'.

webpack: Failed to compile.
webpack: Compiling...
Date: 2017-09-27T12:12:00.329Z
Hash: ae7a6e7aab6cdecd6df7
Time: 5150ms
chunk {inline} inline.bundle.js, inline.bundle.js.map (inline) 5.83 kB [entry]
chunk {main} main.bundle.js, main.bundle.js.map (main) 1.06 kB {vendor} [initial]
chunk {styles} styles.bundle.js, styles.bundle.js.map (styles) 411 kB {inline} [initial]
chunk {vendor} vendor.bundle.js, vendor.bundle.js.map (vendor) 338 kB [initial]

ERROR in C:/Users/Desktop/studio-lite/src/app/scenes/scene-editor.ts (1256,57): Property 'm_blockType' does not exist on type 'string'.
ERROR in C:/Users/Desktop/studio-lite/src/app/scenes/scene-editor.ts (672,62): Property 'getBlockData' does not exist on type 'string'.
ERROR in C:/Users/Desktop/studio-lite/src/app/scenes/scene-editor.ts (703,56): Property 'getBlockData' does not exist on type 'string'.
ERROR in C:/Users/Desktop/studio-lite/src/app/scenes/scene-editor.ts (1247,70): Property 'left' does not exist on type 'string'.
ERROR in C:/Users/Desktop/studio-lite/src/app/scenes/scene-editor.ts (1248,69): Property 'top' does not exist on type 'string'.
ERROR in C:/Users/Desktop/studio-lite/src/app/scenes/scene-editor.ts (1255,54): Property 'getBlockData' does not exist on type 'string'.
ERROR in C:/Users/Desktop/studio-lite/src/app/scenes/scene-editor.ts (684,56): Property 'getBlockData' does not exist on type 'string'.
ERROR in C:/Users/Desktop/studio-lite/src/app/scenes/scene-editor.ts (1257,111): Property 'currentWidth' does not exist on type 'string'.
ERROR in C:/Users/Desktop/studio-lite/src/app/scenes/scene-editor.ts (1257,140): Property 'currentHeight' does not exist on type 'string'.
ERROR in C:/Users/Desktop/studio-lite/src/app/scenes/scene-editor.ts (1257,170): Property 'angle' does not exist on type 'string'.
ERROR in C:/Users/Desktop/studio-lite/src/app/blocks/block-prop-json-item.ts (167,19): Property 'name' does not exist on type 'string'.
ERROR in C:/Users/Desktop/studio-lite/src/app/blocks/block-prop-json-item.ts (168,52): Property 'type' does not exist on type 'string'.
ERROR in C:/Users/Desktop/studio-lite/src/app/blocks/block-prop-json-item.ts (169,52): Property 'name' does not exist on type 'string'.

webpack: Failed to compile.

Regards

admin

  • Administrator
  • Hero Member
  • *****
  • Posts: 5185
  • Karma: +36/-8
Re: Compile problems
« Reply #1 on: September 27, 2017, 01:00:43 PM »
please be sure to install globally latest version of TypeScript and node.js

tomyl

  • Newbie
  • *
  • Posts: 3
  • Karma: +0/-0
Re: Compile problems
« Reply #2 on: September 28, 2017, 09:40:22 AM »
 node -v
v6.11.3


> tsc -v
Version 2.5.3

Installed already.

admin

  • Administrator
  • Hero Member
  • *****
  • Posts: 5185
  • Karma: +36/-8
Re: Compile problems
« Reply #3 on: September 29, 2017, 10:26:08 AM »
do:

npm install -g npm (this will ensure npm 5.4.2 >)

tomyl

  • Newbie
  • *
  • Posts: 3
  • Karma: +0/-0
Re: Compile problems
« Reply #4 on: October 02, 2017, 02:18:53 AM »
its working now, tnx.

In msgetstarted i have command "npm run prod" to upload all files on web server, but on studio-lite i dont see it?


 

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