Coder Social home page Coder Social logo

eosio-web-ide's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

eosio-web-ide's Issues

Remove warnings when starting eosio-web-ide

I get the following warnings in the first GitPod workspace window when starting eosio-web-ide project. @tbfleming mentioned that this is due to a lack of debugging symbols and source maps may cure the issue.

WARNING in ./node_modules/eosjs/dist/eosjs-api-interfaces.js
Module Warning (from ./node_modules/source-map-loader/index.js):
(Emitted value instead of an instance of Error) Cannot find source file '../src/eosjs-api-interfaces.ts': Error: Can't resolve '../src/eosjs-api-interfaces.ts' in '/workspace/eosio-web-ide/webapp/node_modules/eosjs/dist'
 @ ./node_modules/eosjs/dist/index.js 5:20-53
 @ ./src/index.tsx

WARNING in ./node_modules/eosjs/dist/eosjs-api.js
Module Warning (from ./node_modules/source-map-loader/index.js):
(Emitted value instead of an instance of Error) Cannot find source file '../src/eosjs-api.ts': Error: Can't resolve '../src/eosjs-api.ts' in '/workspace/eosio-web-ide/webapp/node_modules/eosjs/dist'
 @ ./node_modules/eosjs/dist/index.js 3:18-40
 @ ./src/index.tsx

WARNING in ./node_modules/eosjs/dist/eosjs-jsonrpc.js
Module Warning (from ./node_modules/source-map-loader/index.js):
(Emitted value instead of an instance of Error) Cannot find source file '../src/eosjs-jsonrpc.ts': Error: Can't resolve '../src/eosjs-jsonrpc.ts' in '/workspace/eosio-web-ide/webapp/node_modules/eosjs/dist'
 @ ./node_modules/eosjs/dist/index.js 7:22-48
 @ ./src/index.tsx

WARNING in ./node_modules/eosjs/dist/eosjs-jssig.js
Module Warning (from ./node_modules/source-map-loader/index.js):
(Emitted value instead of an instance of Error) Cannot find source file '../src/eosjs-jssig.ts': Error: Can't resolve '../src/eosjs-jssig.ts' in '/workspace/eosio-web-ide/webapp/node_modules/eosjs/dist'
 @ ./src/index.tsx 8:22-55

WARNING in ./node_modules/eosjs/dist/eosjs-numeric.js
Module Warning (from ./node_modules/source-map-loader/index.js):
(Emitted value instead of an instance of Error) Cannot find source file '../src/eosjs-numeric.ts': Error: Can't resolve '../src/eosjs-numeric.ts' in '/workspace/eosio-web-ide/webapp/node_modules/eosjs/dist'
 @ ./node_modules/eosjs/dist/eosjs-jssig.js 53:22-48
 @ ./src/index.tsx

WARNING in ./node_modules/eosjs/dist/eosjs-rpc-interfaces.js
Module Warning (from ./node_modules/source-map-loader/index.js):
(Emitted value instead of an instance of Error) Cannot find source file '../src/eosjs-rpc-interfaces.ts': Error: Can't resolve '../src/eosjs-rpc-interfaces.ts' in '/workspace/eosio-web-ide/webapp/node_modules/eosjs/dist'
 @ ./node_modules/eosjs/dist/index.js 11:20-53
 @ ./src/index.tsx

WARNING in ./node_modules/eosjs/dist/eosjs-rpcerror.js
Module Warning (from ./node_modules/source-map-loader/index.js):
(Emitted value instead of an instance of Error) Cannot find source file '../src/eosjs-rpcerror.ts': Error: Can't resolve '../src/eosjs-rpcerror.ts' in '/workspace/eosio-web-ide/webapp/node_modules/eosjs/dist'
 @ ./node_modules/eosjs/dist/index.js 13:23-50
 @ ./src/index.tsx

