{"action":"created","issue":{"url":"https://api.github.com/repos/gatsbyjs/gatsby/issues/5872","repository_url":"https://api.github.com/repos/gatsbyjs/gatsby","labels_url":"https://api.github.com/repos/gatsbyjs/gatsby/issues/5872/labels{/name}","comments_url":"https://api.github.com/repos/gatsbyjs/gatsby/issues/5872/comments","events_url":"https://api.github.com/repos/gatsbyjs/gatsby/issues/5872/events","html_url":"https://github.com/gatsbyjs/gatsby/issues/5872","id":332000630,"node_id":"MDU6SXNzdWUzMzIwMDA2MzA=","number":5872,"title":"[gatsby-transformer-documentationjs v2] Prismjs is a dependency but not shown in package.json","user":{"login":"sw-yx","id":6764957,"node_id":"MDQ6VXNlcjY3NjQ5NTc=","avatar_url":"https://avatars1.githubusercontent.com/u/6764957?v=4","gravatar_id":"","url":"https://api.github.com/users/sw-yx","html_url":"https://github.com/sw-yx","followers_url":"https://api.github.com/users/sw-yx/followers","following_url":"https://api.github.com/users/sw-yx/following{/other_user}","gists_url":"https://api.github.com/users/sw-yx/gists{/gist_id}","starred_url":"https://api.github.com/users/sw-yx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sw-yx/subscriptions","organizations_url":"https://api.github.com/users/sw-yx/orgs","repos_url":"https://api.github.com/users/sw-yx/repos","events_url":"https://api.github.com/users/sw-yx/events{/privacy}","received_events_url":"https://api.github.com/users/sw-yx/received_events","type":"User","site_admin":false},"labels":[{"id":900886028,"node_id":"MDU6TGFiZWw5MDA4ODYwMjg=","url":"https://api.github.com/repos/gatsbyjs/gatsby/labels/%F0%9F%8F%B7%20type:%20maintenance","name":"🏷 type: maintenance","color":"bfd4f2","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-06-13T13:42:30Z","updated_at":"2018-06-14T03:56:13Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"## Description\r\n\r\n`gatsby-transformer-documentationjs` [requires prismjs](https://github.com/gatsbyjs/gatsby/blob/v2/packages/gatsby-transformer-documentationjs/src/gatsby-node.js#L10) but prismjs is not a dependency in its [package.json](https://github.com/gatsbyjs/gatsby/blob/v2/packages/gatsby-transformer-documentationjs/package.json)\r\n\r\n### Steps to reproduce\r\n\r\n```\r\ngit checkout v2\r\ncd www\r\nnpm run develop\r\n```\r\n\r\n### Expected result\r\n\r\nit should run without issue\r\n\r\n### Actual result\r\n\r\n```\r\nerror UNHANDLED EXCEPTION\r\n\r\n\r\n  Error: Cannot find module 'prismjs'\r\n\r\n  - v8-compile-cache.js:159 require\r\n    [www]/[v8-compile-cache]/v8-compile-cache.js:159:20\r\n\r\n  - gatsby-node.js:17 Object.<anonymous>\r\n    [www]/[gatsby-transformer-documentationjs]/gatsby-node.js:17:15\r\n\r\n  - v8-compile-cache.js:178 Module._compile\r\n    [www]/[v8-compile-cache]/v8-compile-cache.js:178:30\r\n\r\n  - v8-compile-cache.js:159 require\r\n    [www]/[v8-compile-cache]/v8-compile-cache.js:159:20\r\n\r\n  - api-runner-node.js:81 runAPI\r\n    [www]/[gatsby]/dist/utils/api-runner-node.js:81:22\r\n\r\n  - api-runner-node.js:173 mapSeries\r\n    [www]/[gatsby]/dist/utils/api-runner-node.js:173:25\r\n\r\n  - map.js:27\r\n    [www]/[gatsby]/[async]/internal/map.js:27:9\r\n\r\n  - eachOfLimit.js:66 replenish\r\n    [www]/[gatsby]/[async]/internal/eachOfLimit.js:66:17\r\n\r\n\r\nnpm ERR! code ELIFECYCLE\r\nnpm ERR! errno 1\r\n```\r\n\r\n### Environment\r\n\r\n```\r\n\r\n  System:\r\n    OS: macOS Sierra 10.12.6\r\n    CPU: x64 Intel(R) Core(TM) i7-4650U CPU @ 1.70GHz\r\n    Shell: 5.2 - /bin/zsh\r\n  Binaries:\r\n    Node: 8.5.0 - ~/.nvm/versions/node/v8.5.0/bin/node\r\n    Yarn: 1.6.0 - ~/.nvm/versions/node/v8.5.0/bin/yarn\r\n    npm: 6.0.0 - ~/.nvm/versions/node/v8.5.0/bin/npm\r\n  Browsers:\r\n    Chrome: 67.0.3396.87\r\n    Firefox: 58.0.1\r\n    Safari: 11.0.1\r\n  npmPackages:\r\n    gatsby: next => 2.0.0-alpha.55 \r\n    gatsby-image: next => 2.0.0-alpha.7 \r\n    gatsby-plugin-canonical-urls: next => 1.0.14-12 \r\n    gatsby-plugin-catch-links: next => 2.0.1-13 \r\n    gatsby-plugin-feed: next => 1.3.19-13 \r\n    gatsby-plugin-fullstory: ^1.0.4-5 => 1.0.4-9 \r\n    gatsby-plugin-glamor: next => 2.0.0-alpha.15 \r\n    gatsby-plugin-google-analytics: next => 1.0.20-12 \r\n    gatsby-plugin-lodash: next => 3.0.0-alpha.14 \r\n    gatsby-plugin-mailchimp: ^2.2.3 => 2.2.3 \r\n    gatsby-plugin-manifest: next => 2.0.1-19 \r\n    gatsby-plugin-netlify: next => 1.0.19-14 \r\n    gatsby-plugin-nprogress: next => 2.0.0-alpha.14 \r\n    gatsby-plugin-offline: next => 2.0.0-alpha.17 \r\n    gatsby-plugin-react-helmet: next => 2.0.12-9 \r\n    gatsby-plugin-sharp: next => 2.0.0-alpha.21 \r\n    gatsby-plugin-sitemap: next => 1.2.14-12 \r\n    gatsby-plugin-twitter: next => 1.0.18-13 \r\n    gatsby-plugin-typography: next => 2.0.1-13 \r\n    gatsby-remark-autolink-headers: next => 1.4.13-13 \r\n    gatsby-remark-copy-linked-files: next => 1.5.28-12 \r\n    gatsby-remark-images: next => 2.0.0-alpha.23 \r\n    gatsby-remark-prismjs: next => 2.0.3-3 \r\n    gatsby-remark-responsive-iframe: next => 1.4.18-12 \r\n    gatsby-remark-smartypants: next => 1.4.12-13 \r\n    gatsby-source-filesystem: next => 2.0.0-alpha.18 \r\n    gatsby-source-npm-package-search: ^1.0.8 => 1.0.8 \r\n    gatsby-transformer-csv: next => 1.3.9-12 \r\n    gatsby-transformer-documentationjs: next => 1.4.10-12 \r\n    gatsby-transformer-remark: next => 2.0.1-16 \r\n    gatsby-transformer-sharp: next => 2.0.1-16 \r\n    gatsby-transformer-yaml: next => 2.0.1-13 \r\n  npmGlobalPackages:\r\n    gatsby-cli: 1.1.58\r\n```"},"comment":{"url":"https://api.github.com/repos/gatsbyjs/gatsby/issues/comments/397162895","html_url":"https://github.com/gatsbyjs/gatsby/issues/5872#issuecomment-397162895","issue_url":"https://api.github.com/repos/gatsbyjs/gatsby/issues/5872","id":397162895,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NzE2Mjg5NQ==","user":{"login":"sw-yx","id":6764957,"node_id":"MDQ6VXNlcjY3NjQ5NTc=","avatar_url":"https://avatars1.githubusercontent.com/u/6764957?v=4","gravatar_id":"","url":"https://api.github.com/users/sw-yx","html_url":"https://github.com/sw-yx","followers_url":"https://api.github.com/users/sw-yx/followers","following_url":"https://api.github.com/users/sw-yx/following{/other_user}","gists_url":"https://api.github.com/users/sw-yx/gists{/gist_id}","starred_url":"https://api.github.com/users/sw-yx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sw-yx/subscriptions","organizations_url":"https://api.github.com/users/sw-yx/orgs","repos_url":"https://api.github.com/users/sw-yx/repos","events_url":"https://api.github.com/users/sw-yx/events{/privacy}","received_events_url":"https://api.github.com/users/sw-yx/received_events","type":"User","site_admin":false},"created_at":"2018-06-14T03:56:13Z","updated_at":"2018-06-14T03:56:13Z","author_association":"CONTRIBUTOR","body":"i feel like im just finding these issues all over the place because i keep moving computers and so have to always install from `@next` all the time 😂 not exactly very productive, almost every new session starts off with me filing like 1-2 issues"}}
{"actor":{"display_login":"sw-yx"}}