machinomy / machinomy

Node.js library for micropayments in Ether and ERC20 tokens over HTTP

Home Page:http://machinomy.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

trouble with build instructions

michielbdejong opened this issue · comments

Hi! I'm trying out the build instructions from the readme, and I'm seeing:

[michiel@mbp ~/gh/machinomy/machinomy (master)]$ npm install -g typedoc
/Users/michiel/.nvm/versions/node/v8.9.4/bin/typedoc -> /Users/michiel/.nvm/versions/node/v8.9.4/lib/node_modules/typedoc/bin/typedoc
+ typedoc@0.10.0
added 61 packages in 13.177s
[michiel@mbp ~/gh/machinomy/machinomy (master)]$ yarn build
yarn build v0.21.3
$ tsc -p tsconfig.json
node_modules/tsutils/typeguard/node.d.ts(75,73): error TS2694: Namespace 'ts' has no exported member 'JsxClosingFragment'.
node_modules/tsutils/typeguard/node.d.ts(78,67): error TS2694: Namespace 'ts' has no exported member 'JsxFragment'.
node_modules/tsutils/typeguard/node.d.ts(79,66): error TS2694: Namespace 'ts' has no exported member 'JsxFragment'.
node_modules/tsutils/typeguard/node.d.ts(81,73): error TS2694: Namespace 'ts' has no exported member 'JsxOpeningFragment'.
node_modules/tsutils/typeguard/type.d.ts(15,73): error TS2694: Namespace 'ts' has no exported member 'UniqueESSymbolType'.
node_modules/tsutils/util/util.d.ts(80,65): error TS2694: Namespace 'ts' has no exported member 'HasJSDoc'.
error Command failed with exit code 2.

Typedoc sucks. Remove the dependency for typedoc a while ago. Now removed the section that mentions it now.

I'm still getting the same errors from TypeGuard, what is JsxClosingFragment etcetera?

Using yarn install instead of npm install fixed it!