@Boba-Kush
Thanks for reaching out!
I can suggest you some of the most easy to understand node.js tutorials for windows
check out the link: https://www.youtube.com/watch?v=U8XF6AFGqlc
@Boba-Kush
Thanks for reaching out!
I can suggest you some of the most easy to understand node.js tutorials for windows
check out the link: https://www.youtube.com/watch?v=U8XF6AFGqlc
Sweet, thanks Taha!!
@ filip, Filip do you have any tip when receiving this error C:\Users\Chann\Documents\ethereum-course-advanced\Helloworld> truffle init
ā Preparing to download
DownloadingError: write EPROTO 6036:error:1408F10B:SSL routines:ssl3_get_record:wrong version number:c:\ws\deps\openssl\openssl\ssl\record\ssl3_record.c:332:
at WriteWrap.onWriteComplete [as oncomplete] (internal/stream_base_commons.js:92:16)
C:\Users\Chann\Documents\ethereum-course-advanced\Helloworld>
@Boba-Kush
A Github subdomainās SSL for downloading the Truffle boxes from Github repos as ZIPs is broke.
Workaround: Simply run,
git clone https://github.com/trufflesuite/truffle-init-default
to get the default init box. You can then delete the .git folder if you so wish to start from scratch.
source: https://github.com/trufflesuite/truffle/issues/2966#issuecomment-643581713
For me, when running ganache 2.1.2 for the first time (on pressing quickstart button), got error:
Hardfork muirGlacier not set as supported in supportedHardforks...
solved it by installing ganache version 2.4.0, as suggested here https://github.com/trufflesuite/ganache/issues/1780#issuecomment-630175407
Thanks for the help. I just figured I would give it another shot and it worked! lol
Hi, Iām having some errors when I try to install truffle and when try to deploy the Helloworld contract.
Check the images below. Can someone help to solve this issues?
Hi @lfsvamaral ,
Thanks for reaching out!
First pic does not have any error, so its fine
Remember warnings are not errors.
The error says that your Helloworld
const is not defined that is either the name of the file is not matching as Helloworld
or you have not defined it properly in your 2_Helloworld_deploy.js file
Thank you @Taha.
Iāve already fixed the point 2., I didnāt change the const name to Helloworld on the migrations file.
Regarding the first point, what that warnings mean?
I have another problem now with Windows PowerShell ISE. See below.
When I try to run the script ātruffle consoleā it gets stucked and doesnāt go forward. Iāve also tried to run npm init and didnāt work also.
Hi @lfsvamaral
No worries, which version of node.js you are using?
for Node version:
node -v
It should be below 10 version for truffle to work properly.
Also check whether Ganache is running.
If the above two point doesnāt help:
Try to uninstall and re-install truffle.
and try truffle console
in another folder.
P.S.: the point here is the shell is not displaying any error message hence I am not sure what could be going wrong.
@lfsvamaral
The warning says that truffle no longer support mkdirp
commands.
Hope that answers the question.
I was running the latest version o node.js. Already installed the v9.9.0.
Ganache was also running. Shell is not displaying any error but it simply freezes and donāt show anything, i have to stop the script.
Now I canāt uninstall truffleā¦
Iāve tried now with the PowerShell console instead of the PowerShell ISE and i was able to run the truffle console.
same hereā¦cant start the course
@filip Hello, Iām a little confused about how Truffle works. Why do we have solidity files and javascript files in a project?
Thanks
@lfsvamaral
can you run this command:
node -v
and send screenshot.
I would like to know which version of node you are using.
The reason you are not able to uninstall truffle is because npm is not giving you permission
@filip @Taha Hello Iām confused with solidity version. Filip asked to use 0.5.12 so I put
pragma solidity 0.5.12;
then uncommented version: "0.5.12
", in truffle-config.js
truffle version
returns Solidity - 0.5.12 (solc-js)
in the project directory but If I change dir truffle version
returns Solidity v0.5.8 (solc-js)
The problem is I have error message
Source file requires different compiler version (current compiler is 0.7.0+commit.9e61f92b.Emscripten.clang) - note that nightly builds are considered to be strictly less than the released version
I understand that 0.7 is the latest version of Solidity
What should I do?
Thanks