Я пытаюсь установить тему Understrap и ее дочернюю тему (официальную с веб-сайта), но каждый раз происходит сбой. Последняя ошибка
understrap@0.9.3 postinstall: `gulp copy-assets`
> jpegtran-bin@4.0.0 postinstall C:\xampp\htdocs\humanists\wp-content\themes\understrap-child\node_modules\jpegtran-bin
> node lib/install.js
√ jpegtran pre-build test passed successfully
> gifsicle@4.0.1 postinstall C:\xampp\htdocs\humanists\wp-content\themes\understrap-child\node_modules\understrap\node_modules\gifsicle
> node lib/install.js
√ gifsicle pre-build test passed successfully
> optipng-bin@5.1.0 postinstall C:\xampp\htdocs\humanists\wp-content\themes\understrap-child\node_modules\understrap\node_modules\optipng-bin
> node lib/install.js
√ optipng pre-build test passed successfully
> understrap@0.9.3 postinstall C:\xampp\htdocs\humanists\wp-content\themes\understrap-child\node_modules\understrap
> gulp copy-assets
internal/modules/cjs/loader.js:800
throw err;
^
Error: Cannot find module '@babel/core'
Require stack:
- C:\xampp\htdocs\humanists\wp-content\themes\understrap-child\node_modules\gulp-babel\index.js
- C:\xampp\htdocs\humanists\wp-content\themes\understrap-child\node_modules\understrap\gulpfile.js
- C:\xampp\htdocs\humanists\wp-content\themes\understrap-child\node_modules\gulp\node_modules\gulp-cli\lib\versioned\^4.0.0\index.js
- C:\xampp\htdocs\humanists\wp-content\themes\understrap-child\node_modules\gulp\node_modules\gulp-cli\index.js
- C:\xampp\htdocs\humanists\wp-content\themes\understrap-child\node_modules\gulp\bin\gulp.js
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:797:15)
at Function.Module._load (internal/modules/cjs/loader.js:690:27)
at Module.require (internal/modules/cjs/loader.js:852:19)
at require (internal/modules/cjs/helpers.js:74:18)
at Object.<anonymous> (C:\xampp\htdocs\humanists\wp-content\themes\understrap-child\node_modules\gulp-babel\index.js:7:15)
at Module._compile (internal/modules/cjs/loader.js:959:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:995:10)
at Module.load (internal/modules/cjs/loader.js:815:32)
at Function.Module._load (internal/modules/cjs/loader.js:727:14)
at Module.require (internal/modules/cjs/loader.js:852:19) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'C:\\xampp\\htdocs\\humanists\\wp-content\\themes\\understrap-child\\node_modules\\gulp-babel\\index.js',
'C:\\xampp\\htdocs\\humanists\\wp-content\\themes\\understrap-child\\node_modules\\understrap\\gulpfile.js',
'C:\\xampp\\htdocs\\humanists\\wp-content\\themes\\understrap-child\\node_modules\\gulp\\node_modules\\gulp-cli\\lib\\versioned\\^4.0.0\\index.js',
'C:\\xampp\\htdocs\\humanists\\wp-content\\themes\\understrap-child\\node_modules\\gulp\\node_modules\\gulp-cli\\index.js',
'C:\\xampp\\htdocs\\humanists\\wp-content\\themes\\understrap-child\\node_modules\\gulp\\bin\\gulp.js'
]
}
npm WARN bootstrap@4.4.1 requires a peer of jquery@1.9.1 - 3 but none is installed. You must install peer dependencies yourself.
npm WARN bootstrap@4.4.1 requires a peer of popper.js@^1.16.0 but none is installed. You must install peer dependencies yourself.
npm WARN gulp-babel@8.0.0 requires a peer of @babel/core@^7.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.11 (node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.11: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! understrap@0.9.3 postinstall: `gulp copy-assets`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the understrap@0.9.3 postinstall 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: