HI!!
I have a working site. Most of the dev I did was on a windows box and I can use ntl dev on that box and functions work… I have a mac also that I would like to do dev on… I’ve setup the env as best as I can but the netlify-lambda build fails for every one of my lambda js files… it’s complaining about some aws-sdk stuff… does anyone have any ideas? I’ve googled and hell out of this and cannot find anything
ModuleParseError: Module parse failed: Unexpected token (8:9)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See Concepts | webpack
| export const ENV_CREDENTIAL_SCOPE = “AWS_CREDENTIAL_SCOPE”;
| export const fromEnv = (init) => async () => {
init?.logger?.debug("@aws-sdk/credential-provider-env", "fromEnv");
| const accessKeyId = process.env[ENV_KEY];
| const secretAccessKey = process.env[ENV_SECRET];
at handleParseError (/Users/pathredacted…/node_modules/webpack/lib/NormalModule.js:469:19)
at
STACK TRACE REMOVED…
at FSReqCallback.readFileAfterClose [as oncomplete] (node:internal/fs/read_file_context:68:3)
]