“节点纤维”有一个问题
现在,我已经花费了很大一部分时间试图将我的NUXT项目部署到Vercel,但是我一直遇到这个错误:
## There is an issue with `node-fibers` ##
`/vercel/path0/node_modules_dev/fibers/bin/linux-x64-93-glibc/fibers.node` is missing.
Try running this to fix the issue: /node16/bin/node /vercel/path0/node_modules_dev/fibers/build
Error: Cannot find module '/vercel/path0/node_modules_dev/fibers/bin/linux-x64-93-glibc/fibers'
Require stack:
- /vercel/path0/node_modules_dev/fibers/fibers.js
- /vercel/path0/nuxt.config.js
我是SASS的新手,这是我第一次部署一个配置在其中的项目。我尝试了其他Stackoverflow帖子中的建议,但它们似乎都没有用。
我在这里做错了什么?我可以尝试解决这个问题吗?
I have now spent a good portion of my day trying to deploy my Nuxt project to Vercel but I keep getting this error:
## There is an issue with `node-fibers` ##
`/vercel/path0/node_modules_dev/fibers/bin/linux-x64-93-glibc/fibers.node` is missing.
Try running this to fix the issue: /node16/bin/node /vercel/path0/node_modules_dev/fibers/build
Error: Cannot find module '/vercel/path0/node_modules_dev/fibers/bin/linux-x64-93-glibc/fibers'
Require stack:
- /vercel/path0/node_modules_dev/fibers/fibers.js
- /vercel/path0/nuxt.config.js
I'm new to SASS and this is my first time deploying a project that has it configured in it. I have tried suggestions from other Stackoverflow posts but none of them seem to work.
What could I be doing wrong here? Is there something I could try to fix this?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
![扫码二维码加入Web技术交流群](/public/img/jiaqun_03.jpg)
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
此问题可能是由使用的SASS版本引起的。您可以检查我的在此处回答 有一个有关如何设置适当配置并能够在Vercel上托管的指南。
Node-sass
非常有障碍,但是由于NUXT3在RC3中,因此人们将能够使用SASS
package(使用Vite或WebPack5)。如果完全需要SASS(PostCSS已经做了很大的工作)。
This issue is probably caused by the SASS version used. You could check my answer here to have a guide on how to setup a proper configuration and be able to host it on Vercel.
node-sass
is quite buggy and slow but since Nuxt3 is in RC3, people will be able to use thesass
package (with either Vite or Webpack5).In case SASS is needed at all (PostCSS is doing quite of the work as of today already).