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

Error: Cannot find module 'typescript' docz #1743

Open
giovanesantossilva opened this issue Nov 9, 2022 · 2 comments
Open

Error: Cannot find module 'typescript' docz #1743

giovanesantossilva opened this issue Nov 9, 2022 · 2 comments

Comments

@giovanesantossilva
Copy link

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
@mishatron
Copy link

the same issue, how can I fix it?

@DanielcBatista
Copy link

DanielcBatista commented Oct 10, 2023

Try npm install typescript. You need typescript to build the app.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants