在mac下运行就没问题,再windows下面运行就报错。
认证0级讲师
Does not support win platform
The error message states that win32 is not supported, try another one
You can copy it directly. . . . . . . . . . . . . .
Delete node_modules and reinstall it. Some binary dependencies obviously cannot be used directly on Mac. node_modules 删掉重新装。有些二进制依赖,mac 上的显然不能直接那过来用。
node_modules
sleep
Does not support win platform
The error message states that win32 is not supported, try another one
You can copy it directly. . . . . . . . . . . . . .
Delete
node_modules
and reinstall it. Some binary dependencies obviously cannot be used directly on Mac.node_modules
删掉重新装。有些二进制依赖,mac 上的显然不能直接那过来用。
Thesleep
sleep
module is not written in js, but in C. It will be recompiled during npm install. 🎜