Giter Club home page Giter Club logo

Comments (3)

cabello avatar cabello commented on May 27, 2024

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.

cabello avatar cabello commented on May 27, 2024

It's worth mentioning that the preview mode works like a charm, and looks so nice! ❤️

from log4brains.

timhonermann avatar timhonermann commented on May 27, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.