☼☼☼☼☼☼ 大佬有话说 :
npm项目,大佬看看有没有本事本地化的
https://www.lanzous.com/ibydejg
解压后根目录运行npx now可以直接部署在vercel上
但,我现在想在本地运行,本地是宝塔环境,大致看了下需要安装chronium等内容,比较复杂,我这边运行各种报错
npm install
npm WARN checkPermissions Missing write access to /webshot/node_modules/balanced-match
npm WARN checkPermissions Missing write access to /webshot/node_modules/concat-map
npm WARN checkPermissions Missing write access to /webshot/node_modules/brace-expansion
npm WARN checkPermissions Missing write access to /webshot/node_modules/debug/node_modules/ms
npm WARN checkPermissions Missing write access to /webshot/node_modules/pend
npm WARN checkPermissions Missing write access to /webshot/node_modules/wrappy
npm WARN checkPermissions Missing write access to /webshot/node_modules/puppeteer
npm WARN checkPermissions Missing write access to /webshot/node_modules/debug/node_modules
npm WARN [email protected] No repository field.
npm ERR! path /webshot/node_modules/balanced-match
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall access
npm ERR! enoent ENOENT: no such file or directory, access ‘/webshot/node_modules/balanced-match’
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! /root/.npm/_logs/2020-04-26T08_48_19_232Z-debug.log
☼☼☼☼☼☼ 大佬有话说 :
ddd
chuen05 大佬有话说 :
这个我之前公司项目,前端要用这个打包,貌似要装一下环境。
MoeWang 大佬有话说 :
这是个干啥的程序