Need some help #35
Unanswered
jaredrsommer
asked this question in
Q&A
Replies: 1 comment
-
Hi Jared, it's just simply '.env' no name. as for the module, if you have
nodejs installed it has a package manager called NPM. Since the module
coinbase-pro is missing you should be able to type `npm install
coinbase-pro` and it will install it for you. I believe you want to be in
a console inside of the project repository when you type the command as
well.
…On Wed, Aug 18, 2021 at 3:02 PM jaredrsommer ***@***.***> wrote:
I got this when trying to run the bot it appears it's missing something...
also does the .env file have a name? is it just simply .env?
New to the Raspberry pi and still getting my feet wet....
any help would be appreciated
thank you for your work
***@***.***:~/CoinbaseXLM $ node index.js
node:internal/modules/cjs/loader:936
throw err;
^
Error: Cannot find module 'coinbase-pro'
Require stack:
- /home/pi/CoinbaseXLM/strategies/momentumTrading/momentumTrading.js
- /home/pi/CoinbaseXLM/index.js
at Function.Module._resolveFilename
(node:internal/modules/cjs/loader:933:15)
at Function.Module._load (node:internal/modules/cjs/loader:778:27)
at Module.require (node:internal/modules/cjs/loader:1005:19)
at require (node:internal/modules/cjs/helpers:94:18)
at Object.
(/home/pi/CoinbaseXLM/strategies/momentumTrading/momentumTrading.js:1:21)
at Module._compile (node:internal/modules/cjs/loader:1101:14)
at Object.Module._extensions..js
(node:internal/modules/cjs/loader:1153:10)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:1005:19) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'/home/pi/CoinbaseXLM/strategies/momentumTrading/momentumTrading.js',
'/home/pi/CoinbaseXLM/index.js'
]
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#35>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKPWNIRSZCY44K33N4YKN6DT5QUXLANCNFSM5CM5WQQA>
.
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I got this when trying to run the bot it appears it's missing something... also does the .env file have a name? is it just simply .env?
New to the Raspberry pi and still getting my feet wet....
any help would be appreciated
thank you for your work
pi@raspberrypi:~/CoinbaseXLM $ node index.js
node:internal/modules/cjs/loader:936
throw err;
^
Error: Cannot find module 'coinbase-pro'
Require stack:
at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
at Function.Module._load (node:internal/modules/cjs/loader:778:27)
at Module.require (node:internal/modules/cjs/loader:1005:19)
at require (node:internal/modules/cjs/helpers:94:18)
at Object. (/home/pi/CoinbaseXLM/strategies/momentumTrading/momentumTrading.js:1:21)
at Module._compile (node:internal/modules/cjs/loader:1101:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:1005:19) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'/home/pi/CoinbaseXLM/strategies/momentumTrading/momentumTrading.js',
'/home/pi/CoinbaseXLM/index.js'
]
Beta Was this translation helpful? Give feedback.
All reactions