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 use template due to postcss-nesting #10

Closed
scarf005 opened this issue Mar 2, 2023 · 2 comments
Closed

cannot use template due to postcss-nesting #10

scarf005 opened this issue Mar 2, 2023 · 2 comments

Comments

@scarf005
Copy link

scarf005 commented Mar 2, 2023

 deno task lume
Task lume echo "import 'lume/cli.ts'" | deno run --unstable -A -
Loading config file file:///home/scarf/repo/blog/_config.ts

Warning Implicitly using latest version (v0.7.0) for https://deno.land/x/lume_theme_simple_blog/mod.ts

TypeError: Could not find npm package 'postcss-nesting' matching 11.2.1. Try retrieving the latest npm package information by running with --reload
    at async createSite (https://deno.land/x/lume@v1.15.3/cli/run.ts:50:17)
    at async build (https://deno.land/x/lume@v1.15.3/cli/build.ts:28:16)
    at async Command.execute (https://deno.land/x/cliffy@v0.25.7/command/command.ts:1794:7)
    at async Command.parseCommand (https://deno.land/x/cliffy@v0.25.7/command/command.ts:1639:14)
    at async (https://deno.land/x/lume@v1.15.3/cli.ts:158:3)

i think there's problem resolving package postcss-nesting in the template.

@oscarotero
Copy link
Member

This is a bug from Deno related to how it's cached the npm modules data. More info here: denoland/deno#16901

You can run deno cache --reload _config.ts to reload the cache of your _config.ts file. It should fix it.

@scarf005
Copy link
Author

scarf005 commented Mar 2, 2023

thank you! it works now.

@scarf005 scarf005 closed this as completed Mar 2, 2023
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

2 participants