Skip to content

Commit

Permalink
Add js-yaml as top-level dependency
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
idev-a committed Mar 24, 2016
1 parent aa60c37 commit 1a93ff8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,10 @@
"author": "Kyle Mathews <[email protected]>",
"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",
Expand Down

0 comments on commit 1a93ff8

Please sign in to comment.