Coder Social home page Coder Social logo

Comments (7)

krumware avatar krumware commented on June 14, 2024

Currently, this is a limitation in the calendso main project side with next.js. those environmental variables are injected at build time but not at runtime (and is being addressed in other WIP branches).

If you choose to in the meantime, they can be used at runtime by modifying start.sh to use yarn dev instead of yard start, or by specifying yarn dev as the docker run command (but you'll lose the database liveness check)

from docker.

krumware avatar krumware commented on June 14, 2024

to clarify, I want to keep this issue open so that it gets addressed in some fashion

from docker.

wivaku avatar wivaku commented on June 14, 2024

I have modified start.sh and replaced yarn start with yarn dev.
The log now shows:

calendso     | + yarn dev
calendso     | yarn run v1.22.15
calendso     | $ next dev
calendso     | ready - started server on 0.0.0.0:3000, url: http://localhost:3000
calendso     | Error: > Couldn't find a `pages` directory. Please create one under the project root
calendso     |     at Object.findPagesDir (/app/node_modules/next/dist/lib/find-pages-dir.js:33:11)
calendso     |     at new DevServer (/app/node_modules/next/dist/server/dev/next-dev-server.js:111:44)
calendso     |     at NextServer.createServer (/app/node_modules/next/dist/server/next.js:102:20)
calendso     |     at /app/node_modules/next/dist/server/next.js:117:42
calendso     |     at async NextServer.prepare (/app/node_modules/next/dist/server/next.js:92:24)
calendso     |     at async /app/node_modules/next/dist/cli/next-dev.js:128:9
calendso     | error Command failed with exit code 1.

from docker.

PeerRich avatar PeerRich commented on June 14, 2024

@bvallelunga any ideas?

from docker.

krumware avatar krumware commented on June 14, 2024

please test with #51 if possible

from docker.

krumware avatar krumware commented on June 14, 2024

please re-test with current files

from docker.

krumware avatar krumware commented on June 14, 2024

Closing for inactivity

from docker.

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.