[英]Running older version JointsWP
I have an older project running JointsWP 4. Somehow I can't run and compile anymore.我有一个运行 JointsWP 4 的旧项目。不知何故,我无法再运行和编译了。 Unfortunately this goes beyond my knowledge.
不幸的是,这超出了我的知识范围。
I've tried to run npm install again but it just trows up errors.我尝试再次运行 npm 安装,但它只会出现错误。 How do I get this project back up running?
如何让这个项目恢复运行?
Many thanks非常感谢
...
gyp: No Xcode or CLT version detected!
gyp ERR! configure error
gyp ERR! stack Error: `gyp` failed with exit code: 1
gyp ERR! stack at ChildProcess.onCpExit (/Users/bramroos/Sites/alert/wp-content/themes/alert/node_modules/node-gyp/lib/configure.js:345:16)
gyp ERR! stack at ChildProcess.emit (events.js:315:20)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
gyp ERR! System Darwin 20.1.0
gyp ERR! command "/usr/local/bin/node" "/Users/bramroos/Sites/alert/wp-content/themes/alert/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="
gyp ERR! cwd /Users/bramroos/Sites/alert/wp-content/themes/alert/node_modules/gulp-sass/node_modules/node-sass
gyp ERR! node -v v12.18.0
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
Build failed with error code: 1
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! node-sass@3.13.1 postinstall: `node scripts/build.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the node-sass@3.13.1 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:
npm ERR! /Users/bramroos/.npm/_logs/2020-11-25T13_15_12_661Z-debug.log
The error messages indicate you are trying to use node-sass@3.13.1
with Node.js 12.18.0.错误消息表明您正在尝试将
node-sass@3.13.1
与 Node.js 12.18.0 一起使用。 The support table for node-sass
says that Node.js 12.18.0 requires node-sass
4.12 or newer. node-sass 的
node-sass
表显示 Node.js 12.18.0 需要node-sass
4.12 或更高版本。
Judging from the support table, node-sass
3.x is entirely unsupported at this time.从支持表来看,
node-sass
3.x 目前完全不支持。 You can try to update node-sass
to 4.x or you can use a Node.js version manager like nvm
to try to build it with an older version of node
.您可以尝试将
node-sass
更新到 4.x,或者您可以使用像nvm
这样的 Node.js 版本管理器来尝试使用旧版本的node
构建它。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.