gatsbyjs / gatsby

The best React-based framework with performance, scalability and security built in.
https://www.gatsbyjs.com
MIT License
55.24k stars 10.32k forks source link

chore: pin @vercel/webpack-asset-relocator-loader #38981

Closed pieh closed 4 months ago

pieh commented 4 months ago

Description

https://github.com/vercel/webpack-asset-relocator-loader/releases/tag/v1.7.4 that was released yesterday cause troubles and fails builds with engines now with error like:

ReferenceError: __nccwpck_require__ is not defined

  - index.js:7160 module.exports
    /tmp/tmp.uHDtGPCssB/integration-tests/lmdb-regeneration/.cache/query-engine/    index.js:7160:26

  - index.js:267372 __webpack_require__
    /tmp/tmp.uHDtGPCssB/integration-tests/lmdb-regeneration/.cache/query-engine/    index.js:267372:42

  - index.js:246 Object.<anonymous>
    /tmp/tmp.uHDtGPCssB/integration-tests/lmdb-regeneration/.cache/query-engine/    index.js:246:19

  - index.js:267372 __webpack_require__
    /tmp/tmp.uHDtGPCssB/integration-tests/lmdb-regeneration/.cache/query-engine/    index.js:267372:42

  - index.js:115 Object.defineProperty.value
    /tmp/tmp.uHDtGPCssB/integration-tests/lmdb-regeneration/.cache/query-engine/    index.js:115:13

  - index.js:267372 __webpack_require__
    /tmp/tmp.uHDtGPCssB/integration-tests/lmdb-regeneration/.cache/query-engine/    index.js:267372:42

  - index.js:94 getCache
    /tmp/tmp.uHDtGPCssB/integration-tests/lmdb-regeneration/.cache/query-engine/    index.js:94:30

  - index.js:28 exports.__esModule
    /tmp/tmp.uHDtGPCssB/integration-tests/lmdb-regeneration/.cache/query-engine/    index.js:28:60

  - index.js:267372 __webpack_require__
    /tmp/tmp.uHDtGPCssB/integration-tests/lmdb-regeneration/.cache/query-engine/    index.js:267372:42

  - index.js:267543 
    /tmp/tmp.uHDtGPCssB/integration-tests/lmdb-regeneration/.cache/query-engine/    index.js:267543:1

so this pins it to previous patch version that did work

Documentation

Tests

Related Issues