我现在花了很大一部分时间尝试将我的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帖子的建议,但似乎没有一条有效。
我在这里做错了什么?有什么我可以试着解决的吗?
发布于 2022-05-19 14:32:15
这个问题可能是由所使用的SASS版本引起的。您可以检查我的answer here,以了解如何设置正确的配置并能够在Vercel上托管它。
node-sass的速度非常慢,但是由于Nuxt3在RC3中,人们将能够使用sass包(无论是Vite还是Webpack5)。
如果需要SASS的话(PostCSS目前已经在做相当多的工作)。
https://stackoverflow.com/questions/72305598
复制相似问题