Select Page

How to install your own open source Mind Map tool in html5

Thanks to you can host your own copy of Mind Map like I did at


Node.js is a platform built on Chrome’s #JavaScript runtime for easily building fast, scalable network applications. Node.js uses an event-driven, non-blocking I/O model that makes it lightweight and efficient, perfect for data-intensive real-time applications that run across distributed devices.

and npm is the package manager for the Node #JavaScript platform.  It puts modules in place so that node can find them, and manages dependency
conflicts intelligently. It is extremely configurable to support a wide variety of use cases. Most commonly, it is used to publish, discover, install, and develop node programs. (

Short How To

sudo apt-get install nodejs npm
unzip cd master
npm install
jake -f Jakefile.js

Now you can copy the content of the ./bin directory to any web root and you are good to go!

Longer version

These are all the error I havve encounter and how I did solve them

TypeError: Object #<Object> has no method ‘existsSync’

This is because your version of nodejs is tool old: nodejs 0.6  moved path.existsSync to fs.existsSync, so if you’re using an old version of node then fs.existsSync will be broken.

Check your current version of node.js

# nodejs –version

was returning v0.6.19 on my box

To update to the latest version v0.10.25, you’ll have to rely on an external ppa

sudo add-apt-repository ppa:chris-lea/node.js sudo apt-get update sudo apt-get install nodejs

Now you should have the latest version of node.js

npm http 404   npm ERR! registry error parsing json

Either set the registry to not use SSL globally

sudo npm config set registry

or specify the registry and get manually the required dependencies

sudo npm install uglify-js --registry sudo npm install node-static --registry sudo npm install -g jake --registry

npm WARN cannot run in wd

The Node.js  package manager ca not run in working directory

npm WARN package.json [email protected] No repository field. npm WARN prefer global [email protected] should be installed with -g npm WARN cannot run in wd [email protected] npm install -g jake (wd=/xxx/…)

You need to run npm as sudo or without permission checks

sudo npm install --unsafe-perm

a successful install should look like

sudo npm install 

npm WARN package.json [email protected] No repository field. npm WARN prefer global [email protected]6 should be installed with -g > [email protected] postinstall /mindmap/build > npm install -g jake npm http GET npm http 304 npm http GET npm http GET npm http 304 npm http 304 npm http GET npm http GET npm http 304 npm http 304 /usr/bin/jake -> /usr/lib/node_modules/jake/bin/cli.js [email protected] /usr/lib/node_modules/jake ├── [email protected] └── [email protected] ([email protected], [email protected])

Last step is to run the jakefile with jake. The finished build will appear in /bin.

jake -f Jakefile.js

About The Author

I worked with various Insurances companies across Switzerland on online applications handling billion premium volumes. I love to continuously spark my creativity in many different and challenging open-source projects fueled by my great passion for innovation and blockchain technology.In my technical role as a senior software engineer and Blockchain consultant, I help to define and implement innovative solutions in the scope of both blockchain and traditional products, solutions, and services. I can support the full spectrum of software development activities, starting from analyzing ideas and business cases and up to the production deployment of the solutions.I'm the Founder and CEO of Disruptr GmbH.