DSpace aims to enable people to find, collect, edit, structure and share any kind of information in a real-time, massive-collaboration, augmented-reality-environment (like wikipedia), based on a very common ground: The map of the area, where people actually are, around their Geolocation.
With too fresh nodejs our development setup process doesn't work. Here is a trace what happens when trying to build the deps with nodejs 1.10.5:
/home/chrono/src/dspace_buildtest (develop) $ make deps
Building Ender... ERR! unsupported version
ERR! unsupported version npm requires node version: 0.6 || 0.7 || 0.8
ERR! unsupported version And you have: v0.10.5
ERR! unsupported version which is not satisfactory.
ERR! unsupported version
ERR! unsupported version Bad things will likely happen. You have been warned.
ERR! unsupported version
path.js:313
throw new TypeError('Arguments to path.resolve must be strings');
^
TypeError: Arguments to path.resolve must be strings
at Object.exports.resolve (path.js:313:15)
at Object.exports.relative (path.js:370:20)
at installOne_ (/home/chrono/src/dspace_buildtest/node_modules/ender/node_modules/npm/lib/install.js:667:26)
at installOne (/home/chrono/src/dspace_buildtest/node_modules/ender/node_modules/npm/lib/install.js:599:3)
at /home/chrono/src/dspace_buildtest/node_modules/ender/node_modules/npm/lib/install.js:486:9
at /home/chrono/src/dspace_buildtest/node_modules/ender/node_modules/npm/node_modules/slide/lib/async-map.js:54:35
at Array.forEach (native)
at /home/chrono/src/dspace_buildtest/node_modules/ender/node_modules/npm/node_modules/slide/lib/async-map.js:54:11
at Array.forEach (native)
at asyncMap (/home/chrono/src/dspace_buildtest/node_modules/ender/node_modules/npm/node_modules/slide/lib/async-map.js:53:8)
make: *** [ender] Error 8
Same test with 0.8.23:
/home/chrono/src/dspace_buildtest (develop) $ make deps
Building Ender... [OK]
Building local deps... [OK]
Building AMD Deps... [OK]
Assembling JS components... [OK]
So, for now, if anyone is having issues setting up the dev environment please make sure to got with NodeJS 0.8.x at the max.
With too fresh nodejs our development setup process doesn't work. Here is a trace what happens when trying to build the deps with nodejs 1.10.5:
Same test with 0.8.23:
So, for now, if anyone is having issues setting up the dev environment please make sure to got with NodeJS 0.8.x at the max.