Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

plugin gatsby-transformer-xml not working #2083

Closed
pjuerg opened this issue Sep 11, 2017 · 5 comments · May be fixed by ajesse11x/gatsby#719, philipedin/gatsby#835 or harunpehlivan/gatsby#782
Closed

plugin gatsby-transformer-xml not working #2083

pjuerg opened this issue Sep 11, 2017 · 5 comments · May be fixed by ajesse11x/gatsby#719, philipedin/gatsby#835 or harunpehlivan/gatsby#782

Comments

@pjuerg
Copy link

pjuerg commented Sep 11, 2017

I'm fairly new to gatsby! My case is to convert a side based on one xml file to gatsby. I start building most simple project with gatsby-starter

  • add plugin gatsby-source-filesystem and gatsby-transformer-xml
  • used bookss.xml from the example to have a simple xml

then gatsby develop throws
(node:11236) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): TypeError: Cannot read property 'internal' of undefined
and hangs up while building the schema.

Did I misunderstood some concept or is this an issue?

@KyleAMathews
Copy link
Contributor

KyleAMathews commented Sep 11, 2017 via email

@pjuerg
Copy link
Author

pjuerg commented Sep 11, 2017

Sorry. No idea how to simple host this example?
Without transform-xml runs everything, with other transformer like gatsby-transformer-javascript-static-exports it works also fine.
I just thought maybe it's the place of the xml-file in the file-system. I put it in src/pages/bookss.xml

files in src
bildschirmfoto 2017-09-11 um 16 08 53

gatsby-configs.js
bildschirmfoto 2017-09-11 um 16 09 46

@KyleAMathews
Copy link
Contributor

Create a repo on GitHub and then add a site reproducing the problem there.

@pjuerg
Copy link
Author

pjuerg commented Sep 11, 2017 via email

@pjuerg
Copy link
Author

pjuerg commented Sep 13, 2017

Hi, mathew, could you retrace the problem with the xml transofmer?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants