Hopefully this is the right channel for this! I t...
# help
t
Hopefully this is the right channel for this! I tried to set up a new project to test the latest .NET runtime capabilities that were introduced with version 1.2.0. But before I changed anything related to the runtime, using Windows, node v16.14.0 and SST 1.2.4 with the basic csharp-start template that uses dotnetcore3.1 I am unable to run
sst start
where I end up getting the following error:
Copy code
Error [ERR_UNSUPPORTED_ESM_URL_SCHEME]: Only file and data URLs are supported by the default ESM loader. On Windows, absolute paths must be valid file:// URLs. Received protocol 
'c:'
    at new NodeError (node:internal/errors:371:5)
    at throwIfUnsupportedURLProtocol (node:internal/modules/esm/resolve:1033:11)
    at defaultResolve (node:internal/modules/esm/resolve:1103:3)
    at ESMLoader.resolve (node:internal/modules/esm/loader:530:30)
    at ESMLoader.getModuleJob (node:internal/modules/esm/loader:251:18)
    at ESMLoader.import (node:internal/modules/esm/loader:332:22)
    at importModuleDynamically (node:internal/modules/esm/translators:106:35)
    at importModuleDynamicallyCallback (node:internal/process/esm_loader:35:14)
    at file:///C:/_projects/junk/csharptesting/node_modules/@serverless-stack/cli/assets/debug-stack/bin/index.mjs:20:46 {
  code: 'ERR_UNSUPPORTED_ESM_URL_SCHEME'
Any ideas of what I can try?
Just following up on this with more information. If I downgrade to 1.1.2 it seems to work fine so maybe an issue with what was changed in commit 0bc69b520f68dc5325b974386170d3db0d21416c to support .NET 6.