主题 : jee_single_login-master 编译异常
级别: 童生
UID: 140899
积分:44 加为好友
威望: 1 精华: 0
主题:3 回复:22
注册时间:2022-03-29
在线时长:0.04
1#   发表于:2022-05-06 09:50:10  IP:120.232.*.*
 下载jeesso 源码包本地 jee_single_login-master   执行 npm  install 时 编译不过去。
级别: 总版主
UID: 10736
积分:148381 加为好友
威望: 205 精华: 42
主题:287 回复:126139
注册时间:2010-09-08
在线时长:15.55
2#   发表于:2022-05-06 09:52:53  IP:111.200.*.*
 下载jeesso 源码包本地 jee_single_login-master   执行 npm  install 时 编译不过去。
不是有编译好的部署包下载吗,您可以下载部署包
路漫漫其修远兮,吾将上下而求索!
级别: 童生
UID: 140899
积分:44 加为好友
威望: 1 精华: 0
主题:3 回复:22
注册时间:2022-03-29
在线时长:0.04
3#   发表于:2022-05-06 09:53:43  IP:120.232.*.*
yongshuizhao@yongshuideMacBook-Pro jee_single_login-master % npm install

> fsevents@1.2.9 install /Users/yongshuizhao/Desktop/jesso/jee_single_login-master/node_modules/fsevents
> node install

node-pre-gyp WARN Using request for node-pre-gyp https download 
node-pre-gyp WARN Tried to download(404): https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.2.9/fse-v1.2.9-node-v83-darwin-x64.tar.gz 
node-pre-gyp WARN Pre-built binaries not found for fsevents@1.2.9 and node@14.18.0 (node-v83 ABI, unknown) (falling back to source compile with node-gyp) 
  SOLINK_MODULE(target) Release/.node
  CXX(target) Release/obj.target/fse/fsevents.o
In file included from ../fsevents.cc:6:
In file included from ../../nan/nan.h:2884:
../../nan/nan_typedarray_contents.h:34:43: warning: 'GetContents' is deprecated: Use GetBackingStore. See http://crbug.com/v8/9908. [-Wdeprecated-declarations]
      data   = static_cast<char*>(buffer->GetContents().Data()) + byte_offset;
                                          ^
/Users/yongshuizhao/Library/Caches/node-gyp/14.18.0/include/node/v8.h:5272:3: note: 'GetContents' has been explicitly marked deprecated here
  V8_DEPRECATE_SOON("Use GetBackingStore. See http://crbug.com/v8/9908.")
  ^
/Users/yongshuizhao/Library/Caches/node-gyp/14.18.0/include/node/v8config.h:402:39: note: expanded from macro 'V8_DEPRECATE_SOON'
# define V8_DEPRECATE_SOON(message) [[deprecated(message)]]
                                      ^
1 warning generated.
  SOLINK_MODULE(target) Release/fse.node
  COPY /Users/yongshuizhao/Desktop/jesso/jee_single_login-master/node_modules/fsevents/lib/binding/Release/node-v83-darwin-x64/fse.node
  TOUCH Release/obj.target/action_after_build.stamp

> yorkie@2.0.0 install /Users/yongshuizhao/Desktop/jesso/jee_single_login-master/node_modules/yorkie
> node bin/install.js

setting up Git hooks
can't find .git directory, skipping Git hooks installation

> node-sass@4.13.0 install /Users/yongshuizhao/Desktop/jesso/jee_single_login-master/node_modules/node-sass
> node scripts/install.js

Downloading binary from https://github.com/sass/node-sass/releases/download/v4.13.0/darwin-x64-83_binding.node
Cannot download "https://github.com/sass/node-sass/releases/download/v4.13.0/darwin-x64-83_binding.node": 

HTTP error 404 Not Found

Hint: If github.com is not accessible in your location
      try setting a proxy via HTTP_PROXY, e.g. 

      export HTTP_PROXY=http://example.com:1234

or configure npm proxy via

      npm config set proxy http://example.com:8080

> core-js@2.6.10 postinstall /Users/yongshuizhao/Desktop/jesso/jee_single_login-master/node_modules/core-js
> node postinstall || echo "ignore"


> ejs@2.7.2 postinstall /Users/yongshuizhao/Desktop/jesso/jee_single_login-master/node_modules/ejs
> node -e "console.log('Thank you for installing \u001b[35mEJS\u001b[0m: built with the \u001b[32mJake\u001b[0m JavaScript build tool (\u001b[32mhttps://jakejs.com/\u001b[0m)\n');"

