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

Cannot build docs in gitpod #164

Open
naveennamani opened this issue Mar 13, 2022 · 1 comment
Open

Cannot build docs in gitpod #164

naveennamani opened this issue Mar 13, 2022 · 1 comment

Comments

@naveennamani
Copy link

naveennamani commented Mar 13, 2022

I opened the repo in gitpod and tried to build the docs.
The following are the commands I tried.

npm i pnpm
pnpm install
pnpm build 

Versions of the packages

node: v16.13.2
pnpm: 6.32.1

But, the build step failing always saying


.vitepress/theme/components/global/playground/InlinePlayground.vue:265:33 - error TS2322: Type '{ class: string; }' is not assignable to type 'DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>'.
  Property 'class' does not exist on type 'DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>'. Did you mean 'className'?

265         <div v-if="showPreview" class="border-l border-$windi-bc w-10em p-3 min-h-40">
                                    ~~~~~


Found 208 errors in 55 files.

I don't understand what I did wrong. Because the same steps are followed in github action files (ci.yml). This seems so simple, yet making my head scratch.

Please point me in the right direction to understand the issue.

@naveennamani
Copy link
Author

For any of you struggling with this issue, please checkout my repository https://github.com/naveennamani/offline-docs#windicss

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

1 participant