[annotator-dev] Building Annotator 2.0?

Robert Casties casties at mpiwg-berlin.mpg.de
Mon Dec 1 16:58:52 UTC 2014


Hi,

I'm trying again to integrate my digilib image-annotation code with the
current version of annotator but I am unable to build a clean checkout
of the current github stuff.

I tried the "npm install ." then "make" route and ran into an error.
Then found #459 and downgraded browserify to 4.2.3 which built
annotator.js but broke on building the plugins:

> [casties at r583-1:/var/tmp/annotator]$ make
> ./tools/build annotator
> Writing pkg/annotator.js
> Writing pkg/annotator.min.js
> Writing pkg/annotator.min.js.map
> ./tools/build -c
> Writing pkg/annotator.css
> Writing pkg/annotator.min.css
> ./tools/build -p defaultui
> 
> events.js:72
>         throw er; // Unhandled 'error' event
>               ^
> Error: Cannot find module './src/namespace' from '/private/var/tmp/annotator'
>     at /private/var/tmp/annotator/node_modules/browserify/node_modules/resolve/lib/async.js:42:25
>     at load (/private/var/tmp/annotator/node_modules/browserify/node_modules/resolve/lib/async.js:60:43)
>     at /private/var/tmp/annotator/node_modules/browserify/node_modules/resolve/lib/async.js:66:22
>     at /private/var/tmp/annotator/node_modules/browserify/node_modules/resolve/lib/async.js:21:47
>     at Object.oncomplete (fs.js:107:15)
> make: *** [pkg/annotator.defaultui.js] Error 8

Now I'm stuck.

I can't find any pre-built current annotator either.

I would really like to see the new UI and plugins in action.

What can I do?

Thanks
	Robert



More information about the annotator-dev mailing list