npm ERR!用Gulp编译时编码ELIFECYCLE

时间:2019-09-26 15:40:05

标签: javascript html sass gulp themes

我已经从ColorLib下载了名为“ Uza”的主题。我无法编译sass,主题使用Gulp进行编译,但是当我运行脚本时出现此错误。

主题链接(https://colorlib.com/wp/template/uza/

我已经安装了npm,并且正如我尝试运行的自述文件中所述

PS D:\WebDev Material\Themes\uza> npm run start
     > uza-creative-agency-html-template@1.0.0 start D:\WebDev Material\Themes\uza

fs.js:27
const { Math, Object } = primordials;
                         ^

ReferenceError: primordials is not defined
    at fs.js:27:26
    at req_ (D:\WebDev Material\Themes\uza\node_modules\natives\index.js:143:24)
    at Object.req [as require] (D:\WebDev Material\Themes\uza\node_modules\natives\index.js:55:10)
    at Object.<anonymous> (D:\WebDev Material\Themes\uza\node_modules\graceful-fs\fs.js:1:37)
    at Module._compile (internal/modules/cjs/loader.js:868:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:879:10)
    at Module.load (internal/modules/cjs/loader.js:731:32)
    at Function.Module._load (internal/modules/cjs/loader.js:644:12)
    at Module.require (internal/modules/cjs/loader.js:771:19)
    at require (internal/modules/cjs/helpers.js:68:18)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! uza-creative-agency-html-template@1.0.0 start: `gulp`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the uza-creative-agency-html-template@1.0.0 start 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\rahul\AppData\Roaming\npm-cache\_logs\2019-09-26T15_34_57_389Z-debug.log

0 个答案:

没有答案