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

getAllPosts issue #2

Open
gaetandezeiraud opened this issue Sep 24, 2021 · 0 comments
Open

getAllPosts issue #2

gaetandezeiraud opened this issue Sep 24, 2021 · 0 comments

Comments

@gaetandezeiraud
Copy link

gaetandezeiraud commented Sep 24, 2021

error - Error: Cannot find module './osts/style-guide-101.md'
    at C:\Users\gaeta\Git\gaetan.dezeiraud.com\.next\server\pages\index.js:21:12
    at async getAllPosts (C:\Users\gaeta\Git\gaetan.dezeiraud.com\.next\server\pages\index.js:263:21)
    at async getStaticProps (C:\Users\gaeta\Git\gaetan.dezeiraud.com\.next\server\pages\index.js:2416:20)
    at async Object.renderToHTML (C:\Users\gaeta\Git\gaetan.dezeiraud.com\node_modules\next\dist\server\render.js:329:24)
    at async doRender (C:\Users\gaeta\Git\gaetan.dezeiraud.com\node_modules\next\dist\server\next-server.js:1144:38)
    at async C:\Users\gaeta\Git\gaetan.dezeiraud.com\node_modules\next\dist\server\next-server.js:1236:28
    at async C:\Users\gaeta\Git\gaetan.dezeiraud.com\node_modules\next\dist\server\response-cache.js:64:36 {
  code: 'MODULE_NOT_FOUND',
  page: '/'

Same here https://css-tricks.com/building-a-blog-with-next-js/ in comments.

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