前端打包失败
版本:renren-fast v3.0 |
开发环境:VSCode |
node -v
v12.19.0
gulp -v
CLI version: 2.3.0
Local version: 3.9.1
> gulp
fs.js:36
} = primordials;
^
ReferenceError: primordials is not defined
at fs.js:36:5
at req_ (C:\work\SVN\WEPS\trunk\web\node_modules\natives\index.js:143:24)
at Object.req [as require] (C:\work\SVN\WEPS\trunk\web\node_modules\natives\index.js:55:10)
at Object.<anonymous> (C:\work\SVN\WEPS\trunk\web\node_modules\graceful-fs\fs.js:1:37)
at Module._compile (internal/modules/cjs/loader.js:1015:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1035:10)
at Module.load (internal/modules/cjs/loader.js:879:32)
at Function.Module._load (internal/modules/cjs/loader.js:724:14)
at Module.require (internal/modules/cjs/loader.js:903:19)
at require (internal/modules/cjs/helpers.js:74:18)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! weps@1.0.0 build: `gulp`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the weps@1.0.0 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\wen\AppData\Roaming\npm-cache\_logs\2020-11-19T01_27_03_982Z-debug.log