Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants