ionic v2 webpack loader not loading json dependencies

We're porting a app prototype from ionic to ionic2 by cloning the ionic-conference-app, which runs fine locally. We're now trying to build a wrapper class to Ethereum JS wrapper library we have....

Importing lodash in React error (directory description file): SyntaxError: Unexpected token }

when import _ from 'lodash' in my App.js file, I get error Error in ./src/App.js Module not found: Syntax/Users/<PATH>/waveexchangeNode/package.json (directory description file): SyntaxError:...

pubToAddress method from ethereumjs-util throws AssertionError: false == true

I have the following code on nodejs: var keythereum = require('keythereum'); var crypto = require("crypto"); var eccrypto = require("eccrypto"); var pubToAddress =...

Browserify bundle.js throws "Unexpected token" due to  character

After installing nodejs from the scratch on a Linux Ubuntu 16.04.1 LTS (tested on 2 different servers, but same result...) browserify generates an incorrect bundle.js due to an extra weird...

connexion to infura fail with web3 in firebase cloud functions

I have an issue with Firebase cloud function. The connexion to infura fails when my function is called. I have upgraded to Blaze plan as mention here, but it didn't change. Here is my code: const...

RangeError: private key length is invalid: secp256k1.sign(msgHash, privateKey);

Getting below error while signing the transaction on ethereum network: E:\Web3\node_modules\ethereumjs-util\dist\index.js:369 var sig = secp256k1.sign(msgHash, privateKey); ...

Why I have an error with Ganache on npm start in WSL?

I'm trying to run Ganache in WSL (Ubuntu). When I clone git repository, npm install and then run npm start, I get this error which is not specified. > [email protected] start...

By using ledger nano s, I wanna sign a transaction and send it

I'm trying to send ethereum transaction that sends ERC20 tokens to someone with Ledger Nano S through Node.JS but I'm not able to successfully sign and send this transaction. First of all, I...

different signing results from go-ethereum and ethereumjs.utils

I get different results from signing the same string with the same private key in go-ethereum and ethereumjs.utils. The key used in ts has the "0x" in front because that function requires hexed...

What hash encryption algorithm does web3 use? ethereumjs-util Sha3 returns different result

I'm trying to properly sign an authentication method through web3's signPersonalMessage function. However, eth-sig-util's package which correctly authenticates does not produce the same hash with...

React/RCTDefines.h file not found in RCTBridgeModule.h

I was using Expo and I separated expo eject for module use. And I tried pod install in iOS file. it was work. Pod installation complete! There are 51 dependencies from the Pod file and 63 total...

No Truffle : Error: Number can only safely store up to 53 bits

before marking this question as a duplicate please notice that I'm not using truffle :) So the problem is , everytime I send a transaction to my smart contract I get the error from title. const...

node-rsa: Encoding too long, using the public key of an ethereum account

I have the following issue: The main goal is to use the public key of an ethereum-account (form the keystore-file) to encrypt some payload asymmetrically and then decrypt it with the corresponding...

How to fix "undefined is not an object (evaluating 'Transform.call')" for ethereumjs-tx

I am want to develop a mobile application which will send a transaction to interact with my smart contract. When execute "ethereumjs-tx.sign(..)" , it throw exception. (FYR: I am using [email protected],...

How do I retrieve a public key from an Ethereum transaction using the web3 utilities?

I am working on a project that requires the public keys for Ethereum addresses. Ideally, the keys are derived by users on the Ethereum network by using ecrecover and the ecrecover method from...

What is the meaning of package name before @git in package-lock.json

When I try to run npm install, I got an error: Could not install from "node_modules/eth-sig-util/[email protected]+https:/github.com/ethereumjs/ethereumjs-abi.git" as it does not contain a...

Cannot add web3 to React project

I'm trying to add Web3 to a React project. I've initalized a new project with gatsby new Then, I've installed web3 npm install --save web3 And when I include web3 in index.js import Web3 from...

Quasar Framework (VueJS) - "UI" compiled with errors (If import web3)

I use Quasar CLI version 1.2.1 and library web3 version ^1.5.2 it's an error when i use: import Web3 from 'web3' Log Error: App • Chaining "UI" Webpack config App • WAIT • Compiling of...

Web3 sending EIP-1559 Transaction Completed Successfully but got back an Error: invalid remainder

Overview I am able to send an EIP-1559 transaction through Rinkeby Testnet with Web3, the transaction completes without any trouble and I do get my Ether in my Metamask Rinkeby Account. The thing...

how to use webpack and web3 in react?

Hello I've just started a new react app from skratch. I followed instructions at https://medium.com/age-of-awareness/setup-react-with-webpack-and-babel-5114a14a47e9 this is my package.json file { ...