Skip to content

deploy aws-amplify #3558

@Vladoker

Description

@Vladoker

Environment

  • Operating System: Darwin
  • Node Version: v24.4.1
  • Nuxt Version: 4.1.2
  • CLI Version: 3.28.0
  • Nitro Version: 2.12.6
  • Package Manager: pnpm@10.17.1
  • Builder: -
  • User Config: app, modules, devtools, css, content, compatibilityDate, nitro, routeRules, eslint, icon
  • Runtime Modules: @nuxt/eslint@1.9.0, @nuxt/image@1.11.0, @nuxt/ui@4.0.1, @nuxt/content@3.7.1, nuxt-og-image@5.1.11
  • Build Modules: -

Version

v2

Reproduction

`64

2025-10-03T00:59:18.234Z [INFO]: . postinstall: [error] [@nuxt/content] Nuxt Content requires sqlite3 module to work in AWS Amplify environment. Please run npm install sqlite3 to install it and try again.

65

2025-10-03T00:59:18.317Z [INFO]: . postinstall: Failed

66

2025-10-03T00:59:18.347Z [INFO]: ELIFECYCLE  Command failed with exit code 1.

67

2025-10-03T00:59:18.371Z [WARNING]: [error] corepack pnpm install failed.

68

                                at executeCommand (/root/.npm/_npx/c7e2dd9096a239a9/node_modules/nypm/dist/shared/nypm.CLjaS_sz.mjs:53:11)

69

                                at process.processTicksAndRejections (node:internal/process/task_queues:105:5)

70

                                at async installDependencies (/root/.npm/_npx/c7e2dd9096a239a9/node_modules/nypm/dist/shared/nypm.CLjaS_sz.mjs:342:5)

71

                                at async Object.run (/root/.npm/_npx/c7e2dd9096a239a9/node_modules/nypm/dist/cli.mjs:61:20)

72

                                at async runCommand (/root/.npm/_npx/c7e2dd9096a239a9/node_modules/citty/dist/index.mjs:316:16)

73

                                at async runCommand (/root/.npm/_npx/c7e2dd9096a239a9/node_modules/citty/dist/index.mjs:307:11)

74

                                at async runMain (/root/.npm/_npx/c7e2dd9096a239a9/node_modules/citty/dist/index.mjs:445:7)

75

2025-10-03T00:59:18.372Z [WARNING]: [error] corepack pnpm install failed.

76

2025-10-03T00:59:18.386Z [ERROR]: !!! Build failed

77

2025-10-03T00:59:18.386Z [ERROR]: !!! Error: Command failed with exit code 1

78

2025-10-03T00:59:18.386Z [INFO]: # Starting environment caching...

79

2025-10-03T00:59:18.386Z [INFO]: # Environment caching completed`

Description

package.json contains sqlite3 dependencies

I don't know how to avoid making mistakes when deploying nuxt content applications on aws amplify

Additional context

Image

Logs

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions