Skip to content

PostCSSSense cannot find the node_modules #1

@sarigiannidis

Description

@sarigiannidis

I get this error:

Error reading CSS file: Error: ENOENT: no such file or directory, stat '/workspaces/sandbox/node_modules/tailwindcss'

vscode.window.showErrorMessage(`Error reading CSS file: ${error}`);

The node_modules are here: /workspaces/sandbox/src/node_modules/.
It seems that this happens because I open the folder /workspaces/sandbox/ instead of /workspaces/sandbox/src/.
The same thing happens if I open the the folder /workspaces/sandbox/ as a workespace.

Here's how I've set the setting:

{
  "postcssense.cssPath": "./src/src/app/globals.css"
}

I hope you don't mind the issue - this looks like a great extension!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions