fb2351ffe7
Next.js standalone bakes absolute build-time paths (outputFileTracingRoot, appDir, turbopack root) into server.js and required-server-files.json. When installed via npm on a different machine, these paths don't exist, causing ENOENT errors. The prepublish script now replaces build-machine absolute paths with '.' (relative) so they resolve correctly wherever the package is installed.