Windows :: Berlioz Documentation

Windows

Install Node.js

Download and install Node.js v10 from https://nodejs.org/en/download/

Install Docker

Setup Docker from https://docs.docker.com/docker-for-windows/install/

Install Berlioz

$ npm install berlioz -g

Install GraphViz

Required only on workstation to be able to generate application diagrams. Setup GraphViz from http://www.graphviz.org/download/

Troubleshooting

The gRPC binary module was not installed.

On some Windows installations depending on node version and environment you may get error like:

Error: The gRPC binary module was not installed. This may be fixed by running "npm rebuild"
Original error: Cannot find module 'C:\Users\MyUser\AppData\Roaming\npm\node_modules\berlioz\node_modules\grpc\src\node\extension_binary\node-v67-win32-x64-unknown\grpc_node.node'

Solution is to:

$ cd C:\\Users\\MyUser\\AppData\\Roaming\\npm\\node_modules\\berlioz\\node_modules
$ npm rebuild