iptv-org / epg

Utilities for downloading the EPG (Electronic Program Guide) for thousands of TV channels from hundreds of sources.
https://iptv-org.github.io/
The Unlicense
1.77k stars 193 forks source link

nmp command gives error message #2094

Closed akdemiris closed 1 year ago

akdemiris commented 1 year ago

Gentlemen, I am not a programmer nor understand commands as well. In order to get the epg data I need I followed the instructions on my PC, installed the neccessary programs and run the commands as written, but I could not get what I want. The error message I get after the command: SITE=digiturk.com.tr npm run grab is as follows, please help, I do not know what I am doing wrong: akdem@smailey MINGW64 ~/epg (master) $ SITE=raiplay.it npm run grab

grab npx epg-grabber --config=sites/${SITE}/${SITE}.config.js --channels=sites/${SITE}/${SITE}.channels.xml --output=guides/{lang}/{site}.xml

Starting... Loading 'sites/${SITE}/${SITE}.config.js'... node:internal/modules/cjs/loader:1075 const err = new Error(message); ^

Error: Cannot find module 'C:\Users\akdem\epg\sites\${SITE}\${SITE}.config.js' Require stack:

Node.js v18.16.0

Dave1173 commented 1 year ago

Had the same issue on windows it seems to be a software issue if you have a Mac or a Linux setup it will run i been running it perfectly by running Linux as a second operating system

Gitbone94 commented 1 year ago

Same issue. I followed all the steps and when I got to SITE=example.com npm run grab (I chose a couple of site options) it fails to create a Guide directory. Tried to two different computers running Win 10.

BellezaEmporium commented 1 year ago

akdem@smailey MINGW64

Using Mingw, use "set SITE=insert site" before launching grab. From my understanding, it doesn't recognize the variable as being initiated.

Try this :

set SITE=raiplay.it && npm run grab
x011 commented 1 year ago

You're missing a slash on the path C:\Users\akdem\epg\sites[HERE]${SITE}${SITE}.config.js