skypackjs / skypack-cdn

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

Suspected build timeout: Babel standalone #282

Open jeff-hykin opened 2 years ago

jeff-hykin commented 2 years ago

Behavior

There seems to be a strange hit-and-miss with standalone babel versions even across patch numbers. (e.g. I don't think its the contents of the package causing the failure)

Babel standalone is massive; probably one of the largest npm packages in existence. So it seems like behavior below indicates either

  1. running out of memory and crashing
  2. or maybe the backend is fine and its just so long to build that the on-demand build times-out.

The first time I loaded v7.13.7 (and many other others) it seems not to be cached and I get this: (possibly crashing the backend)

Screen Shot 2022-03-30 at 2 02 20 PM

After reloading, then I get a cached error message (for v7.13.7 and all the others that seem to timeout):

/*
 * [Package Error] "@babel/standalone@v7.13.7" could not be built. 
 *
 * No build output found.
 *
 * 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] \"@babel/standalone@v7.13.7\" could not be built. ");
throw new Error("[Package Error] \"@babel/standalone@v7.13.7\" could not be built. ");
export default null;