首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >azure开发npm任务

azure开发npm任务
EN

Stack Overflow用户
提问于 2021-01-12 11:23:57
回答 2查看 795关注 0票数 0

我目前正在使用npm任务,在我的建设管道中的蔚蓝开发。最近,npm运行步骤开始失败,出现以下错误。当我手动安装sass和sass-加载程序时,npm运行步骤没有出现任何错误。如何从管道中安装完整的模块?

模块构建中的./node_modules/@angular-devkit/build-angular/node_modules/sass-loader/lib/loader.js):错误(来自)

EN

回答 2

Stack Overflow用户

回答已采纳

发布于 2021-01-18 08:18:31

我已经解决了这个问题,增加了另一步与npm任务,并通过和参数( sass )来安装sass模块。

票数 0
EN

Stack Overflow用户

发布于 2021-01-13 02:30:12

您可以尝试以下方法来查看问题是否可以解决:

  1. 执行npm install命令,在管道中安装节点-sass(请参阅这里)。 安装-D节点-sass
  2. 在本地机器上重新配置npm包。
代码语言:javascript
复制
- Install or upgrade **Angular** to the latest version.
- Check out the source repository to the local machine.
- Remove the nose modules and the package lock.
- Reinstall the refresh dependencies for your package via the **`npm isntall`** command.
- Push the changes to the remote repository, then try the pipeline.
票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/65682960

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档