Gatsby: Fehler beim Entwickeln / Bauen; "gatsby-plugin-mdx" hat einen Fehler ausgegeben ... [BABEL] unbekannt: Ungültige Option

Erstellt am 9. Apr. 2020  ·  1Kommentar  ·  Quelle: gatsbyjs/gatsby

Ich habe einen Fehler beim Erstellen oder Entwickeln dieses Repos

git clone https://github.com/kuworking/kuworking-theme-one.git
yarn
gatsby build

Aber wenn ich es in meinem workspace Setup entwickle oder baue, geht es ohne Probleme

Ich denke, es ist etwas mit den Abhängigkeiten?

Der Fehler

success createSchemaCustomization - 0.005s

 ERROR #11321  PLUGIN

"gatsby-plugin-mdx" threw an error while running the onCreateNode lifecycle:

[BABEL] unknown: Invalid Option: The 'modules' option must be one of
 - 'false' to indicate no module processing
 - a specific module type: 'commonjs', 'amd', 'umd', 'systemjs' - 'auto' (default) which will automatically select 'false' if the current
   process is known to support ES module syntax, or "commonjs" otherwise
 (While processing: "base$1")



  Error: Invariant Violation: [BABEL] unknown: Invalid Option: The 'modules' option must be one of     
   - 'false' to indicate no module processing
   - a specific module type: 'commonjs', 'amd', 'umd', 'systemjs' - 'auto' (default) which will automat  ically select 'false' if the current
     process is known to support ES module syntax, or "commonjs" otherwise
   (While processing: "base$1")

  - invariant.js:40 invariant
    [kuworking-theme-one]/[invariant]/invariant.js:40:15

  - normalize-options.js:117 validateModulesOption
    [kuworking-theme-one]/[@babel]/preset-env/lib/normalize-options.js:117:26

  - normalize-options.js:181 normalizeOptions
    [kuworking-theme-one]/[@babel]/preset-env/lib/normalize-options.js:181:14

  - index.js:227 _default
    [kuworking-theme-one]/[@babel]/preset-env/lib/index.js:227:37

  - index.js:19 
    [kuworking-theme-one]/[@babel]/helper-plugin-utils/lib/index.js:19:12

  - full.js:199 
    [kuworking-theme-one]/[@babel]/core/lib/config/full.js:199:14

  - Generator.next

  - async.js:26 Function.<anonymous>
    [kuworking-theme-one]/[@babel]/core/lib/gensync-utils/async.js:26:3

  - Generator.next

  - index.js:244 evaluateSync
    [kuworking-theme-one]/[gensync]/index.js:244:28

  - index.js:84 Function.sync
    [kuworking-theme-one]/[gensync]/index.js:84:14

  - async.js:66 sync
    [kuworking-theme-one]/[@babel]/core/lib/gensync-utils/async.js:66:25

  - index.js:177 sync
    [kuworking-theme-one]/[gensync]/index.js:177:19

  - index.js:204 onFirstPause
    [kuworking-theme-one]/[gensync]/index.js:204:19

  - Generator.next

  - caching.js:68 cachedFunction
    [kuworking-theme-one]/[@babel]/core/lib/config/caching.js:68:46

  - cachedFunction.next

  - full.js:292 loadPresetDescriptor
    [kuworking-theme-one]/[@babel]/core/lib/config/full.js:292:44

  - loadPresetDescriptor.next

  - full.js:107 recurseDescriptors
    [kuworking-theme-one]/[@babel]/core/lib/config/full.js:107:30

  - recurseDescriptors.next

  - full.js:142 loadFullConfig
    [kuworking-theme-one]/[@babel]/core/lib/config/full.js:142:6


not finished source and transform nodes - 1.007s
question or discussion

Hilfreichster Kommentar

Gelöst durch Aktualisieren (im Kernthema) von gatsby-plugin-mdx von 1.1.4 auf 1.1.6

>Alle Kommentare

Gelöst durch Aktualisieren (im Kernthema) von gatsby-plugin-mdx von 1.1.4 auf 1.1.6

War diese Seite hilfreich?
0 / 5 - 0 Bewertungen

Verwandte Themen

timbrandin picture timbrandin  ·  3Kommentare

hobochild picture hobochild  ·  3Kommentare

3CordGuy picture 3CordGuy  ·  3Kommentare

jimfilippou picture jimfilippou  ·  3Kommentare

theduke picture theduke  ·  3Kommentare