Node-sass 与 TestCafe Docker Image 中使用的节点版本没有绑定
Node-sass doesn't have binding with node version which uses in TestCafe Docker Image
最初,我遇到的问题是并发在 Jenkins 中不起作用。我在官方存储库中发现 this 问题,并按照建议将 Testcafe Docker 图像更新到最新版本(我从 testcafe/testcafe 存储库中获取它)。但是,现在我面临另一个问题。我们有 node-sass
包用于我测试的网络应用程序,并且 node-sass
不适用于节点 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 可以使用节点 8.x 然后你可以提供 Docker 这个节点版本的图像?
目前我们没有计划为不同的节点版本创建多个 testcafe docker 图像。但是,我创建了一个单独的feature request。
请跟踪该票并为其投票。我们可以在未来将其添加到我们的计划中。
最初,我遇到的问题是并发在 Jenkins 中不起作用。我在官方存储库中发现 this 问题,并按照建议将 Testcafe Docker 图像更新到最新版本(我从 testcafe/testcafe 存储库中获取它)。但是,现在我面临另一个问题。我们有 node-sass
包用于我测试的网络应用程序,并且 node-sass
不适用于节点 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 可以使用节点 8.x 然后你可以提供 Docker 这个节点版本的图像?
目前我们没有计划为不同的节点版本创建多个 testcafe docker 图像。但是,我创建了一个单独的feature request。 请跟踪该票并为其投票。我们可以在未来将其添加到我们的计划中。