Thank you for installing EJS: built with the Jake JavaScript build tool (https://jakejs.com/)


> node-sass@4.13.0 postinstall /Users/yongshuizhao/Desktop/jesso/jee_single_login-master/node_modules/node-sass
> node scripts/build.js

Building: /usr/local/bin/node /Users/yongshuizhao/Desktop/jesso/jee_single_login-master/node_modules/node-gyp/bin/node-gyp.js rebuild --verbose --libsass_ext= --libsass_cflags= --libsass_ldflags= --libsass_library=
gyp info it worked if it ends with ok
gyp verb cli [
gyp verb cli   '/usr/local/bin/node',
gyp verb cli   '/Users/yongshuizhao/Desktop/jesso/jee_single_login-master/node_modules/node-gyp/bin/node-gyp.js',
gyp verb cli   'rebuild',
gyp verb cli   '--verbose',
gyp verb cli   '--libsass_ext=',
gyp verb cli   '--libsass_cflags=',
gyp verb cli   '--libsass_ldflags=',
gyp verb cli   '--libsass_library='
gyp verb cli ]
gyp info using node-gyp@3.8.0
gyp info using node@14.18.0 | darwin | x64
gyp verb command rebuild []
gyp verb command clean []
gyp verb clean removing "build" directory
gyp verb command configure []
gyp verb check python checking for Python executable "python2" in the PATH
gyp verb `which` failed Error: not found: python2
gyp verb `which` failed     at getNotFoundError (/Users/yongshuizhao/Desktop/jesso/jee_single_login-master/node_modules/which/which.js:13:12)
gyp verb `which` failed     at F (/Users/yongshuizhao/Desktop/jesso/jee_single_login-master/node_modules/which/which.js:68:19)
gyp verb `which` failed     at E (/Users/yongshuizhao/Desktop/jesso/jee_single_login-master/node_modules/which/which.js:80:29)
gyp verb `which` failed     at /Users/yongshuizhao/Desktop/jesso/jee_single_login-master/node_modules/which/which.js:89:16
gyp verb `which` failed     at /Users/yongshuizhao/Desktop/jesso/jee_single_login-master/node_modules/isexe/index.js:42:5
gyp verb `which` failed     at /Users/yongshuizhao/Desktop/jesso/jee_single_login-master/node_modules/isexe/mode.js:8:5
gyp verb `which` failed     at FSReqCallback.oncomplete (fs.js:191:21)
gyp verb `which` failed  python2 Error: not found: python2
gyp verb `which` failed     at getNotFoundError (/Users/yongshuizhao/Desktop/jesso/jee_single_login-master/node_modules/which/which.js:13:12)
gyp verb `which` failed     at F (/Users/yongshuizhao/Desktop/jesso/jee_single_login-master/node_modules/which/which.js:68:19)
gyp verb `which` failed     at E (/Users/yongshuizhao/Desktop/jesso/jee_single_login-master/node_modules/which/which.js:80:29)
gyp verb `which` failed     at /Users/yongshuizhao/Desktop/jesso/jee_single_login-master/node_modules/which/which.js:89:16
gyp verb `which` failed     at /Users/yongshuizhao/Desktop/jesso/jee_single_login-master/node_modules/isexe/index.js:42:5
gyp verb `which` failed     at /Users/yongshuizhao/Desktop/jesso/jee_single_login-master/node_modules/isexe/mode.js:8:5
gyp verb `which` failed     at FSReqCallback.oncomplete (fs.js:191:21) {
gyp verb `which` failed   code: 'ENOENT'
gyp verb `which` failed }
gyp verb check python checking for Python executable "python" in the PATH
gyp verb `which` failed Error: not found: python
gyp verb `which` failed     at getNotFoundError (/Users/yongshuizhao/Desktop/jesso/jee_single_login-master/node_modules/which/which.js:13:12)
gyp verb `which` failed     at F (/Users/yongshuizhao/Desktop/jesso/jee_single_login-master/node_modules/which/which.js:68:19)
gyp verb `which` failed     at E (/Users/yongshuizhao/Desktop/jesso/jee_single_login-master/node_modules/which/which.js:80:29)
gyp verb `which` failed     at /Users/yongshuizhao/Desktop/jesso/jee_single_login-master/node_modules/which/which.js:89:16
gyp verb `which` failed     at /Users/yongshuizhao/Desktop/jesso/jee_single_login-master/node_modules/isexe/index.js:42:5
gyp verb `which` failed     at /Users/yongshuizhao/Desktop/jesso/jee_single_login-master/node_modules/isexe/mode.js:8:5
gyp verb `which` failed     at FSReqCallback.oncomplete (fs.js:191:21)
gyp verb `which` failed  python Error: not found: python
gyp verb `which` failed     at getNotFoundError (/Users/yongshuizhao/Desktop/jesso/jee_single_login-master/node_modules/which/which.js:13:12)
gyp verb `which` failed     at F (/Users/yongshuizhao/Desktop/jesso/jee_single_login-master/node_modules/which/which.js:68:19)
gyp verb `which` failed     at E (/Users/yongshuizhao/Desktop/jesso/jee_single_login-master/node_modules/which/which.js:80:29)
gyp verb `which` failed     at /Users/yongshuizhao/Desktop/jesso/jee_single_login-master/node_modules/which/which.js:89:16
gyp verb `which` failed     at /Users/yongshuizhao/Desktop/jesso/jee_single_login-master/node_modules/isexe/index.js:42:5
gyp verb `which` failed     at /Users/yongshuizhao/Desktop/jesso/jee_single_login-master/node_modules/isexe/mode.js:8:5
gyp verb `which` failed     at FSReqCallback.oncomplete (fs.js:191:21) {
gyp verb `which` failed   code: 'ENOENT'
gyp verb `which` failed }
gyp ERR! configure error 
gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable.
gyp ERR! stack     at PythonFinder.failNoPython (/Users/yongshuizhao/Desktop/jesso/jee_single_login-master/node_modules/node-gyp/lib/configure.js:484:19)
gyp ERR! stack     at PythonFinder.<anonymous> (/Users/yongshuizhao/Desktop/jesso/jee_single_login-master/node_modules/node-gyp/lib/configure.js:406:16)
gyp ERR! stack     at F (/Users/yongshuizhao/Desktop/jesso/jee_single_login-master/node_modules/which/which.js:68:16)
gyp ERR! stack     at E (/Users/yongshuizhao/Desktop/jesso/jee_single_login-master/node_modules/which/which.js:80:29)
gyp ERR! stack     at /Users/yongshuizhao/Desktop/jesso/jee_single_login-master/node_modules/which/which.js:89:16
gyp ERR! stack     at /Users/yongshuizhao/Desktop/jesso/jee_single_login-master/node_modules/isexe/index.js:42:5
gyp ERR! stack     at /Users/yongshuizhao/Desktop/jesso/jee_single_login-master/node_modules/isexe/mode.js:8:5
gyp ERR! stack     at FSReqCallback.oncomplete (fs.js:191:21)
gyp ERR! System Darwin 21.4.0
gyp ERR! command "/usr/local/bin/node" "/Users/yongshuizhao/Desktop/jesso/jee_single_login-master/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="
gyp ERR! cwd /Users/yongshuizhao/Desktop/jesso/jee_single_login-master/node_modules/node-sass
gyp ERR! node -v v14.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@4.13.0 postinstall: `node scripts/build.js`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the node-sass@4.13.0 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:
级别: 童生
UID: 140899
积分:44 加为好友
威望: 1 精华: 0
主题:3 回复:22
注册时间:2022-03-29
在线时长:0.04
4#   发表于:2022-05-06 10:04:31  IP:120.232.*.*
您好,我说的是jeesso后台管理页面
级别: 总版主
UID: 10736
积分:148381 加为好友
威望: 205 精华: 42
主题:287 回复:126139
注册时间:2010-09-08
在线时长:15.55
5#   发表于:2022-05-06 10:12:50  IP:111.200.*.*
路漫漫其修远兮,吾将上下而求索!
级别: 总版主
UID: 10736
积分:148381 加为好友
威望: 205 精华: 42
主题:287 回复:126139
注册时间:2010-09-08
在线时长:15.55
6#   发表于:2022-05-06 10:13:17  IP:111.200.*.*
参考上面这个这个解决方案
路漫漫其修远兮,吾将上下而求索!
级别: 童生
UID: 140899
积分:44 加为好友
威望: 1 精华: 0
主题:3 回复:22
注册时间:2022-03-29
在线时长:0.04
7#   发表于:2022-05-06 10:15:07  IP:120.232.*.*
好的,谢谢了
级别: 总版主
UID: 10736
积分:148381 加为好友
威望: 205 精华: 42
主题:287 回复:126139
注册时间:2010-09-08
在线时长:15.55
8#   发表于:2022-05-06 10:15:32  IP:111.200.*.*
路漫漫其修远兮,吾将上下而求索!
1 共1页