August 21, 2018, 10:52:31 AM
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: Install issue with StudioLite on Centos  (Read 1059 times)

DS4Egeoisystems

  • Newbie
  • *
  • Posts: 27
  • Karma: +0/-0
    • View Profile
Install issue with StudioLite on Centos
« on: June 13, 2017, 07:45:56 AM »
Hi,

I want to install the new version of StudioLite on our server.
I run a server with Centos, I have node and npm installed. When I execute the last command "npm install" this is what I get:

Code: [Select]
-sh-4.2$ npm install

> studioweb@0.1.762 postinstall /var/www/vhosts/localhost.localdomain/httpdocs/test-studio/studio-lite
> npm run dev


> studioweb@0.1.762 dev /var/www/vhosts/localhost.localdomain/httpdocs/test-studio/studio-lite
> npm run x_cssDev && ng serve --port 4208 --aot false


> studioweb@0.1.762 x_cssDev /var/www/vhosts/localhost.localdomain/httpdocs/test-studio/studio-lite
> gulp cssDev

/var/www/vhosts/localhost.localdomain/httpdocs/test-studio/studio-lite/node_modules/require-dir/index.js:93
            if (!require.extensions.hasOwnProperty(ext)) {
                                    ^

TypeError: require.extensions.hasOwnProperty is not a function
    at requireDir (/var/www/vhosts/localhost.localdomain/httpdocs/test-studio/studio-lite/node_modules/require-dir/index.js:93:37)
    at Object.<anonymous> (/var/www/vhosts/localhost.localdomain/httpdocs/test-studio/studio-lite/node_modules/gulp-git/index.js:4:18)
    at Module._compile (module.js:569:30)
    at Object.Module._extensions..js (module.js:580:10)
    at Module.load (module.js:503:32)
    at tryModuleLoad (module.js:466:12)
    at Function.Module._load (module.js:458:3)
    at Module.require (module.js:513:17)
    at require (internal/module.js:11:18)
    at Object.<anonymous> (/var/www/vhosts/localhost.localdomain/httpdocs/test-studio/studio-lite/gulpfile.js:2:11)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! studioweb@0.1.762 x_cssDev: `gulp cssDev`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the studioweb@0.1.762 x_cssDev script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /var/www/vhosts/localhost.localdomain/.npm/_logs/2017-06-13T14_09_58_634Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! studioweb@0.1.762 dev: `npm run x_cssDev && ng serve --port 4208 --aot false`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the studioweb@0.1.762 dev script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /var/www/vhosts/localhost.localdomain/.npm/_logs/2017-06-13T14_09_58_653Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! studioweb@0.1.762 postinstall: `npm run dev`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the studioweb@0.1.762 postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /var/www/vhosts/localhost.localdomain/.npm/_logs/2017-06-13T14_09_58_703Z-debug.log
-sh-4.2$

Also I attach the logs provided by npm:
https://wetransfer.com/downloads/ce5d030f7a50016b986881ea77a56f1b20170613142409/9dfb188085b232767283c4591a2ddb0a20170613142409/30e6be

Can you give me a hint about that is missing from our server?

Best regards,
Bobby.

admin

  • Administrator
  • Hero Member
  • *****
  • Posts: 4860
  • Karma: +35/-8
    • View Profile
Re: Install issue with StudioLite on Centos
« Reply #1 on: June 13, 2017, 09:32:46 AM »
remove the css from the gulp command

 

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