typedoc-plugin-markdown icon indicating copy to clipboard operation
typedoc-plugin-markdown copied to clipboard

Module not found and Typescript error raised.

Open janaSunrise opened this issue 3 years ago • 2 comments
trafficstars

I'm trying to build a docusaurus project with autogenerated API documentation, but weirdly it's not working.

This is the error I'm getting, Screenshot from 2022-01-19 23-10-28

The reproducible code can be found here.

We build the project as so,

cd docs
yarn
yarn start

And, this doesn't build the auto-documentation and throws the error.

I'm confused why this is happening, Mind helping us out with this?

Regards.

janaSunrise avatar Jan 19 '22 17:01 janaSunrise

these are typescript compilation errors unrelated to the plugin. by the looks of things there are quite a few missing dependencies that are not getting resolved,

tgreyuk avatar Jan 19 '22 23:01 tgreyuk

I have 2 different node_modules, one in the docs/ subdirectory, another in the root. When I first setup the project, it worked fine, but when I pushed and cloned with a clean install, it ceased to work. I'm not sure how/what this is happening weirdly. Although the library compiles fine too, these errors are a first-timer.

Edit.

Since the repo we're contributing to is a fork, I tried to generate types using tsc (available as yarn run generate-types).

The forked repo threw errors when we tried to generate types. Screenshot from 2022-01-20 16-07-25

While the original repo didn't. Screenshot from 2022-01-20 16-08-42

Edit 2.

I decided to create a new repository fork and try it. This started throwing error when I initialized the plugin, and pushed to repo. And then I tried to generate it, and it threw the same errors as above. Screenshot from 2022-01-20 18-53-15 Screenshot from 2022-01-20 18-52-48

janaSunrise avatar Jan 20 '22 04:01 janaSunrise

Closing as not related to plugin.

tgreyuk avatar Jan 30 '23 10:01 tgreyuk