{"action":"created","issue":{"url":"https://api.github.com/repos/zeit/next.js/issues/4832","repository_url":"https://api.github.com/repos/zeit/next.js","labels_url":"https://api.github.com/repos/zeit/next.js/issues/4832/labels{/name}","comments_url":"https://api.github.com/repos/zeit/next.js/issues/4832/comments","events_url":"https://api.github.com/repos/zeit/next.js/issues/4832/events","html_url":"https://github.com/zeit/next.js/issues/4832","id":344163374,"node_id":"MDU6SXNzdWUzNDQxNjMzNzQ=","number":4832,"title":"\"next build\" works locally but fails in \"now\" in latest Next (6.1.1)","user":{"login":"trevordmiller","id":5497885,"node_id":"MDQ6VXNlcjU0OTc4ODU=","avatar_url":"https://avatars3.githubusercontent.com/u/5497885?v=4","gravatar_id":"","url":"https://api.github.com/users/trevordmiller","html_url":"https://github.com/trevordmiller","followers_url":"https://api.github.com/users/trevordmiller/followers","following_url":"https://api.github.com/users/trevordmiller/following{/other_user}","gists_url":"https://api.github.com/users/trevordmiller/gists{/gist_id}","starred_url":"https://api.github.com/users/trevordmiller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trevordmiller/subscriptions","organizations_url":"https://api.github.com/users/trevordmiller/orgs","repos_url":"https://api.github.com/users/trevordmiller/repos","events_url":"https://api.github.com/users/trevordmiller/events{/privacy}","received_events_url":"https://api.github.com/users/trevordmiller/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-07-24T19:01:02Z","updated_at":"2018-07-24T20:02:12Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"# Bug report\r\n\r\n## Describe the bug\r\n\r\nI'm not sure where to put this - if it's related to `next`, `now`, or `mdx`. But when I run `next build` locally, it works just fine. When I run `now` and now runs `next build` it errors out. I've confirmed I'm using the same Node version locally that is used by `now` (8.11.3). I've got a `package-lock.json` - so in theory the build in `now` should be the same as local...\r\n\r\n## To Reproduce\r\n\r\nSteps to reproduce the behavior, please provide code snippets or a repository:\r\n1. See [package.json](https://github.com/trevordmiller/trevordmiller-website/blob/546aef694ed838573437d8b92d1a1e5925e69efb/package.json)\r\n2. Not sure why `next build` (npm run build) locally would be different than the `next build` in now\r\n\r\n## Expected behavior\r\n\r\n`next build` works the same locally as it does in `now`.\r\n\r\n## Screenshots\r\n\r\n**Local:**\r\n\r\n<img width=\"748\" alt=\"next-build-local\" src=\"https://user-images.githubusercontent.com/5497885/43159936-027c9e50-8f41-11e8-8a9a-f030e3155029.png\">\r\n\r\n**In Now**\r\n\r\n<img width=\"1425\" alt=\"next-build-now\" src=\"https://user-images.githubusercontent.com/5497885/43159941-05e4a3f8-8f41-11e8-95aa-8f5c5f445668.png\">\r\n\r\nErrors with `Cannot find module 'remark-highlight.js'`.\r\n\r\n## System information\r\n - OS: macOS\r\n - Version of Next.js: 6.1.1\r\n"},"comment":{"url":"https://api.github.com/repos/zeit/next.js/issues/comments/407533389","html_url":"https://github.com/zeit/next.js/issues/4832#issuecomment-407533389","issue_url":"https://api.github.com/repos/zeit/next.js/issues/4832","id":407533389,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNzUzMzM4OQ==","user":{"login":"trevordmiller","id":5497885,"node_id":"MDQ6VXNlcjU0OTc4ODU=","avatar_url":"https://avatars3.githubusercontent.com/u/5497885?v=4","gravatar_id":"","url":"https://api.github.com/users/trevordmiller","html_url":"https://github.com/trevordmiller","followers_url":"https://api.github.com/users/trevordmiller/followers","following_url":"https://api.github.com/users/trevordmiller/following{/other_user}","gists_url":"https://api.github.com/users/trevordmiller/gists{/gist_id}","starred_url":"https://api.github.com/users/trevordmiller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trevordmiller/subscriptions","organizations_url":"https://api.github.com/users/trevordmiller/orgs","repos_url":"https://api.github.com/users/trevordmiller/repos","events_url":"https://api.github.com/users/trevordmiller/events{/privacy}","received_events_url":"https://api.github.com/users/trevordmiller/received_events","type":"User","site_admin":false},"created_at":"2018-07-24T20:02:12Z","updated_at":"2018-07-24T20:02:12Z","author_association":"CONTRIBUTOR","body":"It’s in my package.json and works locally"}}
{"actor":{"display_login":"trevordmiller"}}