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
Unexpected token {
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! epg@ grab: npx tsx scripts/commands/epg/grab.ts
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the epg@ grab script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2025-02-19T04_21_44_161Z-debug.log
0 info it worked if it ends with ok
1 verbose cli [ '/usr/bin/node', '/usr/bin/npm', 'run', 'grab', '---dstv.com' ]
2 info using [email protected]
3 info using [email protected]
4 verbose run-script [ 'pregrab', 'grab', 'postgrab' ]
5 info lifecycle epg@~pregrab: epg@
6 info lifecycle epg@~grab: epg@
7 verbose lifecycle epg@~grab: unsafe-perm in lifecycle true
8 verbose lifecycle epg@~grab: PATH: /usr/share/npm/node_modules/npm-lifecycle/node-gyp-bin:/home/epg/node_modules/.bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin
9 verbose lifecycle epg@~grab: CWD: /home/epg
10 silly lifecycle epg@~grab: Args: [ '-c', 'npx tsx scripts/commands/epg/grab.ts' ]
11 silly lifecycle epg@~grab: Returned: code: 1 signal: null
12 info lifecycle epg@~grab: Failed to exec grab script
13 verbose stack Error: epg@ grab: npx tsx scripts/commands/epg/grab.ts
13 verbose stack Exit status 1
13 verbose stack at EventEmitter. (/usr/share/npm/node_modules/npm-lifecycle/index.js:332:16)
13 verbose stack at EventEmitter.emit (events.js:198:13)
13 verbose stack at ChildProcess. (/usr/share/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
13 verbose stack at ChildProcess.emit (events.js:198:13)
13 verbose stack at maybeClose (internal/child_process.js:982:16)
13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
14 verbose pkgid epg@
15 verbose cwd /home/epg
16 verbose Linux 5.4.0-205-generic
17 verbose argv "/usr/bin/node" "/usr/bin/npm" "run" "grab" "---dstv.com"
18 verbose node v10.19.0
19 verbose npm v6.14.4
20 error code ELIFECYCLE
21 error errno 1
22 error epg@ grab: npx tsx scripts/commands/epg/grab.ts
22 error Exit status 1
23 error Failed at the epg@ grab script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 1, true ]
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Getting multiple errors after installing npm Ubuntu 22.04.5 LTS
First error:
@testserver:/home/epg$ sudo npm run grab ---dstv.com
Unexpected token {
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! epg@ grab:
npx tsx scripts/commands/epg/grab.ts
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the epg@ grab script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2025-02-19T04_21_44_161Z-debug.log
0 info it worked if it ends with ok
1 verbose cli [ '/usr/bin/node', '/usr/bin/npm', 'run', 'grab', '---dstv.com' ]
2 info using [email protected]
3 info using [email protected]
4 verbose run-script [ 'pregrab', 'grab', 'postgrab' ]
5 info lifecycle epg@~pregrab: epg@
6 info lifecycle epg@~grab: epg@
7 verbose lifecycle epg@~grab: unsafe-perm in lifecycle true
8 verbose lifecycle epg@~grab: PATH: /usr/share/npm/node_modules/npm-lifecycle/node-gyp-bin:/home/epg/node_modules/.bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin
9 verbose lifecycle epg@~grab: CWD: /home/epg
10 silly lifecycle epg@~grab: Args: [ '-c', 'npx tsx scripts/commands/epg/grab.ts' ]
11 silly lifecycle epg@~grab: Returned: code: 1 signal: null
12 info lifecycle epg@~grab: Failed to exec grab script
13 verbose stack Error: epg@ grab:
npx tsx scripts/commands/epg/grab.ts
13 verbose stack Exit status 1
13 verbose stack at EventEmitter. (/usr/share/npm/node_modules/npm-lifecycle/index.js:332:16)
13 verbose stack at EventEmitter.emit (events.js:198:13)
13 verbose stack at ChildProcess. (/usr/share/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
13 verbose stack at ChildProcess.emit (events.js:198:13)
13 verbose stack at maybeClose (internal/child_process.js:982:16)
13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
14 verbose pkgid epg@
15 verbose cwd /home/epg
16 verbose Linux 5.4.0-205-generic
17 verbose argv "/usr/bin/node" "/usr/bin/npm" "run" "grab" "---dstv.com"
18 verbose node v10.19.0
19 verbose npm v6.14.4
20 error code ELIFECYCLE
21 error errno 1
22 error epg@ grab:
npx tsx scripts/commands/epg/grab.ts
22 error Exit status 1
23 error Failed at the epg@ grab script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 1, true ]
Beta Was this translation helpful? Give feedback.
All reactions