A simple starter kit to start writing node app with the gov uk front end toolkit.
Install dependencies using yarn install
ensure you are using >= Node v8.4.0
Ensure you have a .env
file containing all default env variables
cp .env-template .env
Starting the app
yarn build
Ensure you build assets first
yarn start
yarn start:dev
yarn lint
yarn test
If you get this error when starting the app:
Cannot find module './build/Release/DTraceProviderBindings'
See for more details:
https://stackoverflow.com/questions/37550100/cannot-find-module-dtrace-provider
Run
npm rebuild dtrace-provider