Problem compiling
Posted: 21 Oct 2014 14:19
Hello everyone,
I'm using the 1.7.2 version of Razberry, and I'm having some trouble compiling the automation modules (without any changes).
After installing node and the npm packages, I get the following error when grunt runs the requirejs task:
Any ideas why?
Thanks!
I'm using the 1.7.2 version of Razberry, and I'm having some trouble compiling the automation modules (without any changes).
After installing node and the npm packages, I get the following error when grunt runs the requirejs task:
Code: Select all
pi@raspberrypi:~/z-way-server/automation$ grunt
Running "clean:0" (clean) task
>> 1 path cleaned.
Running "copy:main" (copy) task
Created 22 directories, copied 103 files
Running "mkdir:all" (mkdir) task
Creating "htdocs/dist/public"...OK
Creating "htdocs/dist/public/css"...OK
Running "index" task
Generated 'htdocs/dist/index.html' from 'index.tmpl.html'
Running "less:development" (less) task
File htdocs/dist/public/css/all.css created: 461.51 kB → 437.75 kB
Running "requirejs:compile" (requirejs) task
{ [Error: Error: Module loading did not complete for: main, backbone, views/app, helpers/bb-sync, collections/devices, models/device, collections/locations, models/location, collections/notifications, models/notice, collections/profiles, models/profile, collections/modules, models/module, collections/instances, models/instance, collections/namespaces, models/namespace, router, vm, events, helpers/utils, layout, helpers/modal, views/preferences/view, helpers/apis, views/preferences/modulesView
The following modules share the same URL. This could be a misconfiguration if that URL only has one anonymous module in it:
/opt/z-way-server/automation/htdocs/js/libs/backbone/backbone-min.js: backbone, backbone
at Function.build.checkForErrors (/opt/z-way-server/automation/node_modules/grunt-contrib-requirejs/node_modules/requirejs/bin/r.js:27417:19)
]
originalError:
[Error: Module loading did not complete for: main, backbone, views/app, helpers/bb-sync, collections/devices, models/device, collections/locations, models/location, collections/notifications, models/notice, collections/profiles, models/profile, collections/modules, models/module, collections/instances, models/instance, collections/namespaces, models/namespace, router, vm, events, helpers/utils, layout, helpers/modal, views/preferences/view, helpers/apis, views/preferences/modulesView
The following modules share the same URL. This could be a misconfiguration if that URL only has one anonymous module in it:
/opt/z-way-server/automation/htdocs/js/libs/backbone/backbone-min.js: backbone, backbone]}
Thanks!