npm ERR! errno 3221225477

F:\uidp>npm run build

> [email protected] build F:\uidp
> node build/build.js



#
# Fatal error in , line 0
# Check failed: U_SUCCESS(status).
#
#
#
#FailureMessage Object: 0000005873AFD1B0npm ERR! code ELIFECYCLE
npm ERR! errno 3221225477
npm ERR! [email protected] build: `node build/build.js`
npm ERR! Exit status 3221225477
npm ERR!
npm ERR! Failed at the [email protected] build 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!     C:\Users\Administrator\AppData\Roaming\npm-cache\_logs\2020-11-16T23_25_14_186Z-debug.log

打包构建时报错。搜了一下有部分网友说可能是 node 版本问题,切换到 node 稳定版本即可
想起来之前有装过 nvm,搞不同项目的时候确实有切换过 node 版本。切换回 node10.13.0,打包正常~

F:\uidp>nvm ls

    14.6.0
   *12.0.0(Currently using 64-bit executable)
    10.13.0 
    8.9.4

F:\uidp>nvm use 10.13.0
Now using node v10.13.0 (64-bit)

F:\uidp>npm run build

> [email protected] build F:\uidp
> node build/build.js

- 打包中...‼ 
- ......
- 打包完成

你可能感兴趣的:(Npm,各式报错,nodejs)