GithubHelp home page GithubHelp logo

example-extension's People

Contributors

jakubsta avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

example-extension's Issues

Getting errors while installing example-extension dependencies

Hello Jakubsta,

I am in middle of my project where I have to create chrome-extension.

Basically that chrome extension will takes data from block-chain and display in chrome content-script also when user click on that data one transaction happen which will increase the count in block-chain.
It will be a great help from your side if you solve my issue with installation of dependencies of this project.

Below are the error I am getting when I run npm instal; npm start

ERROR in ./node_modules/ethjs-unit/lib/index.js
Module build failed: ReferenceError: Unknown plugin "transform-es3-member-expression-literals" specified in "E:\\adbullah\\example-extension-master\\node_modules\\ethjs-unit\\package.json" at 18, attempted to resolve relative to "E:\\adbullah\\example-extension-master\\node_modules\\ethjs-unit"
    at E:\adbullah\example-extension-master\node_modules\babel-core\lib\transformation\file\options\option-manager.js:180:17
    at Array.map (<anonymous>)
    at Function.normalisePlugins (E:\adbullah\example-extension-master\node_modules\babel-core\lib\transformation\file\options\option-manager.js:158:20)
    at OptionManager.mergeOptions (E:\adbullah\example-extension-master\node_modules\babel-core\lib\transformation\file\options\option-manager.js:234:36)
    at OptionManager.init (E:\adbullah\example-extension-master\node_modules\babel-core\lib\transformation\file\options\option-manager.js:368:12)
    at File.initOptions (E:\adbullah\example-extension-master\node_modules\babel-core\lib\transformation\file\index.js:212:65)
    at new File (E:\adbullah\example-extension-master\node_modules\babel-core\lib\transformation\file\index.js:135:24)
    at Pipeline.transform (E:\adbullah\example-extension-master\node_modules\babel-core\lib\transformation\pipeline.js:46:16)
    at transpile (E:\adbullah\example-extension-master\node_modules\babel-loader\lib\index.js:50:20)
    at Object.module.exports (E:\adbullah\example-extension-master\node_modules\babel-loader\lib\index.js:173:20)
 @ ./node_modules/Web3/node_modules/web3-utils/src/index.js 25:16-37
 @ ./node_modules/Web3/src/index.js
 @ ./background.js

ERROR in ./background.js
Module not found: Error: Can't resolve 'metamask-extension/app/scripts/lib/inpage-provider' in 'E:\adbullah\example-extension-master'
 @ ./background.js 3:0-88 9:25-47

ERROR in ./background.js
Module not found: Error: Can't resolve 'metamask-extension/app/scripts/lib/port-stream' in 'E:\adbullah\example-extension-master'
 @ ./background.js 4:0-72 8:25-35

Thanks,
Jasham

new tab chrome app -- trying to connect to metamask

I am working on a google chrome extension that upon opening a new tab, my dapp should connect to metamask. However, web3 isn't being detected when opening a new tab. I'm thinking it's because I have to do what MetaMask does of injecting a script tag into the DOM.

Is this project a good start for building a chrome app that can connect to metamask upon opening a new tab? Or can you elaborate on how I can go about doing so? I went about starting my project using truffle-react. Any help is appreciated.

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.