argelius / react-onsenui-redux-weather

Onsen UI sample app using Redux and React
https://onsen.io/
MIT License
121 stars 78 forks source link

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

Open edgar0011 opened 7 years ago

edgar0011 commented 7 years ago

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| .listitemsubtitle 72| opacity 1

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

wkorku commented 7 years ago

Exact same thing for me...

wkorku commented 7 years ago

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 commented 6 years ago

Hi,

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

BR/

jackswiggett commented 6 years ago

I ran into the same issue. Executing

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

fixed the issue for me.

shoaibjdev commented 6 years ago

@jackswiggett solution worked!

petercutting commented 5 years ago

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 commented 5 years ago

Downgrading onsen version worked for me... thanks.

theinloft commented 5 years ago

I just downgrading to 2.10.5, and work out, thanks