MediaSignage support forum
community support => General discussion on the mediaCLOUD => Topic started by: indiaexcite on October 27, 2019, 07:53:55 AM
-
My Server:
Debian version 9 on - linux server
I have installed the required packages from the provided git repo and angular.js, and did the following steps:
1) Upgraded node to 12.3.0 and npm to 6.12.0 LTS
2) Installed typescript 2.4
3) Installed angular/cli@latest
4) Opened port 4208 from firewall
Now I ran the command npm install and it ran into some errors which are listed below:
----------------------------------------------------------
silly build create-error-class
info linkStuff error
silly build make-error
info linkStuff make-error
silly build plugin-error
info linkStuff plugin-error
silly linkStuff plugin-error
silly build silent-error
info linkStuff silent-error
silly linkStuff silent-error
silly build error-stack-parser
info linkStuff error-stack-parser
silly linkStuff error-stack-parser
......
error code ELIFECYCLE
error errno 134
error studioweb postinstall: `npm run dev`
error Exit status 134
error Failed at the studioweb postinstall script.
----------------------------------------------------------------------------
Any suggestions required to sort the errors please.
Thank you.
Regards,
Venkat C
-
please use:
- node 6.x
- npm 5.4.2
- typescript 2.4
best regards
-ADMIN
-
Dear Admin,
Thank you for your response.
installed:
Node: 12.3.0
NPM: 6.12.0
Typescript: 2.4.0
Installed the provided packages and opened the port, there is a problem when running npm install and it shows some application errors like this for example:
--------------------------------
gulp[4799]: ../src/node_contextify.cc:649:static void node::contextify::ContextifyScript::New(const v8::FunctionCallbackInfo<v8::Value>&): Assertion `args[1]->IsString()' failed.
1: 0x9d8da0 node::Abort() [gulp]
2: 0x9d8e27 [gulp]
3: 0x9cc94f node::contextify::ContextifyScript::New(v8::FunctionCallbackInfo<v8::Value> const&) [gulp]
4: 0xba4edb [gulp]
5: 0xba5a62 v8::internal::Builtin_HandleApiCall(int, unsigned long*, v8::internal::Isolate*) [gulp]
6: 0x13726d9 [gulp]
------------------------------------
If you require I shall provide error logs further on this issue to identify what is causing it not to run.
Thank you very much for your support.
Kindly guide me in this Regard.
Thank you.
With warm regards,
Venkat C
-
as mentioned, please use the versions indicated as the source code was written with said versions of nodeJS.
otherwise, you will need to rewrite the source for nodeJS 12
best regards
-ADMIN
-
as mentioned, please use the versions indicated as the source code was written with said versions of nodeJS.
otherwise, you will need to rewrite the source for nodeJS 12
best regards
-ADMIN
As advised the apt versions are installed.
No errors.
Port opened.
Now how do I install studiolite and run from my server!?
Kindly advice.
Regards,
Venkat Chinniah
-
issue the command: npm run release_jit
a folder called dist is generated - its content is the deployment files for your server
best regards
-ADMIN
-
Dear Admin,
Thank you for you support.
I changed node version to 6.9.0 and angular/cli to 1.0.0 and gulp on 3.9.1.
Now it is showing the following error
--------------------------
The "@angular/compiler-cli" package was not properly installed.
-------------------------
Could you please confirm which package of compiler this application needs?
Sorry if not clearly understood your previous post.
With warm regards,
Venkat C
-
which source code are you working on? are you working on studio dashboard, studio lite or msgetstarted?
best regards
-ADMIN
-
born2net/studio-lite
git@github.com:born2net/studio-lite.git
-
Dear Admin,
git@github.com:born2net/studio-lite.git
I am using the above code.
Thank you very much for your support.
With warm regards,
Venkat C
-
note the following installation instructions:
Installation:
StudioLite can be downloaded directly from GitHub With git you will be able to easily update to the latest version of StudioLite as well as take advantage Angular CLI which is included in the bundle
currently the application should run under:
typescript 2.4
node 6.x
to install and host:
npm install -g npm (this will ensure npm 5.4.2 >)
git clone https://github.com/born2net/studio-lite.git
cd studio-lite
npm install -g @angular/cli@latest
npm install
open browser to: http://localhost:4208/
also note that the dependencies and their version are listed in the dependencies section of package.json. i would suggest that you consult your developer who has nodejs/angular framework development experience
best regards
-ADMIN