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

Await Error while Installing #12

Open
pranikz opened this issue Dec 4, 2022 · 3 comments
Open

Await Error while Installing #12

pranikz opened this issue Dec 4, 2022 · 3 comments

Comments

@pranikz
Copy link

pranikz commented Dec 4, 2022

While installing it shows this error

file:///home/pratyushmahapatra/.npm/_npx/97659feec7ea1822/node_modules/fem-dl/src/index.js:32
} = await prompts([{
    ^^^^^

SyntaxError: Unexpected reserved word
    at Loader.moduleStrategy (internal/modules/esm/translators.js:133:18)
    at async link (internal/modules/esm/module_job.js:42:21)
@abdulrahman1s
Copy link
Owner

Make sure having nodejs v16 or newer on your device.

@pranikz
Copy link
Author

pranikz commented Dec 4, 2022

This is what I am facing and still not able to download
node is the newest

⠸ [0%] Downloading 1. Introduction (Intermediate)/1. Introduction.mkv | Size: 0K⠼ [0%] Downloading 1. Introduction (Intermediate)/1. Introduction.mkv | Size: 0KB | Remaining: 1/47node:internal/errors:484
    ErrorCaptureStackTrace(err);
    ^

Error: spawn /home/pratyushmahapatra/node_modules/ffmpeg-static/ffmpeg EACCES
    at ChildProcess._handle.onexit (node:internal/child_process:285:19)
    at onErrorNT (node:internal/child_process:483:16)
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
  errno: -13,
  code: 'EACCES',
  syscall: 'spawn /home/pratyushmahapatra/node_modules/ffmpeg-static/ffmpeg',
  path: '/home/pratyushmahapatra/node_modules/ffmpeg-static/ffmpeg',
  spawnargs: [
    '-y',
    '-headers',
    'User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/106.0.0.0 Safari/537.36\r\n' +
      'Origin: https://frontendmasters.com\r\n' +
      'Referer: https://frontendmasters.com/\r\n' +
      'Cookie: CloudFront-Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6Ly9zdHJlYW0uZnJvbnRlbmRtYXN0ZXJzLmNvbS8yMDIyLzA0LzE0L01vTHJDRXBFdWgvKiIsIkNvbmRpdGlvbiI6eyJEYXRlTGVzc1RoYW4iOnsiQVdTOkVwb2NoVGltZSI6MTY4NjAwOTU5OX19fV19; CloudFront-Signature=HY~SaSdWCOOYsrhewA9whgMewww-hjlabSr-G6-ehB25DYnfRsCHJyX2CpRjygL6v7yqcJAqOZ4dsDTfVeJD8RuenCg~pEiJZIUnKO3Ehssw5pPX7miyDpVrs9A8IVomgIj1Ax-H3BBxJ8IIt6OhNrnOED6dG5EXg3uuoAZsn4AnZQn6TMspujoKlasPgpNwSDS3fQp0kHcNCsAgdp7vjLj7eO-flnRTy1qLoXAETD63LAjn2deGKjsW1FB43y68C1NeoYMJYJM13oDgmoo8ZumVJxjx1n~GWLv9~RX8syZ18iyPXCO3Ff~tXyqbnAOF7qsOG~aojhSrRwKONrirZQ__; CloudFront-Key-Pair-Id=APKAJWB4SBTOPQN6G6BQ; fem_auth_mod=69cc6cf0-a7b1-456a-90a6-82856b7e88e7\r\n',
    '-i',
    'https://stream.frontendmasters.com/2022/04/14/MoLrCEpEuh/qQTKitiVAv/index_720_Q8_5mbps.m3u8',
    '-map',
    '0',
    '-c',
    'copy',
    '/home/pratyushmahapatra/Downloads/Intermediate React, v4/1. Introduction (Intermediate)/Introduction.tmp.mkv'
  ]
}

Node.js v19.2.0

@shrosterneduryden
Copy link

I used node 16.15.1 — works no problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants