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

stylus-loader warnings #170

Closed
abienz opened this issue Nov 23, 2015 · 1 comment
Closed

stylus-loader warnings #170

abienz opened this issue Nov 23, 2015 · 1 comment
Assignees
Labels

Comments

@abienz
Copy link

abienz commented Nov 23, 2015

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

@weblogixx weblogixx added the bug label Nov 24, 2015
@weblogixx weblogixx self-assigned this Nov 24, 2015
@weblogixx
Copy link
Member

@abienz: There where problems with unmet peer dependencies, the problem was fixed in 3.1.1. Please update your generator, it should work fine then.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants