Skip to content
This repository was archived by the owner on Oct 28, 2020. It is now read-only.
This repository was archived by the owner on Oct 28, 2020. It is now read-only.

Build works in Netlify but not locally #2

Description

@DavidWells

There is an issue with running this plugin locally. The plugin fails with this error when run with netlify build locally:

┌─────────────────────────────┐
│     Core internal error     │
└─────────────────────────────┘

  Error message
  Error: Error

  Error location
      at normalizeError (/Users/davidwells/.nvm/versions/node/v12.7.0/lib/node_modules/netlify-cli/node_modules/@netlify/build/src/error/parse/parse.js:75:10)
      at parseErrorInfo (/Users/davidwells/.nvm/versions/node/v12.7.0/lib/node_modules/netlify-cli/node_modules/@netlify/build/src/error/parse/parse.js:50:70)
      at parseError (/Users/davidwells/.nvm/versions/node/v12.7.0/lib/node_modules/netlify-cli/node_modules/@netlify/build/src/error/parse/parse.js:26:7)
      at serializeLogError (/Users/davidwells/.nvm/versions/node/v12.7.0/lib/node_modules/netlify-cli/node_modules/@netlify/build/src/error/parse/serialize_log.js:7:94)
      at logBuildError (/Users/davidwells/.nvm/versions/node/v12.7.0/lib/node_modules/netlify-cli/node_modules/@netlify/build/src/log/main.js:250:72)
      at build (/Users/davidwells/.nvm/versions/node/v12.7.0/lib/node_modules/netlify-cli/node_modules/@netlify/build/src/core/main.js:119:5)
      at async BuildCommand.run (/Users/davidwells/.nvm/versions/node/v12.7.0/lib/node_modules/netlify-cli/src/commands/build/index.js:16:25)
      at async BuildCommand._run (/Users/davidwells/.nvm/versions/node/v12.7.0/lib/node_modules/netlify-cli/node_modules/@oclif/command/lib/command.js:43:20)

The working remote logs can be seen here Remote build logs

Any ideas what is happening here @ehmicky ?

To reproduce, clone down this repo, install the deps for site and run netlify build locally.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions