Bug #4503

Sunstone fails to compile on Ubuntu with latest stable Nodejs (4.x)

Added by Guillaume Oberlé about 5 years ago. Updated about 5 years ago.

Status:ClosedStart date:05/29/2016
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:Sunstone
Target version:Release 5.0
Resolution:worksforme Pull request:
Affected Versions:Development

Description

Following the README procedure for Sunstone here : https://raw.githubusercontent.com/OpenNebula/one/master/src/sunstone/public/README.md, the build fails with Nodejs 4.4.5 (latest stable version) and Ubuntu 14.04/16.04.

root@one:~/one/src/sunstone/public# grunt sass
Running "sass:dist" (sass) task

Done, without errors.
root@one:~/one/src/sunstone/public# grunt requirejs
Running "requirejs:compileCSS" (requirejs) task

/root/one/src/sunstone/public/css/app.css
Cannot inline css import, skipping:
https://fonts.googleapis.com/css?family=Lato:400,300,100,700,900

Running "requirejs:compileJS" (requirejs) task { [Error: Error: Module loading did not complete for: main, app
at Function.build.checkForErrors (/root/one/src/sunstone/public/node_modules/grunt-contrib-requirejs/node_modules/requirejs/bin/r.js:31556:19)
]
originalError: [Error: Module loading did not complete for: main, app] }

History

#1 Updated by Ruben S. Montero about 5 years ago

Thanks!

Yes we are also getting this on some platforms and trying to figure it out how to solve it.

#2 Updated by Ruben S. Montero about 5 years ago

  • Status changed from Pending to New
  • Target version set to Release 5.0

#3 Updated by Ruben S. Montero about 5 years ago

  • Status changed from New to Closed
  • Resolution set to worksforme

I get this running using the distro packages, for me is now working (note that I have problems using npm to install grunt/bower)

local/nodejs-grunt-cli 1.2.0-1
local/nodejs 6.2.0-1
local/bower 1.7.9-1

Cheers

Also available in: Atom PDF