WARNING in ./node_modules/eosjs/dist/eosjs-serialize.js
Module Warning (from ./node_modules/source-map-loader/index.js):
(Emitted value instead of an instance of Error) Cannot find source file '../src/eosjs-serialize.ts': Error: Can't resolve '../src/eosjs-serialize.ts' in '/workspace/eosio-web-ide/webapp/node_modules/eosjs/dist'
 @ ./node_modules/eosjs/dist/index.js 15:16-44
 @ ./src/index.tsx

WARNING in ./node_modules/eosjs/dist/index.js
Module Warning (from ./node_modules/source-map-loader/index.js):
(Emitted value instead of an instance of Error) Cannot find source file '../src/index.ts': Error: Can't resolve '../src/index.ts' in '/workspace/eosio-web-ide/webapp/node_modules/eosjs/dist'
 @ ./src/index.tsx 7:16-32
ℹ 「wdm」: Compiled with warnings.

Gitpod webpage unresponsive when trying to close the "Preview" pane

System config
OS: macOS 10.15.5
Browser: Chrome 86.0.4240.183 (not using Gitpod extension)

Steps to trigger the problem:

  1. Follow each step in the "Instructions" section of README.md. After running gp preview $(gp url 8000), the Preview pane is opened and display the frontend webpage.

  2. Try to close this panel by clicking "Close" on the context menu.

close_preview_panel

  1. The webpage for Gitpod becomes unresponsive. I need to close this weppage and restart the Gitpod workspace to make it work again.

page_unresponsive

Other notes

  • I'm new to Gitpod and eosio-web-ide. So I'm not sure if this problem is caused by Gitpod itself or some config here.
  • If other user gets the same problem, one workaround is to use external browser for the frontend webpage (in "Open Ports" tab -> "8000", select "Open Browser").

Instructions on how to use with Docker

I don't want to use gitpod. I've invested considerable time and effort to tailor my local VS Code development experience according to my preferences. I run Windows 10 Pro and have Docker installed, how can I use this tool to deploy eosio within Docker?

Compiler warnings when building talk.wasm

The following IDE warnings are received in the GitPod "Problems" window when building talk.wasm/.abi (screenshot since I couldn't get gitpod to copy/paste the output of the Problems tab):

image

These warnings should be cleaned up since this is a demo.

I also see this output in the Terminal window:

gitpod /workspace/eosio-web-ide $ eosio-cpp contract/talk.cpp
Warning, empty ricardian clause file
Warning, empty ricardian clause file
Warning, action <post> does not have a ricardian contract

Docker image v0.1.1 bloated

The size of the eosio/eosio-web-ide image has jumped from 828.68 MB to 1012.95 MB from version v0.1.0 to v0.1.1
The main culprit appears to be this command

tar -xjf boost_1_72_0.tar.bz2  && cd boost_1_72_0  && ... && rm -rf boost_1_72_0.tar.bz2 boost_1_71_0

You are rming boost_1_71_0 instead of boost_1_72_0.

Also the eos install step has doubled in size, but that may just be the difference between eos 1.8.2 and 2.0.0

Not working with updated GitPod

GItPod has made big updates "recently". For example they switched from Theia to vscode. There are likely some changes that need to be made to accommodate those changes.

The example is no longer working. I get this error when starting it:

 HISTFILE=/workspace/.gitpod/cmd-1 history -r; {
cleos wallet unlock --password </password
} && {
nodeos --config-dir ~/eosio/chain/config --data-dir ~/eosio/chain/data -e -p eosio --plugin eosio::chain_api_plugin --contracts-console
}
 {tpod /workspace/eosio-web-ide $  HISTFILE=/workspace/.gitpod/cmd-1 history -r; 
> cleos wallet unlock --password </password
> } && {
osio --plugin eosio::chain_api_plugin --contracts-consoleosio/chain/data -e -p eo
> }
"/usr/bin/keosd" launched
password: Error 3110002: Missing Wallet API Plugin
Ensure that you have eosio::wallet_api_plugin added to your node's configuration!
Otherwise specify your wallet location with --wallet-url argument!
Error Details:
Wallet is not available
gitpod /workspace/eosio-web-ide $ 

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.