SOLVED: Sass map errors using Ionic


#1

Hey,

EDIT: Never mind… reinstalling everything pretty much resolved it… not sure what was causing the issue but its solved now.

So I am trying to convert a proof of concept app I recently made to Ionic2 however I am getting the following problem when using ionic serve:

✗ app\theme\app.variables.scss
Error: (primary: #a2d77f, white-main: #fff, red-main: #a2d77f, red-dark: #b73536, green-main: #a2d77f, grey-light: #ccc, grey-dark: #222) isn’t a valid CSS value.
on line 23 of app/theme/app.variables.scss
primary: #a2d77f,
–^

It would seem this applies every time I create a sass map… any clue how I could resolve this?

INFO: This is being done on Windows 10

Cordova CLI: 6.0.0
Gulp version: CLI version 3.9.1
Gulp local: Local version 3.9.1
Ionic Version: 2.0.0-beta.0
Ionic CLI Version: 2.0.0-beta.17
Ionic App Lib Version: 2.0.0-beta.8
OS:
Node Version: v4.3.0


#2

Hi,

But how did you reinstalled everything?

I created a new app just for testing and the problem arised in this fresh app too.


#3

Hey there I’m also having this issue
I dont want to reinstall everything…


#4

If you want help solving your problem please post your ionic info output and describe your own problem. What was happening over a year ago is most probably not happening to you now.