We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello,
I am trying to understand why i am getting the errors
/Users/bipulmainali/stocks/stocks.js:37 process.stdout.write(\x1b[37m${quote.price.toFixed(2)}${randchars[Math.floor(Math.random() * 10)]}`); ^
/Users/bipulmainali/stocks/stocks.js:37 process.stdout.write(
TypeError: Cannot read properties of undefined (reading 'toFixed') at Timeout.grab [as _onTimeout] (/Users/bipulmainali/stocks/stocks.js:37:49) at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
Node.js v20.0.0`
my ticker list is :
module.exports = [ 'BSX', 'EW', 'ABT', 'ISRG', 'MRNA', 'AMGN', 'LLY', 'NVO', 'PFE', 'MORF', 'PRTA', 'JNJ', 'MDT', 'SYK', 'BMY', 'GILD', 'VRTX', 'REGN', 'BIIB', 'TMO', 'ALGN', 'ILMN', 'ZBH', 'INCY', 'ALXN', 'DXCM', 'HOLX', 'RMD', 'VAR', 'EDIT', 'NTLA', 'BEAM', 'BLUE', 'IOVA', 'ARVN', 'SGMO', 'MRTX', 'SRNE', 'ATRA', 'ARWR', 'AKBA', 'FGEN', 'RVNC' ]
The text was updated successfully, but these errors were encountered:
@martinshkreli
Sorry, something went wrong.
@SinbadSails Try using node 18, that's what was available when this repo was made
No branches or pull requests
Hello,
I am trying to understand why i am getting the errors
/Users/bipulmainali/stocks/stocks.js:37 process.stdout.write(
\x1b[37m${quote.price.toFixed(2)}${randchars[Math.floor(Math.random() * 10)]}`);^
TypeError: Cannot read properties of undefined (reading 'toFixed')
at Timeout.grab [as _onTimeout] (/Users/bipulmainali/stocks/stocks.js:37:49)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
Node.js v20.0.0`
my ticker list is :
module.exports = [ 'BSX', 'EW', 'ABT', 'ISRG', 'MRNA', 'AMGN', 'LLY', 'NVO', 'PFE', 'MORF', 'PRTA', 'JNJ', 'MDT', 'SYK', 'BMY', 'GILD', 'VRTX', 'REGN', 'BIIB', 'TMO', 'ALGN', 'ILMN', 'ZBH', 'INCY', 'ALXN', 'DXCM', 'HOLX', 'RMD', 'VAR', 'EDIT', 'NTLA', 'BEAM', 'BLUE', 'IOVA', 'ARVN', 'SGMO', 'MRTX', 'SRNE', 'ATRA', 'ARWR', 'AKBA', 'FGEN', 'RVNC' ]
The text was updated successfully, but these errors were encountered: