Comments (12)
https://www.npmjs.com/package/next-transpile-modules
https://nextjs.org/blog/next-13-1
https://nextjs.org/blog/next-13-1#built-in-module-transpilation-stable
from builderbook.
Hi.
I did this project in the past. And also I'm not so good at programming at the moment.
There is some breaking changes in chapter 9.
in my project 9-begin everything is kinda fine, but 9-end, I'm having issue with book chapters. Chapters are not showing when I click to book.
from builderbook.
Hi @reingoldkz Thanks for reporting. We will look into the potential Heroku issue.
Regarding 9-end
, are you running our exact code from the repo? I just ran 9-end
on my machine and didn't see any issues. I am able to open my sample book and see the chapters.
Try running 9-end
directly from our repo with your environmental variables.
Please also share any screenshots or error messages you see regarding "chapters are not showing".
from builderbook.
Hi, @klyburke
If you run code locally it works fine.
But when we deploy the code to Heroku, it is giving error: Cannot find module 'next-transpile-modules'
https://nextjs.org/docs/pages/api-reference/next-config-js/transpilePackages
Next.js 13 can automatically transpile and bundle dependencies from local packages (like monorepos) or from external dependencies (node_modules). This replaces the next-transpile-modules package.
Therefor, I think we need to change next.config.js file.
But I am beginner, and can't understand, how do it correctly.
My projects running OK on Herorku, but there is the problem with showing chapters of book.
Thanks for your help.
from builderbook.
@reingoldkz Not sure about Heroku deployment. What happens when you have "next-transpile-modules" inside package.json: https://github.com/async-labs/builderbook/blob/master/builderbook/package.json
Please make sure that you run "yarn install" after adding package manually to package.json file.
If problem persists I can try deploying your project to our Heroku account. For that to happen, you can add me to your private repo and provide all necessary instructions inside repo's README.md file.
from builderbook.
My problem: Book chapters are not showing up.
And the problem occurs right after this part of the book till the end.
I couldn't figure it out what is the couse.
Maybe I think it is linked to next.config.js file update and code there.
from builderbook.
the project running OK on Heroku and loclhost:8000,
but there is a problem with showing book Chapters.
book chapters not showing up on local dev and on Heroku app.
I can't figure it out why.
from builderbook.
error: Content sync has error {"error":{},"path":"chapter-1.md"}
from builderbook.
Hi async-labs,
My problem is written in above messages,
I want just to give more information.
So, at the 9-begin my code and localhost dev environment runs OK.
Everything is fine.
I can add books and chapters show up. Everything is fine.
I continue to make changes on 9-th chapter, till the Next.js v13 and other packages upgrade, and I get error:
chapter is not showing up
error: Content sync has error {"error":{},"path":"chapter-1.md"}
from builderbook.
my code is from builderbook\9-begin, I have needed env variables,
and then I switch to 9-end code, to check. but problem remains.
I can't sync Chapters.
error: Content sync has error {"error":{},"path":"chapter-1.md"}
I looked very closely and invested a lot of time, but can't figure it out.
I'm beginner, and should admit that I can't understand all the code, but I am so close to make this project to work
This problem is I can't solve at the moment.
Any assist from your side will be helpful.
Thanks
from builderbook.
Breaking change from 9-begin to 9-end in my case was
to downgrade marked package version.
from
"marked": "^4.2.5",
to
"marked": "^1.2.7",
from builderbook.
marked should be 1.2.7 inside 9-end project
from builderbook.
Related Issues (20)
- Missing import { MenuItem } from '@mui/material' HOT 1
- Broken link to screenshot HOT 3
- 01 HOT 1
- No MUI and Failed Prop type HOT 10
- Begin-1 yarn install issue HOT 1
- Is my project possible with this program? HOT 2
- Can excerpt take a markdown file or markdown syntax instead of string? HOT 2
- Typo under subheading 'theme and ThemeProvider' HOT 1
- Placement of .env file and linkage not working in 2-begin HOT 3
- December 2022 / January 2023 update (done)
- Sign in with Google. / Google OAuth API Infrastructure HOT 1
- Chapter 2 HOT 3
- Question on the content of the books (1 versus 2) HOT 2
- Chapter 4-end / Chapter 5-begin results in 403 forbidden HOT 4
- next-transpile-modules - This package has been deprecated - next.config.js HOT 1
- 404 Page Not Found to External Link HOT 1
- November / December 2023 update (DONE)
- Ch01 Index Page - Invalid `<Link>` with `<a>` child HOT 3
- Stripe related bugs
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from builderbook.