Hey @Leedecker425, hope you are well.
Could you please provide an screenshot about your issue? Which is the process that you are following to use npm?
Carlos Z
Hey @Leedecker425, hope you are well.
Could you please provide an screenshot about your issue? Which is the process that you are following to use npm?
Carlos Z
@thecil, I am getting the same type of error. If i understand correctly, you suggested to remove this line from the code:
global.fetch = require('node-fetch');
removing this line i get
referenceerror: fetch is not defined.
Didnt attach snapshots because its pretty similar to @Riki 's error messages
// Hello bot-mongers
Iām stuck at the āyarn add gemini-apiā step in powershell.
all the steps in the āGemini Yarn Installā video worked fine up to this point.
Further more, I am unable to find the webpage Ivan uses to copy āyarn add gemini-apiā from.
edit: resolved. If u encounter this prob too, check out reply #77 in this thread.
ok, this helped out! thx CryptoKomuna!
// Hello bot-wranglers
@lordkalvin back at it again in need of MORE tech support lol.
Iām 82% into the Algorithmic Trading & Tech Analysis class.
Iām on the " Using Gemini ā BUY ORDER " lesson.
Iāve followed instructions perfectly as far as I can tell, but Iāve run into an error when sending the buy order from powerShell:
āunhandledPromiseRejectionā
Iāve attached a screen shot including where Iām at in the video, as well as the code from my Atom n Powershell.
Thanks for your help.
Hey @lordkalvin, hope you are well.
please take a look to this reply which can be related to your issue, let me know if that solve the issue
Carlos Z
// Hey man, doin v well. thx so much!
Unfortunately, the linked reply dint seem to fix my issue:
package.json
file dint have a node-fetch
property, so I added it, then put the ā2.6.1.ānode_modules
folder, then entered npm install
into powershell.npm WARN
notification, which I ignored, n tried to run my node index.js
file againunhandledPromiseRejection
again, so Iām still stuck.package.json
also doesnāt have a cryptoCompare
property like in the linked reply. Iām totally stuck at this point.Willin to try anything to get past this point as Iām SO close to the end lol.
-thx so much.
edit: heres a pic of where I am
// Hey @thecil
I actually found a really simple fix! I just made a nu API key, but I made a āprimaryā instead of āmasterā! Iām on to next lesson FINALLY.
Iām not sure why the āmasterā one dint workā¦ but w/evs lol, TIME TO MOVE ON!!!
Hey @nev, could u post screenshots of what this looks like in ur atom? Iām stuck AGAIN, and I wanna try ur solution. thx so much
Thanks for posting this. I was stuck and it worked for me too!
DOPE! can u post a screen shot of ur code that worked? I still havent gotten past this point. thx so much!
// SOLUTION!!
WE DID IT TEAM.
We finally UNSTUCK from the CryptoCompare Setup lecture.
if ur havin probs on this vid read the docs:
cryptocompare on github
npm install --save cryptocompare
node-fetch
.ānpm install node-fetch
Feel free to HMU if u need any help! Weāre a community, n helpin ea other is the ONLY way to make it thru this difficult, egghead ass programmin shit LMAO
Thanks! This helped me as well
did u ever solve this? Iām runnin into this exact prob now
agree! I feel like if this course is gonna continue to be offered, some updates r extremely nec. every single lecture has beena WRESTLIN MATCH lol
Unfortunately I was unable to solve the issue.
Hi! when I tried yarn add gemini-api, got this error message:
yarn : File C:\Users\ldvcn\AppData\Roaming\npm\yarn.ps1 cannot be loaded because running scripts is disabled on this sy
stem. For more information, see about_Execution_Policies at https:/go.microsoft.com/fwlink/?LinkID=135170.
At line:1 char:1
+ CategoryInfo : SecurityError: (:) [], PSSecurityException
+ FullyQualifiedErrorId : UnauthorizedAccess
Multiple timeā¦
What can I do? It is really necessary to change ExecutionPolicy on my Windows?
Thanks!
Its referred to a limitation on powershell to run scripts commands, you can try to use windows command prompt instead (CMD), it should not have any limitations.
Carlos Z
Thank you! In CMD is OK.