react-onsenui-redux-weather icon indicating copy to clipboard operation
react-onsenui-redux-weather copied to clipboard

Build failed, @import 'onsenui/stylus/components

Open edgar0011 opened this issue 8 years ago • 8 comments
trafficstars

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

edgar0011 avatar May 08 '17 19:05 edgar0011

Exact same thing for me...

wkorku avatar May 09 '17 22:05 wkorku

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

Comment in full: you need to downgrade npm install [email protected] because stylus is not nsuportet from [email protected]

wkorku avatar May 09 '17 23:05 wkorku

Hi,

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

BR/

xditaba avatar Apr 04 '18 16:04 xditaba

I ran into the same issue. Executing

npm uninstall --save onsenui
npm install --save [email protected]

fixed the issue for me.

jackswiggett avatar Apr 17 '18 05:04 jackswiggett

@jackswiggett solution worked!

shoaibjdev avatar Aug 15 '18 20:08 shoaibjdev

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

petercutting avatar Oct 09 '18 06:10 petercutting

Downgrading onsen version worked for me... thanks.

jacquesSanford avatar Mar 31 '19 16:03 jacquesSanford

I just downgrading to 2.10.5, and work out, thanks

theinloft avatar Jun 09 '19 23:06 theinloft