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

Fixed sass error #308

Merged
merged 1 commit into from Mar 9, 2020
Merged

Fixed sass error #308

merged 1 commit into from Mar 9, 2020

Conversation

marcelometal
Copy link
Member

@marcelometal marcelometal commented Mar 5, 2020

~/work/megadraft (master)$ yarn
yarn install v1.22.0
[1/4] Resolving packages...
[2/4] Fetching packages...
info fsevents@1.2.11: The platform "linux" is incompatible with this module.
info "fsevents@1.2.11" is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...
warning " > eslint-watch@5.1.2" has incorrect peer dependency "eslint@>=4 <6.0.0".
warning " > estraverse-fb@1.3.2" has unmet peer dependency "estraverse@*".
warning " > react-tap-event-plugin@3.0.3" has incorrect peer dependency "react@^16.0.0-0 < 16.4.0".
warning " > react-tap-event-plugin@3.0.3" has incorrect peer dependency "react-dom@^16.0.0-0 < 16.4.0".
[4/4] Building fresh packages...
success Saved lockfile.
$ npm run build
npm WARN lifecycle The node binary used for scripts is /tmp/yarn--1583444773599-0.8517865472681676/node but npm is using /home/metal/.nvm/versions/node/v10.16.3/bin/node itself. Use the --scripts-prepend-node-path option to include the path for the node binary npm was executed with.

megadraft@0.7.0 build /home/metal/work/megadraft
npm run build:lib && gulp sass && gulp sass-copy

npm WARN lifecycle The node binary used for scripts is /tmp/yarn--1583444773599-0.8517865472681676/node but npm is using /home/metal/.nvm/versions/node/v10.16.3/bin/node itself. Use the --scripts-prepend-node-path option to include the path for the node binary npm was executed with.

megadraft@0.7.0 build:lib /home/metal/work/megadraft
babel src/ -d lib/

Successfully compiled 72 files with Babel.
[18:46:38] Using gulpfile ~/work/megadraft/gulpfile.js
[18:46:38] Starting 'sass'...
Error in plugin "sass"
Message:
src/styles/typography.scss
Error: Base-level rules cannot contain the parent-selector-referencing character '&'.
on line 58 of src/styles/typography.scss

&.placeholder-list {

^

[18:46:38] Finished 'sass' after 155 ms
[18:46:39] Using gulpfile ~/work/megadraft/gulpfile.js
[18:46:39] Starting 'sass-copy'...
[18:46:39] Finished 'sass-copy' after 30 ms
Done in 33.91s.

Base-level rules cannot contain the parent-selector-referencing character '&'.
@mogavin mogavin changed the base branch from master to new-release March 9, 2020 12:58
@mogavin mogavin self-requested a review March 9, 2020 12:59
@mogavin mogavin changed the base branch from new-release to master March 9, 2020 13:05
@mogavin mogavin merged commit 8be3a32 into master Mar 9, 2020
@mogavin mogavin deleted the sass-error branch March 9, 2020 13:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants