Comments (3)
Correction, even after adding sharp I cannot build log4brain:
Building Log4brains...
info - Creating an optimized production build
[Next] warn - Compiled with warnings
[Next] ../node_modules/next/dist/next-server/server/load-components.js
Critical dependency: the request of a dependency is an expression
../node_modules/next/dist/next-server/server/load-components.js
Critical dependency: the request of a dependency is an expression
../node_modules/next/dist/next-server/server/require.js
Critical dependency: the request of a dependency is an expression
../node_modules/next/dist/next-server/server/require.js
Critical dependency: the request of a dependency is an expression
../node_modules/next/dist/next-server/server/require.js
Critical dependency: the request of a dependency is an expression
/Users/user/workspace/work/project/node_modules/awilix/lib/container.js
Critical dependency: the request of a dependency is an expression
/Users/user/workspace/work/project/node_modules/awilix/lib/load-module-native.js
Critical dependency: the request of a dependency is an expression
[Next]
info - Collecting page data
info - Finalizing page optimization
[Next] warn - Statically exporting a Next.js application via `next export` disables API routes.
This command is meant for static-only hosts, and is not necessary to make your application static.
Pages in your application without server-side data dependencies will be automatically statically exported by `next build`, including pages powered by `getStaticProps`.
Learn more: https://err.sh/vercel/next.js/api-routes-static-export
[====] Generating search index... Done
✔ Your Log4brains static site was successfully generated to .log4brains/out with a total of 3 ADRs
✨ Done in 21.91s.
I think it has something to do with M1 but according to this comment lovell/sharp#2460 (comment) M1 is now supported by sharp and I am using the latest version 0.29.1
.
from log4brains.
It's worth mentioning that the preview mode works like a charm, and looks so nice! ❤️
from log4brains.
Any updates on this? I'm experiencing the exact same issue. Preview works like a charm, build doesn't. Working on windows 10 with node v16.10.0. Build in Gitlab-CI Pipeline according to tutorial in readme (https://github.com/thomvaill/log4brains#-getting-started) doesn't work properly aswell
from log4brains.
Related Issues (20)
- How to link to image inside of ADR?
- Cannot run CLI commands HOT 3
- Contributing Onboarding HOT 2
- Docker build for arm64 HOT 1
- log4brains build broken on node 14.21.3 HOT 3
- Using superseded adrs with multi package project. HOT 1
- External JS Libraries HOT 1
- html comments containing reference link defentions crash clientside renderer
- Build output to a single HTML file
- Is this project DEAD? (canary issue) HOT 5
- Nodejs 21 doesnt' work HOT 3
- Stop using yarn.lock and pin the exact versions of dependencies in the package.json files
- cannot read property 'incrementalOptions' of undefined HOT 5
- Preview fails with `Cannot read property 'incrementalOptions' of undefined` HOT 4
- Issue with comment in MD file HOT 2
- Log4brains is broken on Node v18.x HOT 1
- Is there a way to customise the primary theme color - 2176AE
- CLI commands for workflow/lifecycle management - And/or Github integration HOT 1
- Decision Log Package Filtering HOT 5
- Support for mermaid.js
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 log4brains.