• RE: help 安装出错,帮我看看

    mmexport1615090124478.jpg mmexport1615090109118.jpg

    posted in Technical Support
  • RE: Search bar navigation fails if user clicks slowly

    This should be fixed on master and on this forum as well.

    posted in Bug Reports
  • RE: help 安装出错,帮我看看

    [root@localhost ~]# git --version
    git version 1.8.3.1
    [root@localhost ~]#

    posted in Technical Support
  • help 安装出错,帮我看看

    [123123@localhost NodeBB]$ npm install
    npm WARN deprecated request-promise-native@1.0.9: request-promise-native has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142
    npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
    npm WARN deprecated uglify-es@3.3.9: support for ECMAScript is superseded by uglify-js as of v3.13.0
    npm WARN deprecated popper.js@1.16.1: You can find the new Popper v2 at @popperjs/core, this package is dedicated to the legacy v1
    npm WARN deprecated har-validator@5.1.5: this library is no longer supported
    npm WARN deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
    npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
    npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
    npm ERR! path /usr/bin/git
    npm ERR! code ENOENT
    npm ERR! errno ENOENT
    npm ERR! syscall spawn /usr/bin/git
    npm ERR! enoent spawn /usr/bin/git ENOENT
    npm ERR! enoent This is related to npm not being able to find a file.
    npm ERR! enoent

    npm ERR! A complete log of this run can be found in:
    npm ERR! /home/123123/.npm/_logs/2021-03-06T22_23_56_894Z-debug.log
    [123123@localhost NodeBB]$

    [123123@localhost NodeBB]$ cat /home/123123/.npm/_logs/2021-03-06T22_23_56_894Z-debug.log

    3421 silly saveTree ├── xregexp@5.0.1
    3421 silly saveTree ├── yargs@16.2.0
    3421 silly saveTree └── zxcvbn@4.4.2
    3422 verbose stack Error: spawn /usr/bin/git ENOENT
    3422 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:232:19)
    3422 verbose stack at onErrorNT (internal/child_process.js:407:16)
    3422 verbose stack at process._tickCallback (internal/process/next_tick.js:63:19)
    3423 verbose cwd /home/123123/NodeBB
    3424 verbose Linux 3.10.0-1127.el7.x86_64
    3425 verbose argv "/usr/local/node/bin/node" "/usr/local/node/bin/npm" "install"
    3426 verbose node v10.14.1
    3427 verbose npm v6.4.1
    3428 error path /usr/bin/git
    3429 error code ENOENT
    3430 error errno ENOENT
    3431 error syscall spawn /usr/bin/git
    3432 error enoent spawn /usr/bin/git ENOENT
    3433 error enoent This is related to npm not being able to find a file.
    3434 verbose exit [ 1, true ]

    posted in Technical Support
  • RE: help 安装失败
    [root@localhost NodeBB]# npm install
    npm WARN deprecated request-promise-native@1.0.9: request-promise-native has beendeprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142
    npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
    npm WARN deprecated uglify-es@3.3.9: support for ECMAScript is superseded by `uglify-js` as of v3.13.0
    npm WARN deprecated popper.js@1.16.1: You can find the new Popper v2 at @popperjs/core, this package is dedicated to the legacy v1
    npm WARN deprecated har-validator@5.1.5: this library is no longer supported
    npm WARN deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 havea low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
    npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
    npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
    npm ERR! path /usr/bin/git
    npm ERR! code ENOENT
    npm ERR! errno ENOENT
    npm ERR! syscall spawn /usr/bin/git
    npm ERR! enoent spawn /usr/bin/git ENOENT
    npm ERR! enoent This is related to npm not being able to find a file.
    npm ERR! enoent
    
    npm ERR! A complete log of this run can be found in:
    npm ERR!     /root/.npm/_logs/2021-03-06T20_51_19_788Z-debug.log
    [root@localhost NodeBB]#
    
    posted in Technical Support
  • help 安装失败

    [root@localhost 111]# cd NodeBB/
    [root@localhost NodeBB]# ./nodebb setup
    package.json not found.
    Populating package.json...
    OK
    Dependencies outdated or not yet installed.
    Installing them now...

    npm notice
    npm notice New patch version of npm available! 7.6.0 -> 7.6.1
    npm notice Changelog: https://github.com/npm/cli/releases/tag/v7.6.1
    npm notice Run npm install -g npm@7.6.1 to update!
    npm notice
    npm ERR! code ERESOLVE
    npm ERR! ERESOLVE unable to resolve dependency tree
    npm ERR!
    npm ERR! While resolving: nodebb@1.17.0-beta.0
    npm ERR! Found: textcomplete@0.17.1
    npm ERR! node_modules/textcomplete
    npm ERR! textcomplete@"^0.17.1" from the root project
    npm ERR!
    npm ERR! Could not resolve dependency:
    npm ERR! peer textcomplete@"^0.14.2" from textcomplete.contenteditable@0.1.1
    npm ERR! node_modules/textcomplete.contenteditable
    npm ERR! textcomplete.contenteditable@"^0.1.1" from the root project
    npm ERR!
    npm ERR! Fix the upstream dependency conflict, or retry
    npm ERR! this command with --force, or --legacy-peer-deps
    npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
    npm ERR!
    npm ERR! See /root/.npm/eresolve-report.txt for a full report.

    npm ERR! A complete log of this run can be found in:
    npm ERR! /root/.npm/_logs/2021-03-06T19_02_48_301Z-debug.log
    Error installing dependencies!
    message: Command failed: npm install --production
    stdout: null
    stderr: null
    /root/111/NodeBB/src/cli/package-install.js:81
    throw e;
    ^

    Error: Command failed: npm install --production
    at checkExecSyncError (node:child_process:690:11)
    at Object.execSync (node:child_process:727:15)
    at Object.installAll (/root/111/NodeBB/src/cli/package-install.js:72:9)
    at Object.<anonymous> (/root/111/NodeBB/src/cli/index.js:62:18)
    at Module._compile (node:internal/modules/cjs/loader:1092:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1121:10)
    at Module.load (node:internal/modules/cjs/loader:972:32)
    at Function.Module._load (node:internal/modules/cjs/loader:813:14)
    at Module.require (node:internal/modules/cjs/loader:996:19)
    at require (node:internal/modules/cjs/helpers:92:18) {
    status: 1,
    signal: null,
    output: [ null, null, null ],
    pid: 36915,
    stdout: null,
    stderr: null
    }
    [root@localhost NodeBB]# Error: Command failed: npm install --production
    -bash: Error:: command not found
    [root@localhost NodeBB]# at checkExecSyncError (node:child_process:690:11)
    -bash: syntax error near unexpected token (' [root@localhost NodeBB]# at Object.execSync (node:child_process:727:15) -bash: syntax error near unexpected token ('
    [root@localhost NodeBB]# at Object.installAll (/root/111/NodeBB/src/cli/package-install.js:72:9)
    -bash: syntax error near unexpected token (' [root@localhost NodeBB]# at Object.<anonymous> (/root/111/NodeBB/src/cli/index.js:62:18) -bash: syntax error near unexpected token ('
    [root@localhost NodeBB]# at Module._compile (node:internal/modules/cjs/loader:1092:14)
    -bash: syntax error near unexpected token (' [root@localhost NodeBB]# at Object.Module._extensions..js (node:internal/modules/cjs/loader:1121:10) -bash: syntax error near unexpected token ('
    [root@localhost NodeBB]# at Module.load (node:internal/modules/cjs/loader:972:32)
    -bash: syntax error near unexpected token (' [root@localhost NodeBB]# at Function.Module._load (node:internal/modules/cjs/loader:813:14) -bash: syntax error near unexpected token ('
    [root@localhost NodeBB]# at Module.require (node:internal/modules/cjs/loader:996:19)
    -bash: syntax error near unexpected token (' [root@localhost NodeBB]# at require (node:internal/modules/cjs/helpers:92:18){ -bash: syntax error near unexpected token ('
    [root@localhost NodeBB]# Error: Command failed: npm install --production
    -bash: Error:: command not found
    [root@localhost NodeBB]# at checkExecSyncError (node:child_process:690:11)
    -bash: syntax error near unexpected token (' [root@localhost NodeBB]# at Object.execSync (node:child_process:727:15) -bash: syntax error near unexpected token ('
    [root@localhost NodeBB]# at Object.installAll (/root/111/NodeBB/src/cli/package-install.js:72:9)
    -bash: syntax error near unexpected token (' [root@localhost NodeBB]# at Object.<anonymous> (/root/111/NodeBB/src/cli/index.js:62:18) -bash: syntax error near unexpected token ('
    [root@localhost NodeBB]# at Module._compile (node:internal/modules/cjs/loader:1092:14)
    -bash: syntax error near unexpected token (' [root@localhost NodeBB]# at Object.Module._extensions..js (node:internal/modules/cjs/loader:1121:10) -bash: syntax error near unexpected token ('
    [root@localhost NodeBB]# at Module.load (node:internal/modules/cjs/loader:972:32)
    -bash: syntax error near unexpected token (' [root@localhost NodeBB]# at Function.Module._load (node:internal/modules/cjs/loader:813:14) -bash: syntax error near unexpected token ('
    [root@localhost NodeBB]# at Module.require (node:internal/modules/cjs/loader:996:19)
    -bash: syntax error near unexpected token (' [root@localhost NodeBB]# at require (node:internal/modules/cjs/helpers:92:18){ -bash: syntax error near unexpected token ('
    [root@localhost NodeBB]#

    posted in Technical Support
  • RE: Search bar navigation fails if user clicks slowly

    You are correct, when the input element loses focus it hides the dropdown hence it might miss the click on the result if you click hold a while and release.

    https://github.com/NodeBB/NodeBB/issues/9354

    posted in Bug Reports
  • RE: [nodebb-plugin-makesmart-gallery] - Image Slider for topics

    awesome! managed to grab the first star on your GH repo as well ;D

    posted in NodeBB Plugins