/Users/mathiasmoser/coding/postscribe/nodemodules/natives/index.js:143
fn(internalBinding)(nm.exports, cachingRequire, nm, nm.filename, '')
^
ReferenceError: primordials is not defined
at fs.js:51:5
at req (/Users/mathiasmoser/coding/postscribe/node_modules/natives/index.js:143:24)
at Object.req [as require] (/Users/mathiasmoser/coding/postscribe/node_modules/natives/index.js:55:10)
at Object. (/Users/mathiasmoser/coding/postscribe/node_modules/vinyl-fs/node_modules/graceful-fs/fs.js:1:37)
at Module._compile (node:internal/modules/cjs/loader:1092:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1121:10)
at Object.require.extensions. [as .js] (/Users/mathiasmoser/coding/postscribe/node_modules/babel-register/lib/node.js:152:7)
at Module.load (node:internal/modules/cjs/loader:972:32)
at Function.Module._load (node:internal/modules/cjs/loader:813:14)
at Module.require (node:internal/modules/cjs/loader:996:19)
at require (node:internal/modules/cjs/helpers:92:18)
at Object. (/Users/mathiasmoser/coding/postscribe/node_modules/vinyl-fs/node_modules/graceful-fs/graceful-fs.js:3:27)
at Module._compile (node:internal/modules/cjs/loader:1092:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1121:10)
at Object.require.extensions. [as .js] (/Users/mathiasmoser/coding/postscribe/node_modules/babel-register/lib/node.js:152:7)
at Module.load (node:internal/modules/cjs/loader:972:32)
at Function.Module._load (node:internal/modules/cjs/loader:813:14)
at Module.require (node:internal/modules/cjs/loader:996:19)
at require (node:internal/modules/cjs/helpers:92:18)
at Object. (/Users/mathiasmoser/coding/postscribe/node_modules/vinyl-fs/lib/src/getContents/bufferFile.js:3:10)
at Module._compile (node:internal/modules/cjs/loader:1092:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1121:10)
Hello!
When i try to run a build (from tagged version 2.0.8) i am getting the following errors:
npm run build
[16:18:23] Failed to load external module @babel/register [16:18:23] Requiring external module babel-register resolve failed for "webpack-core": Error: Cannot find module 'webpack-core' Require stack:
/Users/mathiasmoser/coding/postscribe/nodemodules/natives/index.js:143 fn(internalBinding)(nm.exports, cachingRequire, nm, nm.filename, '')
^
ReferenceError: primordials is not defined
at fs.js:51:5
at req (/Users/mathiasmoser/coding/postscribe/node_modules/natives/index.js:143:24)
at Object.req [as require] (/Users/mathiasmoser/coding/postscribe/node_modules/natives/index.js:55:10)
at Object. (/Users/mathiasmoser/coding/postscribe/node_modules/vinyl-fs/node_modules/graceful-fs/fs.js:1:37)
at Module._compile (node:internal/modules/cjs/loader:1092:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1121:10)
at Object.require.extensions. [as .js] (/Users/mathiasmoser/coding/postscribe/node_modules/babel-register/lib/node.js:152:7)
at Module.load (node:internal/modules/cjs/loader:972:32)
at Function.Module._load (node:internal/modules/cjs/loader:813:14)
at Module.require (node:internal/modules/cjs/loader:996:19)
at require (node:internal/modules/cjs/helpers:92:18)
at Object. (/Users/mathiasmoser/coding/postscribe/node_modules/vinyl-fs/node_modules/graceful-fs/graceful-fs.js:3:27)
at Module._compile (node:internal/modules/cjs/loader:1092:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1121:10)
at Object.require.extensions. [as .js] (/Users/mathiasmoser/coding/postscribe/node_modules/babel-register/lib/node.js:152:7)
at Module.load (node:internal/modules/cjs/loader:972:32)
at Function.Module._load (node:internal/modules/cjs/loader:813:14)
at Module.require (node:internal/modules/cjs/loader:996:19)
at require (node:internal/modules/cjs/helpers:92:18)
at Object. (/Users/mathiasmoser/coding/postscribe/node_modules/vinyl-fs/lib/src/getContents/bufferFile.js:3:10)
at Module._compile (node:internal/modules/cjs/loader:1092:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1121:10)
Node: v15.13.0 NPM: 7.7.6
Has anybody a hint how to solve this issue?