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
npm run dev fails with the following error message:
sandbox failed! Plugin error:
- Unable to load plugin 'nasa-gcn/architect-plugin-search': require() cannot be used on an ESM graph with top-level await. Use import() instead. To see where the top-level await comes from, use --experimental-print-required-tla.
at ModuleJobSync.runSync (node:internal/modules/esm/module_job:392:13)
at ModuleLoader.importSyncForRequire (node:internal/modules/esm/loader:329:47)
at loadESMFromCJS (node:internal/modules/cjs/loader:1414:24)
at Module._compile (node:internal/modules/cjs/loader:1547:5)
at Object..js (node:internal/modules/cjs/loader:1677:16)
at Module.load (node:internal/modules/cjs/loader:1318:32)
at Function._load (node:internal/modules/cjs/loader:1128:12)
at TracingChannel.traceSync (node:diagnostics_channel:322:14)
at wrapModuleLoad (node:internal/modules/cjs/loader:219:24)
at Module.require (node:internal/modules/cjs/loader:1340:12)
Error: Plugin error:
- Unable to load plugin 'nasa-gcn/architect-plugin-search': require() cannot be used on an ESM graph with top-level await. Use import() instead. To see where the top-level await comes from, use --experimental-print-required-tla.
at ModuleJobSync.runSync (node:internal/modules/esm/module_job:392:13)
at ModuleLoader.importSyncForRequire (node:internal/modules/esm/loader:329:47)
at loadESMFromCJS (node:internal/modules/cjs/loader:1414:24)
at Module._compile (node:internal/modules/cjs/loader:1547:5)
at Object..js (node:internal/modules/cjs/loader:1677:16)
at Module.load (node:internal/modules/cjs/loader:1318:32)
at Function._load (node:internal/modules/cjs/loader:1128:12)
at TracingChannel.traceSync (node:diagnostics_channel:322:14)
at wrapModuleLoad (node:internal/modules/cjs/loader:219:24)
at Module.require (node:internal/modules/cjs/loader:1340:12)
at format (/Users/lpsinger/src/gcn.nasa.gov/node_modules/@architect/inventory/src/lib/error-fmt.js:15:13)
at /Users/lpsinger/src/gcn.nasa.gov/node_modules/@architect/inventory/src/index.js:80:18
at process.processTicksAndRejections (node:internal/process/task_queues:90:21)
Expected behavior
No error
Steps to reproduce
Run npm run dev.
Environment
N/A
The text was updated successfully, but these errors were encountered:
Current behavior
npm run dev
fails with the following error message:Expected behavior
No error
Steps to reproduce
Run
npm run dev
.Environment
N/A
The text was updated successfully, but these errors were encountered: