Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

$map must be a map #83

Closed
AndyOGo opened this issue Dec 18, 2017 · 0 comments
Closed

$map must be a map #83

AndyOGo opened this issue Dec 18, 2017 · 0 comments
Assignees

Comments

@AndyOGo
Copy link

AndyOGo commented Dec 18, 2017

{ Error: argument $map of map-has-key($map, $key) must be a map

Backtrace:
node_modules/@axa-ch/patterns-library/src/styles/functions/_color-map.scss:2, in function map_has_key
node_modules/@axa-ch/patterns-library/src/styles/functions/_color-map.scss:2, in function get-colors
node_modules/@axa-ch/patterns-library/src/styles/functions/_color-map.scss:10, in function get-color
node_modules/@axa-ch/patterns-library/src/components/a-link/mixins/_link.scss:16, in mixin link-color
node_modules/@axa-ch/patterns-library/src/components/m-header-main-navigation/index.scss:105
at options.error (/Users/axawinterthur/dev/aem-all_ext/frontend-lib/node_modules/node-sass/lib/index.js:291:26)
status: 1,
file: '/Users/axawinterthur/dev/aem-all_ext/frontend-lib/node_modules/@axa-ch/patterns-library/src/styles/functions/_color-map.scss',
line: 2,
column: 11,
message: 'argument $map of map-has-key($map, $key) must be a map\n\nBacktrace:\n\tnode_modules/@axa-ch/patterns-library/src/styles/functions/_color-map.scss:2, in function map_has_key\n\tnode_modules/@axa-ch/patterns-library/src/styles/functions/_color-map.scss:2, in function get-colors\n\tnode_modules/@axa-ch/patterns-library/src/styles/functions/_color-map.scss:10, in function get-color\n\tnode_modules/@axa-ch/patterns-library/src/components/a-link/mixins/_link.scss:16, in mixin link-color\n\tnode_modules/@axa-ch/patterns-library/src/components/m-header-main-navigation/index.scss:105',
formatted: 'Error: argument $map of map-has-key($map, $key) must be a map\n\n Backtrace:\n \tnode_modules/@axa-ch/patterns-library/src/styles/functions/_color-map.scss:2, in function map_has_key\n \tnode_modules/@axa-ch/patterns-library/src/styles/functions/_color-map.scss:2, in function get-colors\n \tnode_modules/@axa-ch/patterns-library/src/styles/functions/_color-map.scss:10, in function get-color\n \tnode_modules/@axa-ch/patterns-library/src/components/a-link/mixins/_link.scss:16, in mixin link-color\n \tnode_modules/@axa-ch/patterns-library/src/components/m-header-main-navigation/index.scss:105\n on line 2 of node_modules/@axa-ch/patterns-library/src/styles/functions/_color-map.scss\n>> @if not map_has_key($color-map, $style) {\n ----------^\n' }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant