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

Build failed, @import 'onsenui/stylus/components #7

Open
edgar0011 opened this issue May 8, 2017 · 8 comments
Open

Build failed, @import 'onsenui/stylus/components #7

edgar0011 opened this issue May 8, 2017 · 8 comments

Comments

@edgar0011
Copy link

npm install
nom start

ERROR in .//css-loader!.//postcss-loader!./~/stylus-loader?paths=node_modules!./stylus/index.styl
Module build failed: Error: reWeather/stylus/index.styl:69:9
65| $material-tabbar-highlight-color = #26a69a
66| $fab-text-color = #ffffff
67| $fab-background-color = #13bde2
68|
69| @import 'onsenui/stylus/components'
---------------^
70|
71| .list__item__subtitle
72| opacity 1

failed to locate @import file onsenui/stylus/components.styl

@wkorku
Copy link

wkorku commented May 9, 2017

Exact same thing for me...

@wkorku
Copy link

wkorku commented May 9, 2017

This guy https://community.onsen.io/user/rolandkofler actually gave a good hint that fix this issue. After executing this command - npm install onsenui@2.0.4 built was successful

Comment in full:
you need to downgrade npm install onsenui@2.0.4 because stylus is not nsuportet from onsen@2.2.0

@xditaba
Copy link

xditaba commented Apr 4, 2018

Hi,

The issue is still there with the proposal. Please check your solution.

BR/

@jackswiggett
Copy link

I ran into the same issue. Executing

npm uninstall --save onsenui
npm install --save onsenui@2.0.4

fixed the issue for me.

@shoaibjdev
Copy link

@jackswiggett solution worked!

@petercutting
Copy link

I ran into this problem but 2.0.4 did not fix it.
I am trying to upgrade the weather example to Webpack2.
can I instead use the lastest onsenui version which I believe uses Less instead of Stylus. Looking for a Webpack2 example configuration

@jacquesSanford
Copy link

Downgrading onsen version worked for me... thanks.

@theinloft
Copy link

I just downgrading to 2.10.5, and work out, thanks

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

No branches or pull requests

8 participants