Open feifeixyz opened 8 years ago
change romana/manage/package.json
"grunt-connect-proxy":"xxxxxx"
to
"grunt-connect-proxy": "~0.2.0"
and try again
Maybe your sudo PATH is not right. I do it like this : sudo env PATH=$PATH make build-real
But I have a new issue:
Warning:
/home/ceph/romana/manage/node_modules/grunt-contrib-compass/node_modules/tmp/lib/tmp.js:261
throw err;
^
Error: ENOENT, no such file or directory 'dist/images/logo.png'
at Object.fs.statSync (fs.js:696:18)
at processed (/home/ceph/romana/manage/node_modules/grunt-contrib-imagemin/tasks/imagemin.js:84:43)
at /home/ceph/romana/manage/node_modules/grunt-contrib-imagemin/tasks/imagemin.js:131:29
at callDone (/home/ceph/romana/manage/node_modules/grunt/node_modules/grunt-legacy-util/index.js:159:5)
at ChildProcess.<anonymous> (/home/ceph/romana/manage/node_modules/grunt/node_modules/grunt-legacy-util/index.js:198:5)
at ChildProcess.emit (events.js:98:17)
at maybeClose (child_process.js:766:16)
at Socket.<anonymous> (child_process.js:979:11)
at Socket.emit (events.js:95:17)
at Pipe.close (net.js:466:12) Use --force to continue.
Aborted due to warnings.
Running "compass:dist" (compass) task Warning: You need to have Ruby and Compass installed and in your system PATH for this task to work. More info: https://github.com/gruntjs/grunt-contrib-compass Use --force to continue.
i do: cp /usr/local/bin/compass /sbin/
@kivis-online i know this problem , it is the version of grunt-contrib-compass's problem,because the 0.5 have a bug,so you can change the package.json,and everything will ok
cd romana change grunt-contrib-imagemin version to 0.4.1
[root@calamarimake romana]# grep "grunt-contrib-imagemin" -R *
admin/package.json: "grunt-contrib-imagemin": "~0.1.4",
dashboard/package.json: "grunt-contrib-imagemin": "0.1.4",
login/package.json: "grunt-contrib-imagemin": "~0.1.3",
manage/package.json: "grunt-contrib-imagemin": "~0.3.0",
change to :
admin/package.json: "grunt-contrib-imagemin": "0.4.1",
dashboard/package.json: "grunt-contrib-imagemin": "0.1.4",
login/package.json: "grunt-contrib-imagemin": "0.4.1",
manage/package.json: "grunt-contrib-imagemin": "0.4.1",
and continue···
I try to build the romana master branch, and this the error message.
I already installed the ruby and compass packages.