Closed lunaleaps closed 3 years ago
Tried running yarn test
but failing with this -- is there anything I'm missing?
FAIL scripts/__tests__/changelog-generator.test.ts
● Test suite failed to run
Cannot find module '/Users/luna/releases/node_modules/@babel/compat-data/data/corejs3-shipped-proposals'
at createEsmNotFoundErr (node:internal/modules/cjs/loader:960:15)
at finalizeEsmResolution (node:internal/modules/cjs/loader:953:15)
at resolveExports (node:internal/modules/cjs/loader:482:14)
at Function.Module._findPath (node:internal/modules/cjs/loader:522:31)
at Function.Module._resolveFilename (node:internal/modules/cjs/loader:919:27)
at Function.Module._load (node:internal/modules/cjs/loader:778:27)
at Module.require (node:internal/modules/cjs/loader:1005:19)
at require (node:internal/modules/cjs/helpers:94:18)
at Object.<anonymous> (node_modules/@babel/preset-env/lib/polyfills/corejs3/usage-plugin.js:10:55)
at Module._compile (node:internal/modules/cjs/loader:1101:14)
Oh, interesting… If you open up node_modules/@babel/compat-data/package.json
and modify line 15:
- "./corejs3-shipped-proposals": "./data/corejs3-shipped-proposals",
+ "./corejs3-shipped-proposals": "./data/corejs3-shipped-proposals.json",
The tests should run. We probably just need to bump to the latest version to fix this.
I think a rename from master -> main forgot this