Skip to content

Commit e170888

Browse files
committed
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.
1 parent 00d4034 commit e170888

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,10 @@
1313
"author": "Kyle Mathews <[email protected]>",
1414
"license": "MIT",
1515
"dependencies": {
16-
"history": "^2.0.0",
1716
"front-matter": "^2.0.6",
1817
"highlight.js": "^9.2.0",
18+
"history": "^2.0.0",
19+
"js-yaml": "^3.5.5",
1920
"markdown-it": "^6.0.0",
2021
"markdown-it-abbr": "^1.0.3",
2122
"markdown-it-attrs": "^0.1.8",

0 commit comments

Comments
 (0)