Skip to content
This repository was archived by the owner on Jan 24, 2025. It is now read-only.
This repository was archived by the owner on Jan 24, 2025. It is now read-only.

Error: Cannot find module 'typescript' docz #1743

Open
@giovanesantossilva

Description

@giovanesantossilva

Bug Report

Describe the bug

I configured the docs not to use typescript even so it gives this error!

To Reproduce

Doczrc.js

export default {
    typescript: false
}

Error:

$ docz dev --config ./doczrc.js
node:internal/modules/cjs/loader:998
  throw err;
  ^

Error: Cannot find module 'typescript'
Require stack:

Environment

  • docz version: 2.4.0
  • OS: macOS 13.0 22A380 x86_64
  • Node/npm version: 18.12.0/8.19.2

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