Skip to content

[BUG] For a nextjs app npx --yes @opennextjs/aws@3.6.1 build is failing with error Windows #866

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
shivam2k15 opened this issue May 16, 2025 · 2 comments

Comments

@shivam2k15
Copy link

When im building nextjs app for serverless deployment via sst deploy

the npx --yes @opennextjs/aws@3.6.1 build is failing with error

same error with
TypeError: Cannot read properties of undefined (reading 'toString')
at installDependencies (use/npm-cache/_npx/234567/node_modules/@opennextjs/aws/dist/build/installDeps.js:43:31)
at createImageOptimizationBundle (use/npm-cache/_npx/234567/node_modules/@opennextjs/aws/dist/build/createImageOptimizationBundle.js:77:5)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async build (use/npm-cache/_npx/234567/node_modules/@opennextjs/aws/dist/build.js:48:5)
at asyncuse/npm-cache/_npx/234567/node_modules/@opennextjs/aws/dist/index.js:9:1

Node.js v18.20.2 with Node.js 20 also same issue

@shivam2k15 shivam2k15 changed the title for a nextjs app npx --yes @opennextjs/aws@3.6.1 build is failing with error [BUG] For a nextjs app npx --yes @opennextjs/aws@3.6.1 build is failing with error May 16, 2025
@shivam2k15 shivam2k15 changed the title [BUG] For a nextjs app npx --yes @opennextjs/aws@3.6.1 build is failing with error [BUG] For a nextjs app npx --yes @opennextjs/aws@3.6.1 build is failing with error Windows May 16, 2025
@sommeeeer
Copy link
Contributor

sommeeeer commented May 16, 2025

Windows is not supported - #385

@conico974
Copy link
Contributor

If you wanna help fix it feel free to do so, but be aware that there are also issue with next itself in standalone mode (which is needed for OpenNext)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants