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

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

Open
FDiskas opened this issue Jan 3, 2018 · 7 comments
Open

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

FDiskas opened this issue Jan 3, 2018 · 7 comments

Comments

@FDiskas
Copy link

FDiskas commented Jan 3, 2018

  1. npm i
  2. npm start
  3. Error: Unable to find plugin "gatsby-remark-images"
@fabien0102
Copy link
Owner

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 😉 )

@FDiskas
Copy link
Author

FDiskas commented Jan 4, 2018

OS: ubuntu
NPM: 5*
Node: 8*

@FDiskas
Copy link
Author

FDiskas commented Jan 4, 2018

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
Copy link
Author

FDiskas commented Jan 4, 2018

Oh sorry you missing that script in package
please add

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

@fabien0102
Copy link
Owner

fabien0102 commented Jan 7, 2018

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

@FDiskas
Copy link
Author

FDiskas commented Jan 7, 2018

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

@fabien0102
Copy link
Owner

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

Just go on netlify, the documentation is quite good, after you can add some github hooks to generate this kind of build/message (#41 (comment)) 😉 And also build on every branch modifications or custom hook. So you have your entire CI / hosting solution just with github and netlify.

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

2 participants