Skip to content
This repository was archived by the owner on May 24, 2022. It is now read-only.
This repository was archived by the owner on May 24, 2022. It is now read-only.

Unable to build on macOS #281

@ltfschoen

Description

@ltfschoen

I followed the installation instructions on macOS 10.4 (Mojave) and ran the following commands:

$ git clone https://github.com/paritytech/fether;
$ cd ./fether;
$ npm install --global yarn;
$ brew upgrade yarn;
$ yarn --version
1.12.3

$ yarn install;
~/code/src/paritytech/fether - [master] $ yarn electron;
yarn run v1.12.3
$ yarn build
$ lerna run build
lerna info version 2.11.0
lerna ERR! build Errored while running script in 'fether-ui'
lerna ERR! execute callback with error
lerna ERR! Error: Command failed: yarn run build
lerna ERR! { Error: Cannot find module '@babel/plugin-proposal-class-properties' from '/Users/me/code/src/paritytech/fether/packages/fether-ui'
lerna ERR!     at Function.module.exports [as sync] (/Users/me/code/src/paritytech/fether/node_modules/resolve/lib/sync.js:43:15)
lerna ERR!     at resolveStandardizedName (/Users/me/code/src/paritytech/fether/node_modules/@babel/core/lib/config/files/plugins.js:101:31)
lerna ERR!     at resolvePlugin (/Users/me/code/src/paritytech/fether/node_modules/@babel/core/lib/config/files/plugins.js:54:10)
lerna ERR!     at loadPlugin (/Users/me/code/src/paritytech/fether/node_modules/@babel/core/lib/config/files/plugins.js:62:20)
lerna ERR!     at createDescriptor (/Users/me/code/src/paritytech/fether/node_modules/@babel/core/lib/config/config-descriptors.js:154:9)
lerna ERR!     at items.map (/Users/me/code/src/paritytech/fether/node_modules/@babel/core/lib/config/config-descriptors.js:109:50)
lerna ERR!     at Array.map (<anonymous>)
lerna ERR!     at createDescriptors (/Users/me/code/src/paritytech/fether/node_modules/@babel/core/lib/config/config-descriptors.js:109:29)
lerna ERR!     at createPluginDescriptors (/Users/me/code/src/paritytech/fether/node_modules/@babel/core/lib/config/config-descriptors.js:105:10)
lerna ERR!     at plugins (/Users/me/code/src/paritytech/fether/node_modules/@babel/core/lib/config/config-descriptors.js:40:19) code: 'MODULE_NOT_FOUND' }
lerna ERR! error Command failed with exit code 1.
lerna ERR! $ rimraf lib
lerna ERR! $ babel src --out-dir lib
lerna ERR! info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
lerna ERR! 
lerna ERR!     at Promise.all.then.arr (/Users/me/code/src/paritytech/fether/node_modules/lerna/node_modules/execa/index.js:236:11)
{ Error: Command failed: yarn run build
{ Error: Cannot find module '@babel/plugin-proposal-class-properties' from '/Users/me/code/src/paritytech/fether/packages/fether-ui'
    at Function.module.exports [as sync] (/Users/me/code/src/paritytech/fether/node_modules/resolve/lib/sync.js:43:15)
    at resolveStandardizedName (/Users/me/code/src/paritytech/fether/node_modules/@babel/core/lib/config/files/plugins.js:101:31)
    at resolvePlugin (/Users/me/code/src/paritytech/fether/node_modules/@babel/core/lib/config/files/plugins.js:54:10)
    at loadPlugin (/Users/me/code/src/paritytech/fether/node_modules/@babel/core/lib/config/files/plugins.js:62:20)
    at createDescriptor (/Users/me/code/src/paritytech/fether/node_modules/@babel/core/lib/config/config-descriptors.js:154:9)
    at items.map (/Users/me/code/src/paritytech/fether/node_modules/@babel/core/lib/config/config-descriptors.js:109:50)
    at Array.map (<anonymous>)
    at createDescriptors (/Users/me/code/src/paritytech/fether/node_modules/@babel/core/lib/config/config-descriptors.js:109:29)
    at createPluginDescriptors (/Users/me/code/src/paritytech/fether/node_modules/@babel/core/lib/config/config-descriptors.js:105:10)
    at plugins (/Users/me/code/src/paritytech/fether/node_modules/@babel/core/lib/config/config-descriptors.js:40:19) code: 'MODULE_NOT_FOUND' }
error Command failed with exit code 1.
$ rimraf lib
$ babel src --out-dir lib
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

    at Promise.all.then.arr (/Users/me/code/src/paritytech/fether/node_modules/lerna/node_modules/execa/index.js:236:11)
    at process._tickCallback (internal/process/next_tick.js:68:7)
  code: 1,
  killed: false,
  stdout:
   '$ rimraf lib\n$ babel src --out-dir lib\ninfo Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.\n',
  stderr:
   '{ Error: Cannot find module \'@babel/plugin-proposal-class-properties\' from \'/Users/me/code/src/paritytech/fether/packages/fether-ui\'\n    at Function.module.exports [as sync] (/Users/me/code/src/paritytech/fether/node_modules/resolve/lib/sync.js:43:15)\n    at resolveStandardizedName (/Users/me/code/src/paritytech/fether/node_modules/@babel/core/lib/config/files/plugins.js:101:31)\n    at resolvePlugin (/Users/me/code/src/paritytech/fether/node_modules/@babel/core/lib/config/files/plugins.js:54:10)\n    at loadPlugin (/Users/me/code/src/paritytech/fether/node_modules/@babel/core/lib/config/files/plugins.js:62:20)\n    at createDescriptor (/Users/me/code/src/paritytech/fether/node_modules/@babel/core/lib/config/config-descriptors.js:154:9)\n    at items.map (/Users/me/code/src/paritytech/fether/node_modules/@babel/core/lib/config/config-descriptors.js:109:50)\n    at Array.map (<anonymous>)\n    at createDescriptors (/Users/me/code/src/paritytech/fether/node_modules/@babel/core/lib/config/config-descriptors.js:109:29)\n    at createPluginDescriptors (/Users/me/code/src/paritytech/fether/node_modules/@babel/core/lib/config/config-descriptors.js:105:10)\n    at plugins (/Users/me/code/src/paritytech/fether/node_modules/@babel/core/lib/config/config-descriptors.js:40:19) code: \'MODULE_NOT_FOUND\' }\nerror Command failed with exit code 1.\n',
  failed: true,
  signal: null,
  cmd: 'yarn run build',
  timedOut: false,
  exitCode: 1 }
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions