Skip to content

v5 docker container can not start! #2429

@804260247

Description

@804260247

Describe the bug
I setup quartz5 by docker,but it can't start correctly.

To Reproduce
I use the following docker-compose.yml

version: '3.8'

services:
  quartz:
    build: .
    # image: ghcr.io/jackyzha0/quartz:latest
    container_name: quartz
    ports:
      - "7979:8080"
      - "3009:3001"
    volumes:
      - ./data:/usr/src/app/content
    stdin_open: true
    tty: true
    restart: always

then

docker compose up -d
docker logs -f quartz

the info shows errors:

 Quartz v5.0.0  

✘ [ERROR] No matching export in ".quartz/plugins/index.ts" for import "CustomOgImagesEmitterName"

    quartz/components/Head.tsx:7:9:
      7 │ import { CustomOgImagesEmitterName } from "../../.quartz/plugins"~~~~~~~~~~~~~~~~~~~~~~~~~

Failed to build Quartz. Check for syntax errors in your configuration or plugins.
Reason: Build failed with 1 error:
quartz/components/Head.tsx:7:9: ERROR: No matching export in ".quartz/plugins/index.ts" for import "CustomOgImagesEmitterName"
npm notice
npm notice New major version of npm available! 10.9.8 -> 11.16.0
npm notice Changelog: https://github.com/npm/cli/releases/tag/v11.16.0
npm notice To update run: npm install -g npm@11.16.0
npm notice

 Quartz v5.0.0  

✘ [ERROR] No matching export in ".quartz/plugins/index.ts" for import "CustomOgImagesEmitterName"

    quartz/components/Head.tsx:7:9:
      7 │ import { CustomOgImagesEmitterName } from "../../.quartz/plugins"~~~~~~~~~~~~~~~~~~~~~~~~~

Failed to build Quartz. Check for syntax errors in your configuration or plugins.
Reason: Build failed with 1 error:
quartz/components/Head.tsx:7:9: ERROR: No matching export in ".quartz/plugins/index.ts" for import "CustomOgImagesEmitterName"

 Quartz v5.0.0  

✘ [ERROR] No matching export in ".quartz/plugins/index.ts" for import "CustomOgImagesEmitterName"

    quartz/components/Head.tsx:7:9:
      7 │ import { CustomOgImagesEmitterName } from "../../.quartz/plugins"~~~~~~~~~~~~~~~~~~~~~~~~~

Failed to build Quartz. Check for syntax errors in your configuration or plugins.
Reason: Build failed with 1 error:
quartz/components/Head.tsx:7:9: ERROR: No matching export in ".quartz/plugins/index.ts" for import "CustomOgImagesEmitterName"

 Quartz v5.0.0  

✘ [ERROR] No matching export in ".quartz/plugins/index.ts" for import "CustomOgImagesEmitterName"

    quartz/components/Head.tsx:7:9:
      7 │ import { CustomOgImagesEmitterName } from "../../.quartz/plugins"~~~~~~~~~~~~~~~~~~~~~~~~~

Failed to build Quartz. Check for syntax errors in your configuration or plugins.
Reason: Build failed with 1 error:
quartz/components/Head.tsx:7:9: ERROR: No matching export in ".quartz/plugins/index.ts" for import "CustomOgImagesEmitterName"

 Quartz v5.0.0  

✘ [ERROR] No matching export in ".quartz/plugins/index.ts" for import "CustomOgImagesEmitterName"

    quartz/components/Head.tsx:7:9:
      7 │ import { CustomOgImagesEmitterName } from "../../.quartz/plugins"~~~~~~~~~~~~~~~~~~~~~~~~~

Failed to build Quartz. Check for syntax errors in your configuration or plugins.
Reason: Build failed with 1 error:
quartz/components/Head.tsx:7:9: ERROR: No matching export in ".quartz/plugins/index.ts" for import "CustomOgImagesEmitterName"

Expected behavior
running correctly

Desktop (please complete the following information):

  • Quartz Version: v5
  • Browser: chrome

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions