收藏
回答

使用exceljs报process is not defined错误是什么问题?

基础库3.7.4,开启了es6支持,报错信息如下

ReferenceError: process is not defined

    at Object.func (exceljs.nodejs.js:4)

    at __REQUIRE__ (index.js?t=wechat&s=1736485596079&v=ec31a55009c320977598627a4fb2d909:2)

    at index.js?t=wechat&s=1736485596079&v=ec31a55009c320977598627a4fb2d909:868

    at index.js?t=wechat&s=1736485596079&v=ec31a55009c320977598627a4fb2d909:868

    at WASubContext.js?t=wechat&s=1736485596079&v=3.7.4:1

    at _.runWith (WASubContext.js?t=wechat&s=1736485596079&v=3.7.4:1)

    at q (WASubContext.js?t=wechat&s=1736485596079&v=3.7.4:1)

    at n (WASubContext.js?t=wechat&s=1736485596079&v=3.7.4:1)

    at bi.test (index.js? [sm]:38)

    at Object.o.safeCallback (WASubContext.js?t=wechat&s=1736485596079&v=3.7.4:1)(env: Windows,mp,1.06.2412040; lib: 3.7.4)


我是真的服了,就想导出个excel数据,用了三个库,xlsx、node-xlsx报缺少stream.js错误,这个库又报这种错误,服气了

回答关注问题邀请回答
收藏

2 个回答

  • Mr.Zhao
    Mr.Zhao
    2025-01-10

    有啥服气的,这就不是小程序SDK

    2025-01-10
    有用
    回复 5
  • 智能回答 智能回答 该问答由AI生成
    2025-01-10
    有用
登录 后发表内容