在Next.js应用程序(带有自定义server.js和next.config.js)中进行“纱线构建”之后,终端显示奇怪的错误。
Module parse failed: Unexpected character '#' (1:0)
You may need an appropriate loader to handle this file type.
> #!/usr/bin/env node
| /**
| * @license
> Build error occurred
Error: > Build failed because of webpack errors```
What's wrong with that?