snobu / destreamer

Save Microsoft Stream videos for offline enjoyment.
MIT License
2.36k stars 441 forks source link

destreamer -- error message #306

Closed ggiuliz closed 3 years ago

ggiuliz commented 3 years ago

./destreamer -i url error message returned:

Error: Failed to launch the browser process! spawn /Users/giuliz/destreamer/node_modules/puppeteer/.local-chromium/mac-722234/chrome-mac/Chromium.app/Contents/MacOS/Chromium ENOENT

.......could you advice me?

lukaarma commented 3 years ago

did you run npm i; npm run build before launching that command?

ggiuliz commented 3 years ago

Thanks for your answer

I did , I paste here the lines returned

giuliz@MacBook-Pro-di-Giuliana ~ % npm install -g npm npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/npm npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/npm/node_modules/ini npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/npm/node_modules/opener npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/npm/node_modules npm ERR! code EACCES npm ERR! syscall access npm ERR! path /usr/local/lib/node_modules/npm npm ERR! errno -13 npm ERR! Error: EACCES: permission denied, access '/usr/local/lib/node_modules/npm' npm ERR! [Error: EACCES: permission denied, access '/usr/local/lib/node_modules/npm'] { npm ERR! errno: -13, npm ERR! code: 'EACCES', npm ERR! syscall: 'access', npm ERR! path: '/usr/local/lib/node_modules/npm' npm ERR! } npm ERR! npm ERR! The operation was rejected by your operating system. npm ERR! It is likely you do not have the permissions to access this file as the current user npm ERR! npm ERR! If you believe this might be a permissions issue, please double-check the npm ERR! permissions of the file and its containing directories, or try running npm ERR! the command again as root/Administrator.

npm ERR! A complete log of this run can be found in: npm ERR! /Users/giuliz/.npm/_logs/2021-01-09T09_37_01_689Z-debug.log giuliz@MacBook-Pro-di-Giuliana ~ % npm build run npm ERR! code ENOENT npm ERR! syscall open npm ERR! path /Users/giuliz/run/package.json npm ERR! errno -2 npm ERR! enoent ENOENT: no such file or directory, open '/Users/giuliz/run/package.json' npm ERR! enoent This is related to npm not being able to find a file. npm ERR! enoent

npm ERR! A complete log of this run can be found in: npm ERR! /Users/giuliz/.npm/_logs/2021-01-09T09_37_14_334Z-debug.log

So, Then

giuliz@MacBook-Pro-di-Giuliana ~ % ./destreamer -i https://web.microsoftstream.com/video/51bb7f38-c21c-4652-8b01-95310f8c9472 zsh: permission denied: ./destreamer giuliz@MacBook-Pro-di-Giuliana ~ %

(Iā€™m running the commands as root/administrator, there are no other users accounts on my Mac )

Thanks!!

On 8 Jan 2021, at 16:14, lukaarma notifications@github.com wrote:

did you run npm i; npm run build before launching that command?

ā€” You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/snobu/destreamer/issues/306#issuecomment-756808028, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASLHEALLCLVU2ND2NQM622TSY4ONZANCNFSM4VVT33HA.

snobu commented 3 years ago
sudo npm i -g npm
npm install
npm run build

Try that. Note the sudo.

ggiuliz commented 3 years ago

Thanks!!!

So now it returns this:

zsh: permission denied: ./destreamer

(Iā€™m logged in on teams, stream opened in safari and in chromium)

šŸ™

On 9 Jan 2021, at 14:37, Adrian Calinescu notifications@github.com wrote:

sudo npm i -g npm npm install npm build Try that. Note the sudo.

ā€” You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/snobu/destreamer/issues/306#issuecomment-757196879, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASLHEAIJQYE5GF5Y5BPR6KDSZBLYFANCNFSM4VVT33HA.

snobu commented 3 years ago

Do a

chmod +x ./destreamer.sh

You should run destreamer.sh on Mac/Linux.

ggiuliz commented 3 years ago

Thanks

Same message

zsh: permission denied: ./destreamer

On 11 Jan 2021, at 21:35, Adrian Calinescu notifications@github.com wrote:

Do a

chmod +x ./destreamer

ā€” You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/snobu/destreamer/issues/306#issuecomment-758206944, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASLHEAPMR56QF34V7PQ3A43SZNOIHANCNFSM4VVT33HA.

snobu commented 3 years ago

It should be destreamer.sh, not sure what you're trying to execute, please look at the README carefully.

ggiuliz commented 3 years ago

Ok, thanks for your help

On 11 Jan 2021, at 23:04, Adrian Calinescu notifications@github.com wrote:

It should be destreamer.sh, not sure what you're trying to execute, please look at the README carefully.

ā€” You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/snobu/destreamer/issues/306#issuecomment-758253665, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASLHEAINTBNWNNMI437OYPDSZNYWLANCNFSM4VVT33HA.