Closed brandon-objectstudio closed 6 years ago
Cannot reproduce. In terms of build tools, there were no significant changes between alpha.6 and beta, so not sure why this is happening. I'll probably need a bit more information about your build process in order to debug this. If all the variables are reported as undefined
, maybe the file path is wrong somewhere. Meanwhile, can you try beta.2 and see if the same thing happens, too?
Closing this due to inactivity.
I just upgraded to 4.0.0-beta from 4.0.0-alpha.6. I am now not able to build with the following issue:
ERROR in ./node_modules/css-loader?{"sourceMap":false,"importLoaders":1}!./node_modules/postcss-loader?{"ident":"postcss"}!./node_modules/sass-loader/lib/loader.js?{"sourceMap":false,"precision":8,"includePaths":[]}!./src/styles.scss Module build failed: undefined ^ Undefined variable: "$webkit-tap-highlight-color". in C:\DEV\core\web\hub\node_modules\daemonite-material\assets\sass\base_base.scss (line 55, column 32) Error: undefined ^ Undefined variable: "$webkit-tap-highlight-color". in C:\DEV\core\web\hub\node_modules\daemonite-material\assets\sass\base_base.scss (line 55, column 32) at options.error (C:\DEV\core\web\hub\node_modules\node-sass\lib\index.js:291:26) @ ./src/styles.scss 4:14-187 @ multi ./node_modules/font-awesome/css/font-awesome.css ./node_modules/material-design-icon-fonts/iconfont/material-icons.css ./node_modules/@swimlane/ngx-datatable/release/assets/icons.css ./node_modules/@swimlane/ngx-datatable/release/themes/material.css ./node_modules/animate.css/animate.css ./src/styles.scss
I have verified that webkit-top-hightlight-color is defined in varaible-bootstrap.scss yet it doesn't seem to recognize it in base.scss. If I comment this link out just to try and get past it, i get tripped up by other variables that also appear to be defined but complain about being undefined during build.
this issue is appearing after upgrading to NG5. This upgrade was successful and 4.0.0-alpha.6 appeared to be working. There was one bootstrap dropdown issue that I was trying to solve and hoped upgrading would address it - however I can't seem to get 4.0.0-beta to compile.
Any thoughts?