-
Notifications
You must be signed in to change notification settings - Fork 51
Open
Description
Setup yarn v4 node 22 sst 2.49.3
Downgrading to 2.48.5 (previous the cdk change) works on the same machine.
I tried this with the sample project, but my personal project has the same issue on windows machines.
Sample project
npx create-sst@two --template=examples/quickstart-standalone
yarn install
\my-sst-app> yarn sst diff
(node:884) NOTE: The AWS SDK for JavaScript (v2) is in maintenance mode.
SDK releases are limited to address critical bug fixes and security issues only.
Please migrate your code to use AWS SDK for JavaScript (v3).
For more information, check the blog post at https://a.co/cUPnyil
(Use `node --trace-warnings ...` to show where the warning was created)
Please enter a name you’d like to use for your personal stage. Or hit enter to use Administrator: default
Error: Only URLs with a scheme in: file, data, and node are supported by the default ESM loader. On Windows, absolute paths must be valid file:// URLs. Received protocol 'c:'
Trace: Error [ERR_UNSUPPORTED_ESM_URL_SCHEME]: Only URLs with a scheme in: file, data, and node are supported by the default ESM loader. On Windows, absolute paths must be valid file:// URLs. Received protocol 'c:'
at throwIfUnsupportedURLScheme (node:internal/modules/esm/load:209:11)
at defaultLoad (node:internal/modules/esm/load:107:3)
at nextLoad (node:internal/modules/esm/hooks:748:28)
at load$1 (file:///C:/Users/Administrator/my-sst-app/.pnp.loader.mjs:1521:12)
at nextLoad (node:internal/modules/esm/hooks:748:28)
at Hooks.load (node:internal/modules/esm/hooks:385:26)
at handleMessage (node:internal/modules/esm/worker:199:24)
at checkForMessages (node:internal/modules/esm/worker:141:28)
at process.<anonymous> (node:internal/modules/esm/worker:160:5)
at process.emit (node:events:518:28)
at process.<anonymous> (file:///C:/Users/Administrator/my-sst-app/.yarn/unplugged/sst-virtual-2b69b4b513/node_modules/sst/cli/sst.js:58:21)
at process.emit (node:events:518:28)
at process.emit (C:\Users\Administrator\my-sst-app\.pnp.cjs:19698:25)
at process._fatalException (node:internal/process/execution:154:25)
at throwUnhandledRejectionsMode (node:internal/process/promises:394:5)
at processPromiseRejections (node:internal/process/promises:475:17)
at process.processTicksAndRejections (node:internal/process/task_queues:106:32)
ryanwalters, benjaminbojko, FlanaganSe, Besendorfer, cliffjohnson-goodleap and 1 more
Metadata
Metadata
Assignees
Labels
No labels