Skip to content

add sass deps to package.json#385

Open
ioistired wants to merge 1 commit intoNicolasConstant:masterfrom
ioistired:add-sass-deps
Open

add sass deps to package.json#385
ioistired wants to merge 1 commit intoNicolasConstant:masterfrom
ioistired:add-sass-deps

Conversation

@ioistired
Copy link
Copy Markdown

Without this, npm run build would complain about missing node-sass.
Trying to install node-sass was a nightmare for me so I switched to the pure-JS Dart Sass
and it worked fine.

Without this, `npm run build` would complain about missing node-sass.
Trying to install node-sass was a nightmare for me so I switched to the pure-JS Dart Sass
and it worked fine.
@NicolasConstant
Copy link
Copy Markdown
Owner

Are you using Node v11 or higher? If you're not using v10 you will have issues with sass. 😕

@ioistired
Copy link
Copy Markdown
Author

v16.3.0

@NicolasConstant
Copy link
Copy Markdown
Owner

Yes until I update Angular to a more recent version, you have to stick to v10 to make the build work. You can use some tools like nvm to switch easily between versions, since this is a common issue.

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.

2 participants