gatsby-starter icon indicating copy to clipboard operation
gatsby-starter copied to clipboard

Error: Unable to find plugin "gatsby-remark-images"

Open FDiskas opened this issue 7 years ago • 7 comments

  1. npm i
  2. npm start
  3. Error: Unable to find plugin "gatsby-remark-images"

FDiskas avatar Jan 03 '18 13:01 FDiskas

mmm… interresting, can I have more information on your system? (os, node version) can you check if you have really gatsby-remark-images into your node_modules? (I will need your help, I don't have personnally this issue on my computer :wink: )

fabien0102 avatar Jan 04 '18 16:01 fabien0102

OS: ubuntu NPM: 5* Node: 8*

FDiskas avatar Jan 04 '18 17:01 FDiskas

Ok tried from scratch again and it's worked now. But yarn serve does not. Instead I got screenshot Yes i did build before serve

FDiskas avatar Jan 04 '18 18:01 FDiskas

Oh sorry you missing that script in package please add

"preserve": "npm run build",
"serve": "gatsby serve",

FDiskas avatar Jan 04 '18 18:01 FDiskas

Since I have the netlify hook to check the real build, I don't really need to have a serve script :wink: but it's a good idea for this starter 👍

fabien0102 avatar Jan 07 '18 10:01 fabien0102

Does netlify supports server side rendering? How can i set it up?

FDiskas avatar Jan 07 '18 11:01 FDiskas

Netlify build and serve your static files, gatsby do the "server side rendering" on the build, so it's fit perfectly :wink:

Just go on netlify, the documentation is quite good, after you can add some github hooks to generate this kind of build/message (https://github.com/fabien0102/gatsby-starter/pull/41#issuecomment-350590144) :wink: And also build on every branch modifications or custom hook. So you have your entire CI / hosting solution just with github and netlify.

fabien0102 avatar Jan 07 '18 13:01 fabien0102