3 months ago
Hello, I am not sure whether I am actually running my next.js 16 project using bun or not.
In the deploy logs, there is a warning with node in it, which got me thinking I am using node not bun
```
(node:11) Warning: --localstorage-file was provided without a valid path
```
In the configuration section, executable versions show both bun and node
Attachments
1 Replies
3 months ago
Hey there, looks like you're using Railpack.
https://railpack.com/languages/node/#bun
```
Bun
The Bun version is determined in the following order:
Set via the
RAILPACK_BUN_VERSIONenvironment variableRead from the
.bun-versionfileRead from the
engines.bunfield inpackage.jsonRead from
mise.tomlor.tool-versionsfilesDefaults to
latest
If Bun is used as the package manager, Node.js will still be installed in the following cases:
If you define a
packageManagerfield in yourpackage.json(for Corepack support)If any script in your
package.jsoncontainsnodeIf you’re using Astro
When Node.js isn’t required in the final image but is needed during installation (for native modules), Node.js will be installed via mise and will respect version specifications in mise.toml and .tool-versions files.
```
Are any of these true about your package.json or dependencies? if so then node would get installed during build time.
Status changed to Awaiting User Response Railway • 3 months ago
2 months ago
This thread has been marked as solved automatically due to a lack of recent activity. Please re-open this thread or create a new one if you require further assistance. Thank you!
Status changed to Solved Railway • 2 months ago