Closed carlchan0514 closed 1 year ago
https://github.com/RussTedrake/htmlbook/blob/master/make_pdf.py is the entry point.
i got a error "sh: 1: node: not found"
after install node and npm,i got
puppeteer@19.2.2 postinstall /home/dongchen/learning/underactuated/node_modules/puppeteer node install.js
internal/modules/cjs/loader.js:638 throw err; ^
Error: Cannot find module 'puppeteer/internal/node/install.js'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
at Function.Module._load (internal/modules/cjs/loader.js:562:25)
at Module.require (internal/modules/cjs/loader.js:692:17)
at require (internal/modules/cjs/helpers.js:25:18)
at Object.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! puppeteer@19.2.2 postinstall: node install.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the puppeteer@19.2.2 postinstall 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! /home/dongchen/.npm/_logs/2022-11-04T11_10_47_404Z-debug.log
yes, you'll need to install node.js. i'm not officially supporting people running that file. (it would be work to support it correctly on different platforms, etc).
as the title