Skip to content

next/image on node 16 give SIGSEGV #24421

@artecoop

Description

@artecoop

What version of Next.js are you using?

10.1.3

What version of Node.js are you using?

16.0.0

What browser are you using?

Chrome, Firefox

What operating system are you using?

macOS 11.2.3

How are you deploying your application?

next dev

Describe the Bug

Mac Mini M1, Node 16 next start crashes hitting next/images
Already nuked node_modules and locks after updating node version

$ next dev
ready - started server on 0.0.0.0:3000, url: http://localhost:3000
info  - Loaded env from /Users/vfornito/DEV/gvdp/vdp/.env.development
info  - Using webpack 4. Reason: future.webpack5 option not enabled https://nextjs.org/docs/messages/webpack5
(node:2822) [DEP0148] DeprecationWarning: Use of deprecated folder mapping "./" in the "exports" field module resolution of the package at /Users/vfornito/DEV/gvdp/node_modules/next/node_modules/postcss/package.json.
Update this package.json to use a subpath pattern like "./*".
(Use `node --trace-deprecation ...` to show where the warning was created)
event - compiled successfully
event - build page: /
wait  - compiling...
event - compiled successfully
error Command failed with signal "SIGSEGV".
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Expected Behavior

To work :)

To Reproduce

Use a simple next/image on a next.js project. Either using js or TS does not change the behavior

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions