Can not read property 'nodes' of undefined

0

I'm getting the ERR below when trying to implement a styling in my project with Stylus . The same goes for background: url(...); and I think for any other related attempt.

I found in Github some similar problems, but none of the solutions worked in this case.

I'm using the plugin gulp-stylus and I've used it before, but everything always ran normally.

Cannot read property 'nodes' of undefined
    at ".section-partition" (/media/idlua/Arquivo 1/Development/Projects/project/src/css/_areas/_areas-global.styl:8:98)

Details:
    lineno: 14
    column: 75
    filename: /media/idlua/Arquivo 1/Development/Projects/project/src/css/_areas/_areas-global.styl
    stylusStack:     at ".section-partition" (/media/idlua/Arquivo 1/Development/Projects/project/src/css/_areas/_areas-global.styl:8:98)

Excerpt from the code that generates ERROR (when I remove stylization from bg it works):

.section-partition
  content ""
  display block
  width 100%
  height 1px
  margin 1em auto
  background-image linear-gradient(to left $color_1n, $color_2n, $color_1n)

Does anyone have any idea what it might be causing?

    
asked by anonymous 22.04.2016 / 05:05

1 answer

0

I found out what the problem was: just the name of the directory where the project was. There was a # in the folder name and this was confusing the Node to find the imports in the css files.

    
23.04.2016 / 07:36