我目前正在使用npm任务,在我的建设管道中的蔚蓝开发。最近,npm运行步骤开始失败,出现以下错误。当我手动安装sass和sass-加载程序时,npm运行步骤没有出现任何错误。如何从管道中安装完整的模块?
模块构建中的./node_modules/@angular-devkit/build-angular/node_modules/sass-loader/lib/loader.js):错误(来自)
发布于 2021-01-18 08:18:31
我已经解决了这个问题,增加了另一步与npm任务,并通过和参数( sass )来安装sass模块。
发布于 2021-01-13 02:30:12
您可以尝试以下方法来查看问题是否可以解决:
npm install命令,在管道中安装节点-sass(请参阅这里)。
安装-D节点-sass- 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.https://stackoverflow.com/questions/65682960
复制相似问题