### Error [ERR_UNSUPPORTED_ESM_URL_SCHEME]: Error loading Metro config at: C:\NuvexAnime\v1\metro.config.js
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:'
const { getDefaultConfig } = require("expo/metro-config");
const { withNativeWind } = require("nativewind/metro");
const { withUniwindConfig } = require("uniwind/metro");
const path = require("path");
const config = getDefaultConfig(__dirname);
config.resolver.assetExts = [
...new Set([...(config.resolver.assetExts || []), "vtt", "ass"])
];
module.exports = withUniwindConfig(
withNativeWind(config, { input: "./global.css" }),
{
cssEntryFile: "./global.css",
dtsFile: "./uniwind-types.d.ts"
}
);
this happend for me when i'm try to install uniwind
### Error [ERR_UNSUPPORTED_ESM_URL_SCHEME]: Error loading Metro config at: C:\NuvexAnime\v1\metro.config.js
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:'
this happend for me when i'm try to install uniwind