Py学习  »  docker

节点sass没有与TestCafe Docker映像中使用的节点版本绑定

RedVarVar • 4 年前 • 246 次点击  

this 在官方存储库中发布,并按照建议将Testcafe Docker图像更新到最新版本(我是从Testcafe/Testcafe存储库中获取的)。然而,现在我面临另一个问题。我们有 node-sass 用于我测试的web应用程序的包,以及 不适用于Node 10.x并显示此错误消息

Module build failed: Error: Missing binding /tests/node_modules/node-sass/vendor/linux_musl-x64-64/binding.node
Node Sass could not find a binding for your current environment: Linux/musl 64-bit with Node.js 10.x

Found bindings for the following environments:
  - Linux/musl 64-bit with Node.js 8.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.

是否有一些解决方法,或者Testcafe可以使用Node 8.x,然后您就可以用这个Node版本提供Docker映像了?

Python社区是高质量的Python/Django开发社区
本文地址:http://www.python88.com/topic/53015
 
246 次点击  
文章 [ 1 ]  |  最新文章 4 年前
Alex Kamaev
Reply   •   1 楼
Alex Kamaev    5 年前

目前我们还没有为不同的节点版本创建多个testcafe docker映像的计划。但是,我创建了一个单独的 feature request 请跟踪这张票并投赞成票。我们可以把它加到我们将来的计划中去。