Angular CircleCI:Node Sass找不到当前环境的绑定:使用Node.js 10.x的Linux 64位

Angular CircleCI:Node Sass找不到当前环境的绑定:使用Node.js 10.x的Linux 64位,angular,yarn,circleci,node-sass,Angular,Yarn,Circleci,Node Sass,在我开始之前,我们使用纱线作为包管理器、docker和CircleCI。 我在当地做了一个项目,想把它交给主管部门。在构建工作流中发生以下错误 #!/bin/bash -eo pipefail echo $SHELL export NVM_DIR="/opt/circleci/.nvm" [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" yarn run grunt build-wordpress && sudo c

在我开始之前,我们使用纱线作为包管理器、docker和CircleCI。 我在当地做了一个项目,想把它交给主管部门。在构建工作流中发生以下错误

#!/bin/bash -eo pipefail
echo $SHELL
export NVM_DIR="/opt/circleci/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
yarn run grunt build-wordpress && sudo chown -R circleci:circleci output && yarn run grunt build-wp-extras
/bin/bash
yarn run v1.19.1
$ /home/circleci/tsworkspace/cns/wordpress-multisite-relaunch/node_modules/.bin/grunt build-wordpress
Loading "gruntfile.js" tasks...ERROR
>> Error: Missing binding /home/circleci/tsworkspace/cns/wordpress-multisite-relaunch/node_modules/node-sass/vendor/linux-x64-64/binding.node
>> Node Sass could not find a binding for your current environment: Linux 64-bit with Node.js 10.x
>> 
>> Found bindings for the following environments:
>>   - Linux 64-bit with Node.js 12.x
>> 
>> This usually happens because your environment has changed since running `npm install`.
>> Run `npm rebuild node-sass` to download the binding for your current environment.
Warning: Task "build-wordpress" not found. Use --force to continue.

Aborted due to warnings.
error Command failed with exit code 3.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Exited with code 3
使用npm重建节点sass,即使在局部强制,也不能解决问题。这是Docker的问题吗?解决方案是在构建主节点之前重建节点sass吗? 如果是,我该怎么做。 提前感谢各位的回答