Closed nickyg543 closed 1 year ago
Update: got packages figured out with new error
Failed to launch the browser process! spawn chrome ENOENT
TROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md
I'm not sure where to put this chunk of javascript code
Did you set your chrome path in singlefile.py?
BTW there is a typo in singlefile.py which may give you trouble; I am putting together a PR right now to fix that
I did. It reads:
"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe"
For now I will leave the cookies field entry and skip all html-download business.
Hi @nickyg543, I'm going to close this but let me know if you still have this issue.
Error after running export.py:
Getting list of all courses
Downloading course list page node:internal/modules/cjs/loader:936 throw err; ^
Error: Cannot find module 'C:\Users\Nick\ALLCOURSES\node_modules\single-file\cli\single-file' at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15) at Function.Module._load (node:internal/modules/cjs/loader:778:27) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12) at node:internal/main/run_main_module:17:47 { code: 'MODULE_NOT_FOUND', requireStack: [] }
Having a hard time interpreting this. I have all the packages installed.