- slim support
chuckbergeron / etherplate Goto Github PK
View Code? Open in Web Editor NEW🔗 Use this to make your next Ethereum DApp w/ React (& Router), Redux, Bulma & OpenZeppelin ERC721
Home Page: https://chuckbergeron.io
License: Other
🔗 Use this to make your next Ethereum DApp w/ React (& Router), Redux, Bulma & OpenZeppelin ERC721
Home Page: https://chuckbergeron.io
License: Other
unable to install node modules
~/P/b/etherplate ❯❯❯ npm i ⏎ master
> [email protected] preinstall /Users/brian/Public/blockchain/etherplate/node_modules/scrypt
> node node-scrypt-preinstall.js
> [email protected] install /Users/brian/Public/blockchain/etherplate/node_modules/scrypt
> node-gyp rebuild
SOLINK_MODULE(target) Release/copied_files.node
CC(target) Release/obj.target/scrypt_wrapper/src/util/memlimit.o
CC(target) Release/obj.target/scrypt_wrapper/src/scryptwrapper/keyderivation.o
CC(target) Release/obj.target/scrypt_wrapper/src/scryptwrapper/pickparams.o
CC(target) Release/obj.target/scrypt_wrapper/src/scryptwrapper/hash.o
LIBTOOL-STATIC Release/scrypt_wrapper.a
CC(target) Release/obj.target/scrypt_lib/scrypt/scrypt-1.2.0/lib/crypto/crypto_scrypt.o
CC(target) Release/obj.target/scrypt_lib/scrypt/scrypt-1.2.0/lib/crypto/crypto_scrypt_smix.o
CC(target) Release/obj.target/scrypt_lib/scrypt/scrypt-1.2.0/libcperciva/util/warnp.o
CC(target) Release/obj.target/scrypt_lib/scrypt/scrypt-1.2.0/libcperciva/alg/sha256.o
CC(target) Release/obj.target/scrypt_lib/scrypt/scrypt-1.2.0/libcperciva/util/insecure_memzero.o
CC(target) Release/obj.target/scrypt_lib/scrypt/scrypt-1.2.0/lib/scryptenc/scryptenc_cpuperf.o
LIBTOOL-STATIC Release/scrypt_lib.a
CXX(target) Release/obj.target/scrypt/src/node-boilerplate/scrypt_common.o
In file included from ../src/node-boilerplate/scrypt_common.cc:28:
In file included from ../../nan/nan.h:51:
/Users/brian/.node-gyp/10.2.0/include/node/node.h:53:10: fatal error: 'core.h' file not found
#include "core.h" // NOLINT(build/include_order)
^~~~~~~~
1 error generated.
make: *** [Release/obj.target/scrypt/src/node-boilerplate/scrypt_common.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/Users/brian/.nvm/versions/node/v10.2.0/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:258:23)
gyp ERR! stack at ChildProcess.emit (events.js:182:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:237:12)
gyp ERR! System Darwin 17.5.0
gyp ERR! command "/Users/brian/.nvm/versions/node/v10.2.0/bin/node" "/Users/brian/.nvm/versions/node/v10.2.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/brian/Public/blockchain/etherplate/node_modules/scrypt
gyp ERR! node -v v10.2.0
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/brian/.npm/_logs/2018-05-29T23_53_00_165Z-debug.log
truffle compile
/home/sum/DEV/VehicleLog/node_modules/truffle-hdwallet-provider/node_modules/web3/lib/web3/errors.js:35
return new Error(message);
^
Error: Invalid JSON RPC response: ""
at Object.InvalidResponse (/home/sum/DEV/VehicleLog/node_modules/truffle-hdwallet-provider/node_modules/web3/lib/web3/errors.js:35:16)
at XMLHttpRequest.request.onreadystatechange (/home/sum/DEV/VehicleLog/node_modules/truffle-hdwallet-provider/node_modules/web3/lib/web3/httpprovider.js:115:32)
at XMLHttpRequestEventTarget.dispatchEvent (/home/sum/DEV/VehicleLog/node_modules/xhr2/lib/xhr2.js:64:18)
at XMLHttpRequest._setReadyState (/home/sum/DEV/VehicleLog/node_modules/xhr2/lib/xhr2.js:354:12)
at XMLHttpRequest._onHttpRequestError (/home/sum/DEV/VehicleLog/node_modules/xhr2/lib/xhr2.js:544:12)
at ClientRequest.<anonymous> (/home/sum/DEV/VehicleLog/node_modules/xhr2/lib/xhr2.js:414:24)
at ClientRequest.emit (events.js:182:13)
at Socket.socketErrorListener (_http_client.js:382:9)
at Socket.emit (events.js:182:13)
at emitErrorNT (internal/streams/destroy.js:82:8)
Hi. Getting many errors with 'npm run dev' on Windows. Please help. The only thing I change for the project is modify truffle.js to use my full node on my local machine with geth, instead of infura.io, which doesn't work for me. Below is the full print out of errors
PS C:\Users\zfore\Documents\github\etherplate> npm run dev
[email protected] dev C:\Users\zfore\Documents\github\etherplate
webpack-dev-server --config webpack.dev.js --mode developmenti 「wds」: Project is running at http://localhost:8080/
i 「wds」: webpack output is served from /
i 「wds」: 404s will fallback to /index.html
× 「wdm」: Hash: 7e3327a876e4e89771ee
Version: webpack 4.16.0
Time: 9911ms
Built at: 2018-07-16 00:42:06
Asset Size Chunks Chunk Names
images/button--download-metamask.png 72.7 KiB [emitted]
app.js 3.28 MiB main [emitted] main
_redirects 25 bytes [emitted]
index.html 618 bytes [emitted]
images/button--app-store.png 3.87 KiB [emitted]
images/avatar-placeholder.png 528 bytes [emitted]
images/button--play-store.png 4.2 KiB [emitted]
images/logos/etherplate-logo--red--lg.png 96.5 KiB [emitted]
app.js.map 3.48 MiB main [emitted] main
images/logos/etherplate-logo--white--lg.png 75.8 KiB [emitted]
images/placeholder.png 53.7 KiB [emitted]
images/etherplate-demo.gif 920 KiB [emitted]
images/token-images/icons-shield--1024-1024.png 95.5 KiB [emitted]
images/token-images/icons-sword--128-128.png 3.75 KiB [emitted]
images/token-images/icons-sword--1024-1024.png 53.7 KiB [emitted]
images/token-images/icons-shield--128-128.png 8.28 KiB [emitted]
Entrypoint main = app.js app.js.map
[./app/javascripts/app.js] 1.9 KiB {main} [built]
[./app/javascripts/init.jsx] 796 bytes {main} [built]
[./node_modules/@babel/polyfill/lib/index.js] 527 bytes {main} [built]
[./node_modules/@babel/polyfill/node_modules/core-js/shim.js] 7.99 KiB {main} [built]
[./node_modules/regenerator-runtime/runtime.js] 23.6 KiB {main} [built]
[./node_modules/strip-ansi/index.js] 161 bytes {main} [built]
[./node_modules/url/url.js] 22.8 KiB {main} [built]
[./node_modules/web3/index.js] 193 bytes {main} [built]
[./node_modules/webpack-dev-server/client/index.js?http://localhost:8080] (webpack)-dev-server/client?http://localhost:8080 7.75 KiB {main} [built]
[./node_modules/webpack-dev-server/client/overlay.js] (webpack)-dev-server/client/overlay.js 3.58 KiB {main} [built]
[./node_modules/webpack-dev-server/client/socket.js] (webpack)-dev-server/client/socket.js 1.05 KiB {main} [built]
[./node_modules/webpack/buildin/global.js] (webpack)/buildin/global.js 489 bytes {main} [built]
[0] multi (webpack)-dev-server/client?http://localhost:8080 @babel/polyfill ./app/javascripts/app.js 52 bytes {main} [built]
[./node_modules/webpack/hot sync ^./log$] (webpack)/hot sync nonrecursive ^./log$ 170 bytes {main} [built]
[./node_modules/webpack/hot/emitter.js] (webpack)/hot/emitter.js 77 bytes {main} [built]
+ 574 hidden modulesERROR in ./app/javascripts/components/application/layout/header/index.jsx
Module not found: Error: Can't resolve './app/images/logos/etherplate-logo--white--lg.png' in 'C:\Users\zfore\Documents\github\etherplate\app\javascripts\components\application\layout\header'
@ ./app/javascripts/components/application/layout/header/index.jsx 16:52-112
@ ./app/javascripts/components/application/index.jsx
@ ./app/javascripts/init.jsx
@ ./app/javascripts/app.js
@ multi (webpack)-dev-server/client?http://localhost:8080 @babel/polyfill ./app/javascripts/app.jsERROR in ./app/javascripts/components/application/token-list/token-list-item.jsx
Module not found: Error: Can't resolve './app/images/placeholder.png' in 'C:\Users\zfore\Documents\github\etherplate\app\javascripts\components\application\token-list'
@ ./app/javascripts/components/application/token-list/token-list-item.jsx 22:42-81
@ ./app/javascripts/components/application/token-list/index.jsx
@ ./app/javascripts/components/application/all-tokens.jsx
@ ./app/javascripts/components/application/index.jsx
@ ./app/javascripts/init.jsx
@ ./app/javascripts/app.js
@ multi (webpack)-dev-server/client?http://localhost:8080 @babel/polyfill ./app/javascripts/app.jsERROR in ./app/javascripts/components/application/token/index.jsx
Module not found: Error: Can't resolve './app/javascripts/components/EtherscanButton' in 'C:\Users\zfore\Documents\github\etherplate\app\javascripts\components\application\token'
@ ./app/javascripts/components/application/token/index.jsx 22:46-101
@ ./app/javascripts/components/application/index.jsx
@ ./app/javascripts/init.jsx
@ ./app/javascripts/app.js
@ multi (webpack)-dev-server/client?http://localhost:8080 @babel/polyfill ./app/javascripts/app.jsERROR in ./app/javascripts/components/application/token/index.jsx
Module not found: Error: Can't resolve './app/javascripts/components/address' in 'C:\Users\zfore\Documents\github\etherplate\app\javascripts\components\application\token'
@ ./app/javascripts/components/application/token/index.jsx 20:38-85
@ ./app/javascripts/components/application/index.jsx
@ ./app/javascripts/init.jsx
@ ./app/javascripts/app.js
@ multi (webpack)-dev-server/client?http://localhost:8080 @babel/polyfill ./app/javascripts/app.jsERROR in ./app/javascripts/components/application/token-list/token-list-item.jsx
Module not found: Error: Can't resolve './app/javascripts/components/address' in 'C:\Users\zfore\Documents\github\etherplate\app\javascripts\components\application\token-list'
@ ./app/javascripts/components/application/token-list/token-list-item.jsx 16:15-62
@ ./app/javascripts/components/application/token-list/index.jsx
@ ./app/javascripts/components/application/all-tokens.jsx
@ ./app/javascripts/components/application/index.jsx
@ ./app/javascripts/init.jsx
@ ./app/javascripts/app.js
@ multi (webpack)-dev-server/client?http://localhost:8080 @babel/polyfill ./app/javascripts/app.jsERROR in ./app/javascripts/components/application/layout/header/index.jsx
Module not found: Error: Can't resolve './app/javascripts/components/application/layout/header/NetworkInfo' in 'C:\Users\zfore\Documents\github\etherplate\app\javascripts\components\application\layout\header'
@ ./app/javascripts/components/application/layout/header/index.jsx 14:42-119
@ ./app/javascripts/components/application/index.jsx
@ ./app/javascripts/init.jsx
@ ./app/javascripts/app.js
@ multi (webpack)-dev-server/client?http://localhost:8080 @babel/polyfill ./app/javascripts/app.jsERROR in ./app/javascripts/components/application/customize-token/index.jsx
Module not found: Error: Can't resolve './app/javascripts/components/ether' in 'C:\Users\zfore\Documents\github\etherplate\app\javascripts\components\application\customize-token'
@ ./app/javascripts/components/application/customize-token/index.jsx 26:36-81
@ ./app/javascripts/components/application/index.jsx
@ ./app/javascripts/init.jsx
@ ./app/javascripts/app.js
@ multi (webpack)-dev-server/client?http://localhost:8080 @babel/polyfill ./app/javascripts/app.jsERROR in ./app/javascripts/components/application/landing.jsx
Module not found: Error: Can't resolve './app/javascripts/components/hero' in 'C:\Users\zfore\Documents\github\etherplate\app\javascripts\components\application'
@ ./app/javascripts/components/application/landing.jsx 12:35-79
@ ./app/javascripts/components/application/index.jsx
@ ./app/javascripts/init.jsx
@ ./app/javascripts/app.js
@ multi (webpack)-dev-server/client?http://localhost:8080 @babel/polyfill ./app/javascripts/app.jsERROR in ./app/javascripts/components/application/not-found/index.jsx
Module not found: Error: Can't resolve './app/javascripts/components/hero' in 'C:\Users\zfore\Documents\github\etherplate\app\javascripts\components\application\not-found'
@ ./app/javascripts/components/application/not-found/index.jsx 10:35-79
@ ./app/javascripts/components/application/index.jsx
@ ./app/javascripts/init.jsx
@ ./app/javascripts/app.js
@ multi (webpack)-dev-server/client?http://localhost:8080 @babel/polyfill ./app/javascripts/app.jsERROR in ./app/javascripts/components/application/purchase-history/index.jsx
Module not found: Error: Can't resolve './app/javascripts/components/hero' in 'C:\Users\zfore\Documents\github\etherplate\app\javascripts\components\application\purchase-history'
@ ./app/javascripts/components/application/purchase-history/index.jsx 16:35-79
@ ./app/javascripts/components/application/index.jsx
@ ./app/javascripts/init.jsx
@ ./app/javascripts/app.js
@ multi (webpack)-dev-server/client?http://localhost:8080 @babel/polyfill ./app/javascripts/app.jsERROR in ./app/javascripts/components/application/token-list/index.jsx
Module not found: Error: Can't resolve './app/javascripts/components/hero' in 'C:\Users\zfore\Documents\github\etherplate\app\javascripts\components\application\token-list'
@ ./app/javascripts/components/application/token-list/index.jsx 14:35-79
@ ./app/javascripts/components/application/all-tokens.jsx
@ ./app/javascripts/components/application/index.jsx
@ ./app/javascripts/init.jsx
@ ./app/javascripts/app.js
@ multi (webpack)-dev-server/client?http://localhost:8080 @babel/polyfill ./app/javascripts/app.jsERROR in ./app/javascripts/components/application/token-list/token-list-item.jsx
Module not found: Error: Can't resolve './app/javascripts/components/loading' in 'C:\Users\zfore\Documents\github\etherplate\app\javascripts\components\application\token-list'
@ ./app/javascripts/components/application/token-list/token-list-item.jsx 14:38-85
@ ./app/javascripts/components/application/token-list/index.jsx
@ ./app/javascripts/components/application/all-tokens.jsx
@ ./app/javascripts/components/application/index.jsx
@ ./app/javascripts/init.jsx
@ ./app/javascripts/app.js
@ multi (webpack)-dev-server/client?http://localhost:8080 @babel/polyfill ./app/javascripts/app.jsERROR in ./app/javascripts/components/application/index.jsx
Module not found: Error: Can't resolve './app/javascripts/components/web3Wrap' in 'C:\Users\zfore\Documents\github\etherplate\app\javascripts\components\application'
@ ./app/javascripts/components/application/index.jsx 24:39-87
@ ./app/javascripts/init.jsx
@ ./app/javascripts/app.js
@ multi (webpack)-dev-server/client?http://localhost:8080 @babel/polyfill ./app/javascripts/app.jsERROR in ./app/javascripts/components/application/index.jsx
Module not found: Error: Can't resolve './app/javascripts/contracts/nfTokenFactory' in 'C:\Users\zfore\Documents\github\etherplate\app\javascripts\components\application'
@ ./app/javascripts/components/application/index.jsx 22:45-98
@ ./app/javascripts/init.jsx
@ ./app/javascripts/app.js
@ multi (webpack)-dev-server/client?http://localhost:8080 @babel/polyfill ./app/javascripts/app.jsERROR in ./app/javascripts/components/application/customize-token/index.jsx
Module not found: Error: Can't resolve './app/javascripts/contracts/nfTokenFactory' in 'C:\Users\zfore\Documents\github\etherplate\app\javascripts\components\application\customize-token'
@ ./app/javascripts/components/application/customize-token/index.jsx 20:45-98
@ ./app/javascripts/components/application/index.jsx
@ ./app/javascripts/init.jsx
@ ./app/javascripts/app.js
@ multi (webpack)-dev-server/client?http://localhost:8080 @babel/polyfill ./app/javascripts/app.jsERROR in ./app/javascripts/components/application/purchase-history/index.jsx
Module not found: Error: Can't resolve './app/javascripts/contracts/nfTokenFactory' in 'C:\Users\zfore\Documents\github\etherplate\app\javascripts\components\application\purchase-history'
@ ./app/javascripts/components/application/purchase-history/index.jsx 12:45-98
@ ./app/javascripts/components/application/index.jsx
@ ./app/javascripts/init.jsx
@ ./app/javascripts/app.js
@ multi (webpack)-dev-server/client?http://localhost:8080 @babel/polyfill ./app/javascripts/app.jsERROR in ./app/javascripts/components/application/index.jsx
Module not found: Error: Can't resolve './app/javascripts/redux/actions' in 'C:\Users\zfore\Documents\github\etherplate\app\javascripts\components\application'
@ ./app/javascripts/components/application/index.jsx 18:15-57
@ ./app/javascripts/init.jsx
@ ./app/javascripts/app.js
@ multi (webpack)-dev-server/client?http://localhost:8080 @babel/polyfill ./app/javascripts/app.jsERROR in ./app/javascripts/components/application/customize-token/index.jsx
Module not found: Error: Can't resolve './app/javascripts/redux/actions' in 'C:\Users\zfore\Documents\github\etherplate\app\javascripts\components\application\customize-token'
@ ./app/javascripts/components/application/customize-token/index.jsx 22:15-57
@ ./app/javascripts/components/application/index.jsx
@ ./app/javascripts/init.jsx
@ ./app/javascripts/app.js
@ multi (webpack)-dev-server/client?http://localhost:8080 @babel/polyfill ./app/javascripts/app.jsERROR in ./app/javascripts/components/application/index.jsx
Module not found: Error: Can't resolve './app/javascripts/redux/reducers' in 'C:\Users\zfore\Documents\github\etherplate\app\javascripts\components\application'
@ ./app/javascripts/components/application/index.jsx 20:16-59
@ ./app/javascripts/init.jsx
@ ./app/javascripts/app.js
@ multi (webpack)-dev-server/client?http://localhost:8080 @babel/polyfill ./app/javascripts/app.jsERROR in ./app/javascripts/components/application/purchase-history/token-row.jsx
Module not found: Error: Can't resolve './app/javascripts/services/get-token' in 'C:\Users\zfore\Documents\github\etherplate\app\javascripts\components\application\purchase-history'
@ ./app/javascripts/components/application/purchase-history/token-row.jsx 14:39-86
@ ./app/javascripts/components/application/purchase-history/index.jsx
@ ./app/javascripts/components/application/index.jsx
@ ./app/javascripts/init.jsx
@ ./app/javascripts/app.js
@ multi (webpack)-dev-server/client?http://localhost:8080 @babel/polyfill ./app/javascripts/app.jsERROR in ./app/javascripts/components/application/token/index.jsx
Module not found: Error: Can't resolve './app/javascripts/services/get-token' in 'C:\Users\zfore\Documents\github\etherplate\app\javascripts\components\application\token'
@ ./app/javascripts/components/application/token/index.jsx 26:39-86
@ ./app/javascripts/components/application/index.jsx
@ ./app/javascripts/init.jsx
@ ./app/javascripts/app.js
@ multi (webpack)-dev-server/client?http://localhost:8080 @babel/polyfill ./app/javascripts/app.jsERROR in ./app/javascripts/components/application/token-list/token-list-item.jsx
Module not found: Error: Can't resolve './app/javascripts/services/get-token' in 'C:\Users\zfore\Documents\github\etherplate\app\javascripts\components\application\token-list'
@ ./app/javascripts/components/application/token-list/token-list-item.jsx 20:39-86
@ ./app/javascripts/components/application/token-list/index.jsx
@ ./app/javascripts/components/application/all-tokens.jsx
@ ./app/javascripts/components/application/index.jsx
@ ./app/javascripts/init.jsx
@ ./app/javascripts/app.js
@ multi (webpack)-dev-server/client?http://localhost:8080 @babel/polyfill ./app/javascripts/app.jsERROR in ./app/javascripts/components/application/customize-token/index.jsx
Module not found: Error: Can't resolve './app/javascripts/services/nfToken-type-image-url' in 'C:\Users\zfore\Documents\github\etherplate\app\javascripts\components\application\customize-token'
@ ./app/javascripts/components/application/customize-token/index.jsx 28:50-110
@ ./app/javascripts/components/application/index.jsx
@ ./app/javascripts/init.jsx
@ ./app/javascripts/app.js
@ multi (webpack)-dev-server/client?http://localhost:8080 @babel/polyfill ./app/javascripts/app.jsERROR in ./app/javascripts/components/application/purchase-history/token-row.jsx
Module not found: Error: Can't resolve './app/javascripts/services/nfToken-type-image-url' in 'C:\Users\zfore\Documents\github\etherplate\app\javascripts\components\application\purchase-history'
@ ./app/javascripts/components/application/purchase-history/token-row.jsx 16:50-110
@ ./app/javascripts/components/application/purchase-history/index.jsx
@ ./app/javascripts/components/application/index.jsx
@ ./app/javascripts/init.jsx
@ ./app/javascripts/app.js
@ multi (webpack)-dev-server/client?http://localhost:8080 @babel/polyfill ./app/javascripts/app.jsERROR in ./app/javascripts/components/application/token/index.jsx
Module not found: Error: Can't resolve './app/javascripts/services/nfToken-type-image-url' in 'C:\Users\zfore\Documents\github\etherplate\app\javascripts\components\application\token'
@ ./app/javascripts/components/application/token/index.jsx 24:50-110
@ ./app/javascripts/components/application/index.jsx
@ ./app/javascripts/init.jsx
@ ./app/javascripts/app.js
@ multi (webpack)-dev-server/client?http://localhost:8080 @babel/polyfill ./app/javascripts/app.jsERROR in ./app/javascripts/components/application/token-list/token-list-item.jsx
Module not found: Error: Can't resolve './app/javascripts/services/nfToken-type-image-url' in 'C:\Users\zfore\Documents\github\etherplate\app\javascripts\components\application\token-list'
@ ./app/javascripts/components/application/token-list/token-list-item.jsx 18:50-110
@ ./app/javascripts/components/application/token-list/index.jsx
@ ./app/javascripts/components/application/all-tokens.jsx
@ ./app/javascripts/components/application/index.jsx
@ ./app/javascripts/init.jsx
@ ./app/javascripts/app.js
@ multi (webpack)-dev-server/client?http://localhost:8080 @babel/polyfill ./app/javascripts/app.js
i 「wdm」: Failed to compile.
Race condition: Sometimes we do not have the list of accounts from MetaMask on time when page loads.
Add MetaMask checks inside a window.onload function. Alternatively, try to integrate EthLawyer to see if it would be a better fit for Etherplate.
window.onload = function() { // web3 check code go here }
The demo app at https://etherplate.netlify.app/
giving this error, even though I am on Ropsten network:
Hoo-ray! MetaMask is installed!
However, you need to unlock your account or create a new one. Click the Fox in the top-right corner of your browser, then refresh the page.
Hi,
I am new in solidity and I have checked and configure this repository in my local system but I want to know that when I create purchase or create new token, It will show token transfer from contract to my eth wallet but on
transaction it showing me as ERC20 NFT token so that is the confusion.
It is ERC20 NFT token or ERC721?
Thanks
sum@XPS15 ~/DEV $ mkdir VehicleLog
sum@XPS15 ~/DEV $ cd VehicleLog
sum@XPS15 ~/DEV/VehicleLog $ truffle unbox chuckbergeron/etherplate
Downloading...
Unpacking...
Setting up...
stuck ... nothing happening. any idea?
when running truffle compile
i get an error:
~/P/b/e/etherplate ❯❯❯ truffle compile master
/Users/brian/Public/blockchain/explorer/etherplate/node_modules/truffle-hdwallet-provider/node_modules/web3/lib/web3/errors.js:35
return new Error(message);
^
Error: Invalid JSON RPC response: ""
at Object.InvalidResponse (/Users/brian/Public/blockchain/explorer/etherplate/node_modules/truffle-hdwallet-provider/node_modules/web3/lib/web3/errors.js:35:16)
at XMLHttpRequest.request.onreadystatechange (/Users/brian/Public/blockchain/explorer/etherplate/node_modules/truffle-hdwallet-provider/node_modules/web3/lib/web3/httpprovider.js:115:32)
at XMLHttpRequestEventTarget.dispatchEvent (/Users/brian/Public/blockchain/explorer/etherplate/node_modules/xhr2/lib/xhr2.js:64:18)
at XMLHttpRequest._setReadyState (/Users/brian/Public/blockchain/explorer/etherplate/node_modules/xhr2/lib/xhr2.js:354:12)
at XMLHttpRequest._onHttpRequestError (/Users/brian/Public/blockchain/explorer/etherplate/node_modules/xhr2/lib/xhr2.js:544:12)
at ClientRequest.<anonymous> (/Users/brian/Public/blockchain/explorer/etherplate/node_modules/xhr2/lib/xhr2.js:414:24)
at emitOne (events.js:115:13)
at ClientRequest.emit (events.js:210:7)
at Socket.socketErrorListener (_http_client.js:401:9)
at emitOne (events.js:115:13)
do you know what's going wrong? thanks in advance for your help!
I've
[nft-test]$ truffle version
Truffle v4.1.13 (core: 4.1.13)
Solidity v0.4.24 (solc-js)
[nft-test]$ truffle unbox chuckbergeron/etherplate
Downloading...
Unpacking...
Setting up...
RangeError [ERR_CHILD_PROCESS_STDIO_MAXBUFFER]: stderr maxBuffer length exceeded
at Socket.onChildStderr (child_process.js:365:14)
at Socket.emit (events.js:189:13)
at addChunk (_stream_readable.js:288:12)
at readableAddChunk (_stream_readable.js:265:13)
at Socket.Readable.push (_stream_readable.js:224:10)
at Pipe.onStreamRead (internal/stream_base_commons.js:145:17)
Compilation warnings encountered:
zeppelin-solidity/contracts/token/ERC721/ERC721Token.sol:38:3: Warning: Defining constructors as functions with the same name as the contract is deprecated. Use "constructor(...) { ... }" instead.
function ERC721Token(string _name, string _symbol) public {
^ (Relevant source part starts here and spans across multiple lines).
I get this error when running truffle compile
Just wanted to document this, potentially I can create a PR for it soon.
Preface, I'm super new to react/redux so this might be very easy. When I run npm run dev
I get 50+ of these types of errors. Any ideas?
ERROR in ./app/javascripts/components/application/layout/header/index.jsx
Module not found: Error: Can't resolve './app/images/logos/etherplate-logo--white--lg.png' in 'C:\Users\github\etherplate\app\javascripts\components\application\layout\header'
@ ./app/javascripts/components/application/layout/header/index.jsx 16:52-112
@ ./app/javascripts/components/application/index.jsx
@ ./app/javascripts/init.jsx
@ ./app/javascripts/app.js
@ multi (webpack)-dev-server/client?http://localhost:8080 @babel/polyfill ./app/javascripts/app.jsERROR in ./app/javascripts/components/application/token-list/token-list-item.jsx
Module not found: Error: Can't resolve './app/images/placeholder.png' in 'C:\Users\github\etherplate\app\javascripts\components\application\token-list'
@ ./app/javascripts/components/application/token-list/token-list-item.jsx 22:42-81
@ ./app/javascripts/components/application/token-list/index.jsx
@ ./app/javascripts/components/application/all-tokens.jsx
@ ./app/javascripts/components/application/index.jsx
@ ./app/javascripts/init.jsx
@ ./app/javascripts/app.js
@ multi (webpack)-dev-server/client?http://localhost:8080 @babel/polyfill ./app/javascripts/app.jsERROR in ./app/javascripts/components/application/token/index.jsx
Module not found: Error: Can't resolve './app/javascripts/components/EtherscanButton' in 'C:\Users\github\etherplate\app\javascripts\components\application\token'
@ ./app/javascripts/components/application/token/index.jsx 22:46-101
@ ./app/javascripts/components/application/index.jsx
@ ./app/javascripts/init.jsx
@ ./app/javascripts/app.js
@ multi (webpack)-dev-server/client?http://localhost:8080 @babel/polyfill ./app/javascripts/app.js
Hi checked out the code and updated to "@openzeppelin/contracts": "^2.5.0",
I get the below compilation error
/etherplate/contracts/NFToken.sol:47:21: DeclarationError: Undeclared identifier.
uint256 index = allTokens.length + 1;
^-------^
/etherplate/contracts/NFToken.sol:68:12: DeclarationError: Undeclared identifier.
return ownedTokens[msg.sender];
^---------^
Compilation failed. See above.
Truffle v5.1.35 (core: 5.1.35)
Node v8.11.3
Probably in relation to the require()
validation in the Solidity buyToken()
function (counting bytes). Have also seen it fail with letters even though I had entered 8 letters.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.