Skip to content

stylus-loader warnings #170

@abienz

Description

@abienz

When I run the generator with stylus as my chosen CSS Preprocessor I get the following warnings:

npm WARN EPEERINVALID stylus-loader@0.5.0 requires a peer of nib@~1.0.4 but none was installed.
npm WARN EPEERINVALID stylus-loader@0.5.0 requires a peer of stylus@~0.49.2 but none was installed.

This causes page load errors such as the following:

Errors while compiling. App updated with errors. No reload!
Cannot find module 'stylus'
 @ ./src/styles/TimeSlice.styl 4:14-128 13:2-17:4 14:20-134

I made the build work for me by adding...

,
    "stylus": "latest",
    "nib": "latest"

To my package.json devDependencies but I don't suppose this is an ideal fix

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions