Closed YarnUser31 closed 2 years ago
I don't think this is related to the task. But rather to one of your dependency.
also worth noting Yarn now comes in standard on Azure pipelines image and you may not need this task at all anymore, you can just use a script task instead.
@YarnUser31 This problem is related to node-sass and azure. Azure pipelines were updated on November 29 to Node 16 and your versions of node-sass probably is valid up to v14 Upgrade your node-sass (since May 2021 supports Node v16) or change the pipeline setting to use Node v14
Before opening an issue please read this.
Are you reporting a bug or a feature request ?
Description
Task geeklearningio.gl-vsts-tasks-yarn.yarn-task.Yarn@2 failing since Dec1 suddenly with below error ERROR in Module build failed (from ./node_modules/sass-loader/lib/loader.js): Error: Cannot find module 'node-sass' Require stack:
Insert your description here
Expected behavior
Describe the expected behavior
Reproduction
Insert reproduction steps here
ERROR in Module build failed (from ./node_modules/sass-loader/lib/loader.js): Error: Cannot find module 'node-sass' Require stack:
In order to allow us to quickly reproduce you issue please include a link to a reproduction repository
System information
VSTS or TFS:
Agent:
OS:
*Yarn version:1.5 Yarn version**
*Node version:8 Node version**