Giter VIP home page Giter VIP logo

0x-order-watcher's People

Contributors

massun-onibakuchi avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

shinonome-inc

0x-order-watcher's Issues

Cannot successfully yarn on Ubuntu-22.04 on WSL2

The same as https://github.com/shinonome-inc/amaterasu/issues/189

Environments

  • Ubuntu-22.04 on WSL2
  • Node 18.12.1 installed by NVM (its version will be described by the issuerer later)
  • Yarn 1.22.19 (classic stable)

The error

natsu-shinonome@Quince:~/workspace/amaterasu/orderbook/0x-order-watcher$ yarn
yarn install v1.22.19
warning package.json: No license field
warning [email protected]: No license field
[1/4] Resolving packages...
[2/4] Fetching packages...
warning Pattern ["ethereumjs-abi@git+https://github.com/ethereumjs/ethereumjs-abi.git"] is trying to unpack in the same destination "/home/natsu-shinonome/.cache/yarn/v6/npm-ethereumjs-abi-0.6.8-ee3994657fa7a427238e6ba92a84d0b529bbcde0/node_modules/ethereumjs-abi" as pattern ["[email protected]"]. This could result in non-deterministic behavior, skipping.
[3/4] Linking dependencies...
warning "@0x/asset-swapper > @balancer-labs/[email protected]" has unmet peer dependency "@ethersproject/abstract-signer@^5.4.0".
warning "@0x/asset-swapper > @balancer-labs/[email protected]" has unmet peer dependency "@ethersproject/bignumber@^5.4.0".
warning "@0x/asset-swapper > @balancer-labs/[email protected]" has unmet peer dependency "@ethersproject/bytes@^5.4.0".
warning "@0x/asset-swapper > @balancer-labs/[email protected]" has unmet peer dependency "@ethersproject/constants@^5.4.0".
warning "@0x/asset-swapper > @balancer-labs/sdk > @balancer-labs/[email protected]" has unmet peer dependency "@ethersproject/bignumber@^5.4.2".
warning "@0x/asset-swapper > @balancer-labs/sdk > @balancer-labs/[email protected]" has unmet peer dependency "@ethersproject/constants@^5.4.0".
warning "@0x/asset-swapper > @0x/contracts-zero-ex > @0x/subproviders > web3-provider-engine > eth-block-tracker > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@0x/asset-swapper > @0x/contracts-zero-ex > @0x/subproviders > web3-provider-engine > eth-block-tracker > @babel/plugin-transform-runtime > [email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@0x/asset-swapper > @0x/contracts-zero-ex > @0x/subproviders > web3-provider-engine > eth-block-tracker > @babel/plugin-transform-runtime > [email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@0x/asset-swapper > @0x/contracts-zero-ex > @0x/subproviders > web3-provider-engine > eth-block-tracker > @babel/plugin-transform-runtime > [email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@0x/asset-swapper > @0x/contracts-zero-ex > @0x/subproviders > web3-provider-engine > eth-block-tracker > @babel/plugin-transform-runtime > babel-plugin-polyfill-corejs2 > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.4.0-0".
warning "@0x/asset-swapper > @0x/contracts-zero-ex > @0x/subproviders > web3-provider-engine > eth-block-tracker > @babel/plugin-transform-runtime > babel-plugin-polyfill-corejs2 > @babel/helper-define-polyfill-provider > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0".
[4/4] Building fresh packages...
[17/24] ⠈ @0x/fast-abi
[18/24] ⠈ @0x/neon-router
[-/24] ⠈ waiting...
[-/24] ⠈ waiting...
error /home/natsu-shinonome/workspace/amaterasu/orderbook/0x-order-watcher/node_modules/@0x/neon-router: Command failed.
Exit code: 1
Command: node-pre-gyp install --fallback-to-build
Arguments:
Directory: /home/natsu-shinonome/workspace/amaterasu/orderbook/0x-order-watcher/node_modules/@0x/neon-router
Output:
node-pre-gyp info it worked if it ends with ok
node-pre-gyp info using [email protected]
node-pre-gyp info using [email protected] | linux | x64
node-pre-gyp info check checked for "/home/natsu-shinonome/workspace/amaterasu/orderbook/0x-order-watcher/node_modules/@0x/neon-router/bin/index.node" (not found)
node-pre-gyp http GET https://0x-neon-router.s3.amazonaws.com/0.3.5/node-v108-linux-x64.tar.gz
node-pre-gyp ERR! install response status 403 Forbidden on https://0x-neon-router.s3.amazonaws.com/0.3.5/node-v108-linux-x64.tar.gz
node-pre-gyp WARN Pre-built binaries not installable for @0x/[email protected] and [email protected] (node-v108 ABI, glibc) (falling back to source compile with node-gyp)
node-pre-gyp WARN Hit error response status 403 Forbidden on https://0x-neon-router.s3.amazonaws.com/0.3.5/node-v108-linux-x64.tar.gz
gyp info it worked if it ends with ok
gyp info using [email protected]
gyp info using [email protected] | linux | x64
gyp info ok
gyp info it worked if it ends with ok
gyp info using [email protected]
gyp info using [email protected] | linux | x64
gyp info find Python using Python version 3.10.6 found at "/usr/bin/python3"
gyp info spawn /usr/bin/python3
gyp info spawn args [
gyp info spawn args   '/home/natsu-shinonome/.nvm/versions/node/v18.12.1/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',
gyp info spawn args   'binding.gyp',
gyp info spawn args   '-f',
gyp info spawn args   'make',
gyp info spawn args   '-I',
gyp info spawn args   '/home/natsu-shinonome/workspace/amaterasu/orderbook/0x-order-watcher/node_modules/@0x/neon-router/build/config.gypi',
gyp info spawn args   '-I',
gyp info spawn args   '/home/natsu-shinonome/.nvm/versions/node/v18.12.1/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
gyp info spawn args   '-I',
gyp info spawn args   '/home/natsu-shinonome/.cache/node-gyp/18.12.1/include/node/common.gypi',
gyp info spawn args   '-Dlibrary=shared_library',
gyp info spawn args   '-Dvisibility=default',
gyp info spawn args   '-Dnode_root_dir=/home/natsu-shinonome/.cache/node-gyp/18.12.1',
gyp info spawn args   '-Dnode_gyp_dir=/home/natsu-shinonome/.nvm/versions/node/v18.12.1/lib/node_modules/npm/node_modules/node-gyp',
gyp info spawn args   '-Dnode_lib_file=/home/natsu-shinonome/.cache/node-gyp/18.12.1/<(target_arch)/node.lib',
gyp info spawn args   '-Dmodule_root_dir=/home/natsu-shinonome/workspace/amaterasu/orderbook/0x-order-watcher/node_modules/@0x/neon-router',
gyp info spawn args   '-Dnode_engine=v8',
gyp info spawn args   '--depth=.',
gyp info spawn args   '--no-parallel',
gyp info spawn args   '--generator-output',
gyp info spawn args   'build',
gyp info spawn args   '-Goutput_dir=.'
gyp info spawn args ]
gyp: binding.gyp not found (cwd: /home/natsu-shinonome/workspace/amaterasu/orderbook/0x-order-watcher/node_modules/@0x/neon-router) while trying to load binding.gyp
gyp ERR! configure error
gyp ERR! stack Error: `gyp` failed with exit code: 1
gyp ERR! stack     at ChildProcess.onCpExit (/home/natsu-shinonome/.nvm/versions/node/v18.12.1/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:284:16)
gyp ERR! stack     at ChildProcess.emit (node:events:513:28)
gyp ERR! stack     at ChildProcess._handle.onexit (node:internal/child_process:291:12)
gyp ERR! System Linux 5.15.79.1-microsoft-standard-WSL2
gyp ERR! command "/home/natsu-shinonome/.nvm/versions/node/v18.12.1/bin/node" "/home/natsu-shinonome/.nvm/versions/node/v18.12.1/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "--fallback-to-build" "--module=/home/natsu-shinonome/workspace/amaterasu/orderbook/0x-order-watcher/node_modules/@0x/neon-router/bin/index.node" "--module_name=index" "--module_path=/home/natsu-shinonome/workspace/amaterasu/orderbook/0x-order-watcher/node_modules/@0x/neon-router/bin" "--napi_version=8" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v108"
gyp ERR! cwd /home/natsu-shinonome/workspace/amaterasu/orderbook/0x-order-watcher/node_modules/@0x/neon-router
gyp ERR! node -v v18.12.1
gyp ERR! node-gyp -v v9.1.0
gyp ERR! not ok
node-pre-gyp ERR! build error
node-pre-gyp ERR! stack Error: Failed to execute '/home/natsu-shinonome/.nvm/versions/node/v18.12.1/bin/node /home/natsu-shinonome/.nvm/versions/node/v18.12.1/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/home/natsu-shinonome/workspace/amaterasu/orderbook/0x-order-watcher/node_modules/@0x/neon-router/bin/index.node --module_name=index --module_path=/home/natsu-shinonome/workspace/amaterasu/orderbook/0x-order-watcher/node_modules/@0x/neon-router/bin --napi_version=8 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v108' (1)
node-pre-gyp ERR! stack     at ChildProcess.<anonymous> (/home/natsu-shinonome/workspace/amaterasu/orderbook/0x-order-watcher/node_modules/@mapbox/node-pre-gyp/lib/util/compile.js:89:23)
node-pre-gyp ERR! stack     at ChildProcess.emit (node:events:513:28)
node-pre-gyp ERR! stack     at maybeClose (node:internal/child_process:1091:16)
node-pre-gyp ERR! stack     at ChildProcess._handle.onexit (node:internal/child_process:302:5)
node-pre-gyp ERR! System Linux 5.15.79.1-microsoft-standard-WSL2
node-pre-gyp ERR! command "/home/natsu-shinonome/.nvm/versions/node/v18.12.1/bin/node" "/home/natsu-shinonome/workspace/amaterasu/orderbook/0x-order-watcher/node_modules/@0x/neon-router/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
node-pre-gyp ERR! cwd /home/natsu-shinonome/workspace/amaterasu/orderbook/0x-order-watcher/node_modules/@0x/neon-router
node-pre-gyp ERR! node -v v18.12.1
node-pre-gyp ERR! node-pre-gyp -v v1.0.10
node-pre-gyp ERR! not ok

step for reproduction

  1. Install and set up WSL2 on Windows
  2. Install Ubuntu-22.04 on WSL2
  3. Install Node. Its version should be at least higher than the one specified on README of Amaterasu project.
  4. npm install --location=global yarn
  5. Exercise yarn at amaterasu\orderbook\0x-order-watcher

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.