Skip to content
This repository has been archived by the owner on Feb 9, 2024. It is now read-only.

Errors when running npm run build #508

Open
mathiasmoser opened this issue Apr 2, 2021 · 0 comments
Open

Errors when running npm run build #508

mathiasmoser opened this issue Apr 2, 2021 · 0 comments

Comments

@mathiasmoser
Copy link

mathiasmoser commented Apr 2, 2021

Hello!

When i try to run a build (from tagged version 2.0.8) i am getting the following errors:

npm run build

build
gulp 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/node_modules/babel-preset-es2015/lib/@root
    resolve failed for "type": Error: Cannot find module 'type'
    Require stack:
  • /Users/mathiasmoser/coding/postscribe/node_modules/babel-preset-es2015/lib/@root
    node_modules/nan
    resolve failed for "ext": Error: Cannot find module 'ext'
    Require stack:
  • /Users/mathiasmoser/coding/postscribe/node_modules/babel-preset-es2015/lib/@root
    resolve failed for "babel-runtime": Error: Cannot find module 'babel-runtime'
    Require stack:
  • /Users/mathiasmoser/coding/postscribe/node_modules/babel-preset-es2015/lib/@root
    resolve failed for "@semantic-release": Error: Cannot find module '@semantic-release'
    Require stack:
  • /Users/mathiasmoser/coding/postscribe/node_modules/babel-preset-es2015/lib/@root

/Users/mathiasmoser/coding/postscribe/node_modules/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?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant