You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(node:10104) ExperimentalWarning: --experimental-loader may be removed in the future; instead use register():
--import 'data:text/javascript,import { register } from "node:module"; import { pathToFileURL } from "node:url"; register("file%3A///C%3A/Tools/npm/epg/node_modules/tsx/dist/loader.mjs", pathToFileURL("./"));'
(Use node --trace-warnings ... to show where the warning was created)
C:\Tools\npm\epg\sites\ontvtonight.com\ontvtonight.com.config.js:137
const [, number, slug] = url.match(//(\d+)/(.*).html$/)
^
TypeError: Cannot read properties of undefined (reading 'match')
at Element2. (C:\Tools\npm\epg\sites\ontvtonight.com\ontvtonight.com.config.js:137:42)
at LoadedCheerio2.each (C:\Tools\npm\epg\node_modules\cheerio\lib\api\traversing.js:519:26)
at Object.channels (C:\Tools\npm\epg\sites\ontvtonight.com\ontvtonight.com.config.js:133:29)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at main (C:\Tools\npm\epg\scripts\commands\channels\parse.ts:50:22)
The text was updated successfully, but these errors were encountered:
Site
ontvtonight.com
Description
I'm trying to update the channel list and coming up with the following error:
PS C:\Tools\npm\epg> npm run channels:parse -- --config=./sites/ontvtonight.com/ontvtonight.com.config.js --output=./sites/ontvtonight.com/ontvtonight.com_us.channels.xml --set=country:us
(node:10104) ExperimentalWarning:
--experimental-loader
may be removed in the future; instead useregister()
:--import 'data:text/javascript,import { register } from "node:module"; import { pathToFileURL } from "node:url"; register("file%3A///C%3A/Tools/npm/epg/node_modules/tsx/dist/loader.mjs", pathToFileURL("./"));'
(Use
node --trace-warnings ...
to show where the warning was created)C:\Tools\npm\epg\sites\ontvtonight.com\ontvtonight.com.config.js:137
const [, number, slug] = url.match(//(\d+)/(.*).html$/)
^
TypeError: Cannot read properties of undefined (reading 'match')
at Element2. (C:\Tools\npm\epg\sites\ontvtonight.com\ontvtonight.com.config.js:137:42)
at LoadedCheerio2.each (C:\Tools\npm\epg\node_modules\cheerio\lib\api\traversing.js:519:26)
at Object.channels (C:\Tools\npm\epg\sites\ontvtonight.com\ontvtonight.com.config.js:133:29)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at main (C:\Tools\npm\epg\scripts\commands\channels\parse.ts:50:22)
The text was updated successfully, but these errors were encountered: