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

[lit-starter-ts] Missing prismjs theme #4596

Open
majidsajadi opened this issue Mar 24, 2024 · 0 comments · May be fixed by #4597
Open

[lit-starter-ts] Missing prismjs theme #4596

majidsajadi opened this issue Mar 24, 2024 · 0 comments · May be fixed by #4597

Comments

@majidsajadi
Copy link

Which package(s) are affected?

Starter Kits (@lit/lit-starter-js / @lit/lit-starter-ts)

Description

When I want to build the docs through pnpm run docs the command fails due to missing prismjs theme.

> @lit/lit-starter-ts@2.0.1 docs:assets
> cp node_modules/prismjs/themes/prism-okaidia.css docs/

cp: node_modules/prismjs/themes/prism-okaidia.css: No such file or directory

Reproduction

git clone https://github.com/lit/lit-element-starter-ts
cd lit-element-starter-ts
pnpm i
pnpm run docs

Workaround

Installing prismjs as dev dependency.

Is this a regression?

No or unsure. This never worked, or I haven't tried before.

Affected versions

lit 3.1.2

Browser/OS/Node environment

node v21.6.2
pnpm v8.15.1

@majidsajadi majidsajadi linked a pull request Mar 24, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

Successfully merging a pull request may close this issue.

1 participant