clarin-eric / LRSwitchboard

DEPRECATED - Please see https://github.com/clarin-eric/switchboard for latest version - Code Repository for the Language Resources Switchboard of CLARIN
Other
1 stars 0 forks source link

Installation instructions do not work out-of-the-box for OS X 10.13.4 #25

Closed andmor- closed 4 years ago

andmor- commented 6 years ago

When I follow the installation instructions provided, the project fails to build on step 2 webpack.

This seems to have two underlying reasons:

  1. webpack does not become available globally when when running npm install. It can just be ran via npm start.
  2. Default webpack version installed by npm is now 4.7.0 which has incompatible syntax with the current project files (meant for version 3.x.x)

My solution was to run:

  1. npm install webpack@3.4.1 -g Note the -g flag to make webpack available globally.
  2. webpack

A Dockerfile which leads to a successful build can be found here.