You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On a fresh Ubuntu 24.10 install:
Running the default integration test provided by the plugin template returns the error
Test Suites: 1 failed, 1 total
Tests: 3 failed, 3 total
Snapshots: 0 total
Time: 1.054 s, estimated 10 s
Ran all test suites.
console.warn
Starting the MongoMemoryServer Instance failed, enable debug log for more information. Error:
UnexpectedCloseError: Instance closed unexpectedly with code "null" and signal "SIGILL"
The Process Exited with SIGILL, which mean illegal instruction, which is commonly thrown in mongodb 5.0+ when not having AVX available on the CPU
at MongoInstance.closeHandler (/home/atlas/ashds/node_modules/.pnpm/mongodb-memory-server-core@10.1.4/node_modules/mongodb-memory-server-core/src/util/MongoInstance.ts:581:52)
at ChildProcess.emit (node:events:518:28)
at maybeClose (node:internal/child_process:1101:16)
at Socket.<anonymous> (node:internal/child_process:456:11)
at Socket.emit (node:events:518:28)
at Pipe.<anonymous> (node:net:351:12)
at node_modules/.pnpm/mongodb-memory-server-core@10.1.4/node_modules/mongodb-memory-server-core/src/MongoMemoryServer.ts:359:17
at MongoMemoryServer.start (node_modules/.pnpm/mongodb-memory-server-core@10.1.4/node_modules/mongodb-memory-server-core/src/MongoMemoryServer.ts:350:5)
at async Promise.all (index 0)
ELIFECYCLE Test failed. See above for more details.
Describe the Bug
On a fresh Ubuntu 24.10 install:
Running the default integration test provided by the plugin template returns the error
Link to the code that reproduces this issue
https://github.com/payloadcms/payload/tree/main/templates/plugin
Reproduction Steps
pnpx create-payload-app@latest -t plugin
dotenv
dev dependency is missing so you must runpnpm add -D dotenv
. (A PR is already created for this fix(deps): add missing dotenv dev dependency for plugin template #12168),pnpm test
Which area(s) are affected? (Select all that apply)
area: templates
Environment Info
The text was updated successfully, but these errors were encountered: