Skip to content

Sending E-Mail (SMTP) fails with _Couldn't resolve parser "html"_. #778

Closed

Description

@elpatron68

Docmost v0.8.2

Whenever I try to let Docmost send an E-Mail by SMTP (invite user or forgot password), it fails with Couldn't resolve parser "html". Any I ideas on what´s going wrong here?

Log

2025-02-22 12:53:19 [Nest] 41  - 02/22/2025, 11:53:19 AM   ERROR [ExceptionsHandler] Re [ConfigError]: Couldn't resolve parser "html". Plugins must be explicitly added to the standalone bundle.
2025-02-22 12:53:19     at tr (/app/node_modules/.pnpm/[email protected]/node_modules/prettier/standalone.js:31:11164)
2025-02-22 12:53:19     at vi (/app/node_modules/.pnpm/[email protected]/node_modules/prettier/standalone.js:31:12183)
2025-02-22 12:53:19     at sr (/app/node_modules/.pnpm/[email protected]/node_modules/prettier/standalone.js:37:273)
2025-02-22 12:53:19     at /app/node_modules/.pnpm/[email protected]/node_modules/prettier/standalone.js:39:802
2025-02-22 12:53:19     at gu (/app/node_modules/.pnpm/[email protected]/node_modules/prettier/standalone.js:39:871)
2025-02-22 12:53:19     at pretty (/app/node_modules/.pnpm/@[email protected][email protected][email protected][email protected]/node_modules/@react-email/render/dist/node/index.js:152:39)
2025-02-22 12:53:19     at /app/node_modules/.pnpm/@[email protected][email protected][email protected][email protected]/node_modules/@react-email/render/dist/node/index.js:218:12
2025-02-22 12:53:19     at Generator.next (<anonymous>)
2025-02-22 12:53:19     at fulfilled (/app/node_modules/.pnpm/@[email protected][email protected][email protected][email protected]/node_modules/@react-email/render/dist/node/index.js:50:24)
2025-02-22 12:53:19     at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

My docker-compose.yml

[...]
    environment:
      APP_URL: 'https://docmost.elpatron.me'
      APP_SECRET: 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
      DATABASE_URL: 'postgresql://docmost:xxxxxxxxxxxxxxxxxxxx@db:5432/docmost?schema=public'
      REDIS_URL: 'redis://redis:6379'
      MAIL_DRIVER: smtp
      SMTP_HOST: smtp.mailbox.org
      SMTP_PORT: 465
      SMTP_USERNAME: [email protected]
      SMTP_PASSWORD: xxxxxxxxxxxxxxx
      SMTP_SECURE: true
      MAIL_FROM_ADDRESS: [email protected]
      MAIL_FROM_NAME: Docmost

Activity

  1. Philipinho commented on Feb 22, 2025

    @Philipinho
    Member

    Thanks for reporting. Please upgrade to v0.8.3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions