search

Home  >  Q&A  >  body text

webpack - node.js 运行报错

在mac下运行就没问题,再windows下面运行就报错。

PHP中文网PHP中文网2787 days ago394

reply all(3)I'll reply

  • 高洛峰

    高洛峰2017-04-17 16:18:28

    Does not support win platform

    reply
    0
  • 阿神

    阿神2017-04-17 16:18:28

    The error message states that win32 is not supported, try another one

    reply
    0
  • 高洛峰

    高洛峰2017-04-17 16:18:28

    You can copy it directly. . . . . . . . . . . . . .

    Delete node_modules and reinstall it. Some binary dependencies obviously cannot be used directly on Mac. node_modules 删掉重新装。有些二进制依赖,mac 上的显然不能直接那过来用。

    sleep

    The sleep module is not written in js, but in C. It will be recompiled during npm install. 🎜

    reply
    0
  • Cancelreply