skypackjs / skypack-cdn

An issue tracker for the CDN
107 stars 5 forks source link

[Package Error] "chalk@v5.0.1" could not be built. #309

Open char8x opened 2 years ago

char8x commented 2 years ago

Skypack: https://cdn.skypack.dev/chalk@5.0.1 NPM: https://www.npmjs.com/package/chalk

/*
 * [Package Error] "chalk@v5.0.1" could not be built. 
 *
 *   [1/5] Verifying package is valid…
 *   [2/5] Installing dependencies from npm…
 *   [3/5] Building package using esinstall…
 *   Running esinstall...
 *   Invalid package name "#supports-color": name can only contain URL-friendly characters
 *
 * How to fix:
 *   - If you believe this to be an error in Skypack, file an issue here: https://github.com/skypackjs/skypack-cdn/issues
 *   - If you believe this to be an issue in the package, share this URL with the package authors to help them debug & fix.
 *   - Use https://skypack.dev/ to find a web-friendly alternative to find another package.
 */

console.warn("[Package Error] \"chalk@v5.0.1\" could not be built. \n[1/5] Verifying package is valid…\n[2/5] Installing dependencies from npm…\n[3/5] Building package using esinstall…\nRunning esinstall...\nInvalid package name \"#supports-color\": name can only contain URL-friendly characters");
throw new Error("[Package Error] \"chalk@v5.0.1\" could not be built. ");
export default null;
char8x commented 2 years ago

same as https://cdn.skypack.dev/browser-sync?dts