When using a dependency that uses node-gyp-build prebuilt binaries, next does not seem to pick up those binaries.
The directory it searches for binaries is ./.next/server instead of ./node_modules/zeromq in my case. If I change this and hardcode it to /absolute/path/to/node_modules/zeromq it works because it sees that prebuilds.
|
dir = path.resolve(dir || '.') |
As you might have noticed I am using a fork that was made on 4.5.0, because that's what was done for https://github.com/zeromq/zeromq.js