Code Monkey home page Code Monkey logo

Comments (1)

devbyray avatar devbyray commented on June 10, 2024

In Netlify during building I get this error:

10:53:26 AM: error There was a problem parsing "/opt/build/repo/deck.mdx"; any GraphQL
10:53:26 AM: fragments or queries in this file were not processed.
10:53:26 AM: This may indicate a syntax error in the code, or it may be a file type
10:53:26 AM: that Gatsby does not know how to parse.
10:53:26 AM: failed extract queries from components - 0.124s
10:53:27 AM: Error: Command failed with exit code 1: gatsby build
10:53:27 AM:     at makeError (/opt/build/repo/node_modules/execa/lib/error.js:59:11)
10:53:27 AM:     at handlePromise (/opt/build/repo/node_modules/execa/index.js:114:26)
10:53:27 AM:     at processTicksAndRejections (internal/process/task_queues.js:97:5)
10:53:27 AM: npm ERR! code ELIFECYCLE
10:53:27 AM: npm ERR! errno 1
10:53:27 AM: npm ERR! [email protected] build: `npx mdx-deck build deck.mdx`
10:53:27 AM: npm ERR! Exit status 1
10:53:27 AM: npm ERR!
10:53:27 AM: npm ERR! Failed at the [email protected] build script.
10:53:27 AM: npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
10:53:27 AM: npm ERR! A complete log of this run can be found in:
10:53:27 AM: npm ERR!     /opt/buildhome/.npm/_logs/2020-11-25T09_53_27_059Z-debug.log
10:53:27 AM: ​
10:53:27 AM: ────────────────────────────────────────────────────────────────
10:53:27 AM:   "build.command" failed                                        
10:53:27 AM: ────────────────────────────────────────────────────────────────
10:53:27 AM: ​
10:53:27 AM:   Error message
10:53:27 AM:   Command failed with exit code 1: npm run build
10:53:27 AM: ​
10:53:27 AM:   Error location
10:53:27 AM:   In Build command from Netlify app:
10:53:27 AM:   npm run build
10:53:27 AM: ​
10:53:27 AM:   Resolved config
10:53:27 AM:   build:
10:53:27 AM:     command: npm run build
10:53:27 AM:     commandOrigin: ui
10:53:27 AM:     publish: /opt/build/repo/public

But I can't find the syntax error in the deck.mdx file :-(

from mdx-deck.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.