Comments (9)
@styxlab Thank you for your assistance with this, you helped me clearing some of my doubts.
from next-cms-ghost.
@dassiorleando: Welcome to this project! It looks like some issue with custom images that you are using.
Could you please start out even simpler, by not changing the env variables (in this case the example project is generated):
- clone repo
- yarn
- yarn dev
Let's see if that works and we'll take it from there.
from next-cms-ghost.
@styxlab, I had the same error but once switched to Node 12.16.1 it worked fine.
from next-cms-ghost.
Interesting, what node version were you using before?
from next-cms-ghost.
@styxlab I was using NodeJS v10.19.0.
But still, my own Ghost installation that runs on Heroku using ghost-on-heroku doesn't work.
from next-cms-ghost.
Node requirement comes from Next.js
and should be v10.13.0
at the minimum, but using node v12
(or better v14
) is recommended. If I understand you correctly, the example project is now working, but when you source your own content, the project is not compiling? For further debugging I need:
- A list of exact config changes that you made
- The error log from
yarn build
from next-cms-ghost.
It's strange and maybe a local problem, I'm not sure yet.
I have just succeeded in deploying my Ghost on Heroku deployment using Vercel, they use Node 14.
I'm now using Node14 on my PC, but yarn dev doesn't work while yarn build compiles successfully.
The yarn dev error that I have is on the App itself, using Chrome Inspector tool (debugger) I'm able to see this:
Failed to load resource: the server responded with a status of 404 (Not Found)
webpack.js?ts=1621773317918:733 Uncaught (in promise) ChunkLoadError: Loading chunk node_modules_next_dist_client_dev_noop_js failed.
(error: http://localhost:3000/_next/static/chunks/fallback/node_modules_next_dist_client_dev_noop_js.js)
at Object.webpack_require.f.j (http://localhost:3000/_next/static/chunks/webpack.js?ts=1621773317918:733:29)
at http://localhost:3000/_next/static/chunks/webpack.js?ts=1621773317918:154:40
at Array.reduce ()
at Function.webpack_require.e (http://localhost:3000/_next/static/chunks/webpack.js?ts=1621773317918:153:67)
at Function.fn.e (http://localhost:3000/_next/static/chunks/webpack.js?ts=1621773317918:368:50)
at eval (webpack-internal:///./node_modules/next/dist/client/next-dev.js:31:21)
at Object../node_modules/next/dist/client/next-dev.js (http://localhost:3000/_next/static/chunks/main.js?ts=1621773317918:589:1)
at Object.options.factory (http://localhost:3000/_next/static/chunks/webpack.js?ts=1621773317918:685:31)
at webpack_require (http://localhost:3000/_next/static/chunks/webpack.js?ts=1621773317918:37:33)
at webpack_exec (http://localhost:3000/_next/static/chunks/main.js?ts=1621773317918:1335:61)
hot-dev-client.js?eeae:196
from next-cms-ghost.
I have found a solution, I'm not sure about what's happening behind but once deleted the .next folder it worked fine.
from next-cms-ghost.
Glad you found a solution.
from next-cms-ghost.
Related Issues (20)
- Changing theme settings doesn't work HOT 4
- Netlify Deploy workflow fails HOT 9
- next/images on Netlify HOT 2
- ISR on Netlify
- Open the images in full-screen display on click HOT 8
- Can I change my theme. HOT 1
- Pagination is not available HOT 12
- Error: Index creation failed - after adding API URL & Key HOT 10
- Integrate post/draft preview HOT 1
- getting issue on author image HOT 2
- I cant embed html scripts in my posts. HOT 1
- Upgrade Rehype HOT 2
- did you can add search bar HOT 1
- I can't send message in Contact page HOT 1
- Will this not work for Ghost V.5 and why not? HOT 1
- Working with local ghost installation
- TypeError: withImageLoader is not a function (warning [email protected]: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info. HOT 6
- Build error occurred ReferenceError: Cannot access 'api' before init
- Abandoned? HOT 1
- Build specific feed for each author
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 next-cms-ghost.