Skip to content
New issue

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

Updated to 2.0, and "npm run start:dev" stopped working; "npm run start" works. #691

Closed
TunaErtemalp opened this issue Nov 5, 2020 · 5 comments
Assignees

Comments

@TunaErtemalp
Copy link

Installed latest Node.js 15.1.0, and updated git to latest (version 2.29.2.windows.2).

Then, cloned the project, copied my previous .env, installed, and ran it with start. Then I CTRL+C'd to try start:dev.

First, what is the error about Zotac??? I have no Zotac in my .env:

EMAIL_USERNAME="***@***.com"
EMAIL_TO="***@***.com"
EMAIL_PASSWORD="***"
IN_STOCK_WAIT_TIME="5"
PAGE_SLEEP_MIN="60000"
PHONE_NUMBER="**********"
PHONE_CARRIER="att"
SCREENSHOT="true"
SHOW_ONLY_BRANDS="evga"
SHOW_ONLY_MODELS="ftw3 ultra"
SHOW_ONLY_SERIES="3080,3090"
STORES="adorama,amazon,bandh,bestbuy,evga,gamestop,newegg,officedepot"
USER_AGENT="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.121 Safari/537.36"

Second, start works but start:dev reports that app crashed, then gets into wait mode.

C:\Users\Master>cd GIT\streetmerchant

C:\Users\Master\GIT\streetmerchant>npm run start

> start
> npm run build && node build/index.js


> build
> tsc

STREETMERCHANT
2.0.0

[1:11:13 PM] warn :: evga is deprecated since they only support queuing
[1:11:13 PM] info :: ℹ selected stores: adorama, amazon, bandh, bestbuy, evga, gamestop, newegg, officedepot
[1:11:13 PM] info :: ℹ selected brands: evga
[1:11:13 PM] info :: ℹ selected models: ftw3 ultra
[1:11:13 PM] info :: ℹ selected series: 3080, 3090
[1:12:18 PM] error :: Failed to parse card: Zotac ZT-A30800J-10P graphics card NVIDIA GeForce RTX 3080 10 GB GDDR6X ZT-A30800J-10P, GeForce RTX 3080, 10 GB, GDDR6X, 320 bit, 7680 x 4320 pixels, PCI Express x16 4.0
[1:12:21 PM] info :: ✖ [adorama] [evga (3080)] ftw3 ultra :: OUT OF STOCK
[1:12:21 PM] info :: ✖ [amazon] [evga (3080)] ftw3 ultra :: OUT OF STOCK
[1:12:22 PM] info :: ✖ [newegg] [evga (3080)] ftw3 ultra :: OUT OF STOCK
[1:12:22 PM] info :: ✖ [bestbuy] [evga (3080)] ftw3 ultra :: OUT OF STOCK
[1:12:26 PM] info :: ✖ [newegg] [evga (3090)] ftw3 ultra :: OUT OF STOCK
[1:12:27 PM] info :: ✖ [bestbuy] [evga (3090)] ftw3 ultra :: OUT OF STOCK
[1:12:45 PM] error :: ✖ [evga] evga 3080 ftw3 ultra - Navigation timeout of 30000 ms exceeded
...I CTRL-C'd here...
Terminate batch job (Y/N)? y

C:\Users\Master\GIT\streetmerchant>npm run start:dev

> start:dev
> nodemon --config nodemon.json

[nodemon] 2.0.6
[nodemon] to restart at any time, enter `rs`
[nodemon] watching path(s): src\**\* .env
[nodemon] watching extensions: ts
[nodemon] starting `ts-node --files ./src/index`
'ts-node' is not recognized as an internal or external command,
operable program or batch file.
[nodemon] app crashed - waiting for file changes before starting...
@TunaErtemalp
Copy link
Author

Just now I got another error line, checking a store in UK, which I don't have in my .env:

[1:36:46 PM] error :: net::ERR_CONNECTION_RESET at https://www.currys.co.uk/gbuk/rtx-3090/components-upgrades/graphics-cards/324_3091_30343_xx_ba00013562-bv00313725/xx-criteria.html

@jef
Copy link
Owner

jef commented Nov 5, 2020

First, what is the error about Zotac??? I have no Zotac in my .env:

Just now I got another error line, checking a store in UK, which I don't have in my .env:

[1:36:46 PM] error :: net::ERR_CONNECTION_RESET at https://www.currys.co.uk/gbuk/rtx-3090/components-upgrades/graphics-cards/324_3091_30343_xx_ba00013562-bv00313725/xx-criteria.html

This is a regression before the name change; unfortunately. It's something I've noted in other issues, but

haven't fixed yet 😢

Unfortunately, I can't duplicate:

❯ npm run start:dev

> streetmerchant@ start:dev /Users/jef.lecompte/development/streetmerchant
> nodemon --config nodemon.json

[nodemon] 2.0.6
[nodemon] to restart at any time, enter `rs`
[nodemon] watching path(s): src/**/* .env
[nodemon] watching extensions: ts
[nodemon] starting `ts-node --files ./src/index`
STREETMERCHANT
2.0.0

[4:54:42 PM] info :: ℹ selected stores: amazon, bandh, bestbuy, gamestop, newegg, pny, zotac
[4:54:42 PM] info :: ℹ selected series: 3070, 3080, 3090
[4:54:42 PM] info :: ✔ sound player found: afplay
[4:54:52 PM] error :: Failed to parse card: PNY GeForce RTX 3070 8GB Dual Fan Ampere Graphics Card
[4:54:56 PM] error :: Failed to parse card: Zotac ZT-A30800J-10P graphics card NVIDIA GeForce RTX 3080 10 GB GDDR6X ZT-A30800J-10P, GeForce RTX 3080, 10 GB, GDDR6X, 320 bit, 7680 x 4320 pixels, PCI Express x16 4.0
[4:54:57 PM] warn :: ✖ [zotac] [zotac (3080)] trinity :: STATUS CODE ERROR 503
[4:55:00 PM] info :: ✖ [bandh] [gigabyte (3080)] gaming oc :: OUT OF STOCK
[4:55:01 PM] info :: ✖ [amazon] [pny (3080)] xlr8 :: OUT OF STOCK
[4:55:01 PM] info :: ✖ [gamestop] [asus (3080)] tuf oc :: OUT OF STOCK
[4:55:01 PM] info :: ✖ [pny] [pny (3070)] dual fan :: OUT OF STOCK
[4:55:03 PM] info :: ✖ [newegg] [asus (3080)] tuf :: OUT OF STOCK
[4:55:04 PM] info :: ✖ [bestbuy] [nvidia (3070)] founders edition :: OUT OF STOCK
[4:55:04 PM] info :: ✖ [bandh] [zotac (3080)] trinity :: OUT OF STOCK
[4:55:05 PM] info :: ✖ [pny] [pny (3070)] xlr8 rgb :: OUT OF STOCK

It looks like

@TunaErtemalp
Copy link
Author

Using Node.js 15.1.0?

@jef
Copy link
Owner

jef commented Nov 5, 2020

Using Node.js 15.1.0?

I was using 15.0.1, but I just updated and it still worked.

@jef
Copy link
Owner

jef commented Nov 5, 2020

Alright, I recloned and I am also getting the results you are. I will fix.

@jef jef closed this as completed in 2955ea7 Nov 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants