Code Monkey home page Code Monkey logo

celo-remix-plugin's People

Contributors

critesjosh avatar daoauth avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

celo-remix-plugin's Issues

Plugin breaks when trying to compile contracts using HTTP import directive

I've identified an issue where the plugin stops working whenever the contract to compile has a GitHub dependency.

Reproduction steps:

  • Load the Celo plugin in Remix
  • Create a new file
  • Add the following content to the file: import "https://github.com/smartcontractkit/chainlink/blob/develop/evm-contracts/src/v0.4/LinkToken.sol";
  • Try to compile from the Celo Plugin UI
  • You should see the effects

Additional data - console output

react-dom.production.min.js:216 TypeError: Cannot convert undefined or null to object
    at Function.keys (<anonymous>)
    at fe (Compiler.tsx:170)
    at ro (react-dom.production.min.js:157)
    at Vs (react-dom.production.min.js:267)
    at Eu (react-dom.production.min.js:250)
    at Mu (react-dom.production.min.js:250)
    at xu (react-dom.production.min.js:250)
    at bu (react-dom.production.min.js:243)
    at react-dom.production.min.js:123
    at t.unstable_runWithPriority (scheduler.production.min.js:18)
ss @ react-dom.production.min.js:216
n.callback @ react-dom.production.min.js:216
da @ react-dom.production.min.js:131
hs @ react-dom.production.min.js:220
Cu @ react-dom.production.min.js:259
t.unstable_runWithPriority @ scheduler.production.min.js:18
Hi @ react-dom.production.min.js:122
Nu @ react-dom.production.min.js:252
bu @ react-dom.production.min.js:243
(anonymous) @ react-dom.production.min.js:123
t.unstable_runWithPriority @ scheduler.production.min.js:18
Hi @ react-dom.production.min.js:122
qi @ react-dom.production.min.js:123
Vi @ react-dom.production.min.js:122
du @ react-dom.production.min.js:237
ko @ react-dom.production.min.js:170
(anonymous) @ Compiler.tsx:75
s.emit @ events.js:153
(anonymous) @ connector.ts:60
l @ runtime.js:63
(anonymous) @ runtime.js:293
(anonymous) @ runtime.js:118
(anonymous) @ tslib.es6.js:74
l @ tslib.es6.js:70
(anonymous) @ connector.ts:38
(anonymous) @ connector.ts:46
l @ runtime.js:63
(anonymous) @ runtime.js:293
(anonymous) @ runtime.js:118
o @ tslib.es6.js:71
Promise.then (async)
u @ tslib.es6.js:73
(anonymous) @ tslib.es6.js:74
l @ tslib.es6.js:70
(anonymous) @ connector.ts:35
connector.ts:83 TypeError: Cannot convert undefined or null to object
    at Function.keys (<anonymous>)
    at fe (Compiler.tsx:170)
    at ro (react-dom.production.min.js:157)
    at Vs (react-dom.production.min.js:267)
    at Eu (react-dom.production.min.js:250)
    at Mu (react-dom.production.min.js:250)
    at xu (react-dom.production.min.js:250)
    at bu (react-dom.production.min.js:243)
    at react-dom.production.min.js:123
    at t.unstable_runWithPriority (scheduler.production.min.js:18)
(anonymous) @ connector.ts:83
l @ runtime.js:63
(anonymous) @ runtime.js:293
(anonymous) @ runtime.js:118
(anonymous) @ tslib.es6.js:74
l @ tslib.es6.js:70
(anonymous) @ connector.ts:38
(anonymous) @ connector.ts:46
l @ runtime.js:63
(anonymous) @ runtime.js:293
(anonymous) @ runtime.js:118
o @ tslib.es6.js:71
Promise.then (async)
u @ tslib.es6.js:73
(anonymous) @ tslib.es6.js:74
l @ tslib.es6.js:70
(anonymous) @ connector.ts:35

Screenshot:

image

Styles not loading on remix

The plugin has started to look like this:

Screenshot 2021-06-10 at 6 06 56 PM

Even on the github pages deployment on this , the styles look broken like this

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.