From 1ddb26ede8e0e4b445d80df08c489dadabf64d52 Mon Sep 17 00:00:00 2001 From: leijia322 Date: Thu, 24 Mar 2016 23:18:31 +0100 Subject: [PATCH] Add js-yaml as top-level dependency was causing the webpack build to fail (cf similar problem fixed in gatsbyjs/gatsby#174) Error message: ERROR in ./wrappers/yaml.js Module not found: Error: Cannot resolve module 'js-yaml' in /home/username/gatsby-default/wrappers @ ./wrappers/yaml.js 17:14-32 `gatsby develop` starts well after performing this change. --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index a3acb08..49d6958 100644 --- a/package.json +++ b/package.json @@ -13,9 +13,10 @@ "author": "Kyle Mathews ", "license": "MIT", "dependencies": { - "history": "^2.0.0", "front-matter": "^2.0.6", "highlight.js": "^9.2.0", + "history": "^2.0.0", + "js-yaml": "^3.5.5", "markdown-it": "^6.0.0", "markdown-it-abbr": "^1.0.3", "markdown-it-attrs": "^0.1.8",