Skip to content

css-loader missing lib directory #11

@JLiu1272

Description

@JLiu1272

I used npm to install the css-loader package

npm install css-loader --save-dev

When I tried to npm run serve, it gives me this error message.

error in ./node_modules/css-loader/lib/css-base.js

Module build failed: Error: ENOENT: no such file or directory, open '/Users/JenniferLiu/Documents/personal_practice/Vue/first-app-vuejs/first-app-vuejs/node_modules/css-loader/lib/css-base.js'

So I looked at node_modules directory, and check for the css-loader directory, and find that lib directory is not there. I tried to uninstall existing css-loader, and reinstalling it again, but it still doesn't have the lib directory.

Here is how the css-loader directory is looking like
image

How can i fix this issue

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions