Skip to content

I can't use Stylify on Astro #209

@mzaini30

Description

@mzaini30

Describe the bug

I can't use Stylify on my Astro minimal template. Why?

Reproduction

https://github.com/mzaini30/astro-stylify

Logs

Error: Cannot find module 'C:latihanastro-stylifysrcstylesstylify.css' imported from 'astro:scripts/page-ssr.js'
    at nodeImport (file:///C:/latihan/astro-stylify/node_modules/.pnpm/vite@4.1.4/node_modules/vite/dist/node/chunks/dep-ca21228b.js:52451:25)
    at ssrImport (file:///C:/latihan/astro-stylify/node_modules/.pnpm/vite@4.1.4/node_modules/vite/dist/node/chunks/dep-ca21228b.js:52374:20)
    at eval (astro:scripts/page-ssr.js:3:50)    at instantiateModule (file:///C:/latihan/astro-stylify/node_modules/.pnpm/vite@4.1.4/node_modules/vite/dist/node/chunks/dep-ca21228b.js:52420:15)

System Info

OS: Windows 11 (Phoenix Lite OS)

Text editor: VS Code

Terminal: Git Bash

Metadata

Metadata

Assignees

No one assigned

    Labels

    🐞 bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions