Skip to content

docker-compose-nvidia issue #2

@itsmylife44

Description

@itsmylife44

hello , i can not open the bolt interface with nvidia docker compose .

here are the container logs .

bolt-diy   |
bolt-diy   | > bolt@0.0.6 dockerstart /app
bolt-diy   | > bindings=$(./bindings.sh) && wrangler pages dev ./build/client $bindings --ip 0.0.0.0 --port 5173 --no-show-interactive-dev-session
bolt-diy   |
bolt-diy   |
bolt-diy   |  ⛅️ wrangler 3.108.0 (update available 3.109.2)
bolt-diy   | -----------------------------------------------
bolt-diy   |
bolt-diy   | ✘ [ERROR] Build failed with 4 errors:
bolt-diy   |
bolt-diy   |   ✘ [ERROR] Could not resolve "child_process"
bolt-diy   |
bolt-diy   |       ../build/server/index.js:25:31:
bolt-diy   |         25 │ import { execSync, exec } from 'child_process';
bolt-diy   |  
bolt-diy   |
bolt-diy   |     The package "child_process" wasn't found on the file system but is built into node. Are you trying to bundle for node? You can use "platform: 'node'" to do that, which will remove this error.
bolt-diy   |
bolt-diy   |
bolt-diy   |   ✘ [ERROR] Could not resolve "util"
bolt-diy   |
bolt-diy   |       ../build/server/index.js:30:26:
bolt-diy   |         30 │ import { promisify } from 'util';
bolt-diy   |            ╵                           ~~~~~~
bolt-diy   |
bolt-diy   |     The package "util" wasn't found on the file system but is built into node. Are you trying to bundle for node? You can use "platform: 'node'" to do that, which will remove this error.
bolt-diy   |
bolt-diy   |
bolt-diy   |   ✘ [ERROR] Could not resolve "crypto"
bolt-diy   |
bolt-diy   |       ../node_modules/.pnpm/cookie-signature@1.2.2/node_modules/cookie-signature/index.js:5:21:
bolt-diy   |         5 │ var crypto = require('crypto');
bolt-diy   |           ╵                      ~~~~~~~~
bolt-diy   |
bolt-diy   |     The package "crypto" wasn't found on the file system but is built into node. Are you trying to bundle for node? You can use "platform: 'node'" to do that, which will remove this error.
bolt-diy   |
bolt-diy   |
bolt-diy   |   ✘ [ERROR] Could not resolve "stream"
bolt-diy   |
bolt-diy   |       ../node_modules/.pnpm/stream-slice@0.1.2/node_modules/stream-slice/index.js:3:24:
bolt-diy   |         3 │ var Transform = require('stream').Transform;
bolt-diy   |           ╵                         ~~~~~~~~
bolt-diy   |
bolt-diy   |     The package "stream" wasn't found on the file system but is built into node. Are you trying to bundle for node? You can use "platform: 'node'" to do that, which will remove this error.
bolt-diy   |
bolt-diy   |
bolt-diy   |
bolt-diy   |
bolt-diy   |
bolt-diy   | ✘ [ERROR] Failed to build Functions at ./functions.
bolt-diy   |
bolt-diy   |
bolt-diy   | 🪵  Logs were written to "/root/.config/.wrangler/logs/wrangler-2025-02-23_16-04-29_805.log"
bolt-diy   |  ELIFECYCLE  Command failed with exit code 1.
bolt-diy   |
bolt-diy   | > bolt@0.0.6 dockerstart /app
bolt-diy   | > bindings=$(./bindings.sh) && wrangler pages dev ./build/client $bindings --ip 0.0.0.0 --port 5173 --no-show-interactive-dev-session
bolt-diy   |
bolt-diy   |
bolt-diy   |  ⛅️ wrangler 3.108.0 (update available 3.109.2)
bolt-diy   | -----------------------------------------------
bolt-diy   |
bolt-diy   | ✘ [ERROR] Build failed with 4 errors:
bolt-diy   |
bolt-diy   |   ✘ [ERROR] Could not resolve "child_process"
bolt-diy   |
bolt-diy   |       ../build/server/index.js:25:31:
bolt-diy   |         25 │ import { execSync, exec } from 'child_process';
bolt-diy   |            ╵                                ~~~~~~~~~~~~~~~
bolt-diy   |
bolt-diy   |     The package "child_process" wasn't found on the file system but is built into node. Are you trying to bundle for node? You can use "platform: 'node'" to do that, which will remove this error.
bolt-diy   |
bolt-diy   |
bolt-diy   |   ✘ [ERROR] Could not resolve "util"
bolt-diy   |
bolt-diy   |       ../build/server/index.js:30:26:
bolt-diy   |         30 │ import { promisify } from 'util';
bolt-diy   |            ╵                           ~~~~~~
bolt-diy   |
bolt-diy   |     The package "util" wasn't found on the file system but is built into node. Are you trying to bundle for node? You can use "platform: 'node'" to do that, which will remove this error.
bolt-diy   |
bolt-diy   |
bolt-diy   |   ✘ [ERROR] Could not resolve "crypto"
bolt-diy   |
bolt-diy   |       ../node_modules/.pnpm/cookie-signature@1.2.2/node_modules/cookie-signature/index.js:5:21:
bolt-diy   |         5 │ var crypto = require('crypto');
bolt-diy   |           ╵                      ~~~~~~~~
bolt-diy   |
bolt-diy   |     The package "crypto" wasn't found on the file system but is built into node. Are you trying to bundle for node? You can use "platform: 'node'" to do that, which will remove this error.
bolt-diy   |
bolt-diy   |
bolt-diy   |   ✘ [ERROR] Could not resolve "stream"
bolt-diy   |
bolt-diy   |       ../node_modules/.pnpm/stream-slice@0.1.2/node_modules/stream-slice/index.js:3:24:
bolt-diy   |         3 │ var Transform = require('stream').Transform;
bolt-diy   |           ╵                         ~~~~~~~~
bolt-diy   |
bolt-diy   |     The package "stream" wasn't found on the file system but is built into node. Are you trying to bundle for node? You can use "platform: 'node'" to do that, which will remove this error.
bolt-diy   |
bolt-diy   |
bolt-diy   |
bolt-diy   |
bolt-diy   |
bolt-diy   | ✘ [ERROR] Failed to build Functions at ./functions.
bolt-diy   |
bolt-diy   |
bolt-diy   | 🪵  Logs were written to "/root/.config/.wrangler/logs/wrangler-2025-02-23_16-04-33_200.log"
bolt-diy   |  ELIFECYCLE  Command failed with exit code 1.
bolt-diy   |
bolt-diy   | > bolt@0.0.6 dockerstart /app
bolt-diy   | > bindings=$(./bindings.sh) && wrangler pages dev ./build/client $bindings --ip 0.0.0.0 --port 5173 --no-show-interactive-dev-session
bolt-diy   |
bolt-diy   |
bolt-diy   |  ⛅️ wrangler 3.108.0 (update available 3.109.2)
bolt-diy   | -----------------------------------------------
bolt-diy   |
bolt-diy   | ✘ [ERROR] Build failed with 4 errors:
bolt-diy   |

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions