snobu / destreamer

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

Cannot find module '/node_modules/image-q/dist/iq.js' #318

Open andybegh opened 3 years ago

andybegh commented 3 years ago

OS: MacOS Big Sur 11.1

Hello Everyone, I tried to install Destreamer V. 3.0 on my MacBook Pro, but when I try to download something I got this error

node:internal/modules/cjs/loader:352 throw err; ^

Error: Cannot find module '/Users/andybegh/aria2/node_modules/image-q/dist/iq.js'. Please verify that the package.json has a valid "main" entry at tryPackage (node:internal/modules/cjs/loader:344:19) at Function.Module._findPath (node:internal/modules/cjs/loader:557:18) at Function.Module._resolveFilename (node:internal/modules/cjs/loader:911:27) at Function.Module._load (node:internal/modules/cjs/loader:769:27) at Module.require (node:internal/modules/cjs/loader:997:19) at require (node:internal/modules/cjs/helpers:92:18) at Object. (/Users/andybegh/aria2/node_modules/gifwrap/src/gifutil.js:6:16) at Module._compile (node:internal/modules/cjs/loader:1108:14) at Object.Module._extensions..js (node:internal/modules/cjs/loader:1137:10) at Module.load (node:internal/modules/cjs/loader:973:32) { code: 'MODULE_NOT_FOUND', path: '/Users/andybegh/aria2/node_modules/image-q/package.json', requestPath: 'image-q' }

What do I have to do in order to use it? Thanks a lot guys

lukaarma commented 3 years ago

did you run npm i; npm run build ?

andybegh commented 3 years ago

did you run npm i; npm run build ?

Yes i did

lukaarma commented 3 years ago

Just to be clear with 3.0 did you mean the aria2c branch?

@snobu you have a Mac right? Could you please clone and build the aria2 branch and see if you can reproduce this?

andybegh commented 3 years ago

@lukaarma exactly, I've a MBP 16inc 2019