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

gatsby new blogname url error #24

Closed
TafkaMax opened this issue Apr 13, 2021 · 3 comments
Closed

gatsby new blogname url error #24

TafkaMax opened this issue Apr 13, 2021 · 3 comments

Comments

@TafkaMax
Copy link

I am having a problem setting up the blog using gatsby. I am using nvm and I've tried Erbium, Fermium and Lates nvm 15. Are NPM versions I am using too new or is there a more underlying issue?

2021-04-13T17_41_13_923Z-debug.log

@TafkaMax
Copy link
Author

Fixed it:

nvm install 10.13.0

npm install --global gatsby@2.0.31

forked it instead of that first thingy, 2nd method.

PS: gatsbyjs/gatsby#8488

lol

@TafkaMax
Copy link
Author

log-file.txt

Tried to use your "simple to deploy netifly" solution. Seems it doesn't work well with modern npm. Ive tried to get closer to running it. First of all I can get the test server to run with the following settings I said previously. But graphQL seems to weird out when doing npm run deploy

error Plugin gatsby-plugin-feed returned an error


  Error: Cannot query field "siteUrl" on type "siteMetadata_2".
  GraphQL request (7:11)
  6:           description
  7:           siteUrl
               ^
  8:           site_url: siteUrl
  , Cannot query field "siteUrl" on type "siteMetadata_2".
  GraphQL request (8:11)
  7:           siteUrl
  8:           site_url: siteUrl
               ^
  9:         }
  
  - internals.js:22 
    [devblog]/[gatsby-plugin-feed]/internals.js:22:13
  
  - util.js:16 tryCatcher
    [devblog]/[bluebird]/js/release/util.js:16:23
  
  - promise.js:512 Promise._settlePromiseFromHandler
    [devblog]/[bluebird]/js/release/promise.js:512:31
  
  - promise.js:569 Promise._settlePromise
    [devblog]/[bluebird]/js/release/promise.js:569:18
  
  - promise.js:606 Promise._settlePromiseCtx
    [devblog]/[bluebird]/js/release/promise.js:606:10
  
  - async.js:142 _drainQueueStep
    [devblog]/[bluebird]/js/release/async.js:142:12
  
  - async.js:131 _drainQueue
    [devblog]/[bluebird]/js/release/async.js:131:9
  
  - async.js:147 Async._drainQueues
    [devblog]/[bluebird]/js/release/async.js:147:5
  
  - async.js:17 Immediate.Async.drainQueues [as _onImmediate]
    [devblog]/[bluebird]/js/release/async.js:17:14
  

Could you please give me some tips or look into it?

@TafkaMax TafkaMax reopened this Apr 15, 2021
@TafkaMax
Copy link
Author

yeah i was just missing siteUrl from the end of config file. But still v10.13 and gatsby@2.0.31 seems to work.

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

No branches or pull requests

1 participant