Jump to content
Limestone de cara nova! ×
Portal do Host



Recommended Posts

Olá, estou com muitos problemas a questão do servidor TSDNS https://compulabs.com.br/blog/modulo-ts3-para-whmcs-tsdns/, sempre que sigo o tutorial e envio o comando 

npm WARN deprecated connect@2.30.2: connect 2.x series is deprecated
npm WARN deprecated mkdirp@0.5.1: Legacy versions of mkdirp are no longer supported. Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated har-validator@5.1.5: this library is no longer supported

> sqlite3@5.0.0 install /home/tsdns-nodejs-master/node_modules/sqlite3
> node-pre-gyp install --fallback-to-build

node-pre-gyp WARN Using request for node-pre-gyp https download
node-pre-gyp WARN Pre-built binaries not installable for sqlite3@5.0.0 and node@10.22.0 (node-v64 ABI, glibc) (falling back to source compile with node-gyp)
node-pre-gyp WARN Hit error EACCES: permission denied, mkdir '/home/tsdns-nodejs-master/node_modules/sqlite3/lib/binding'
gyp WARN EACCES current user ("centos") does not have permission to access the dev dir "/root/.cache/node-gyp/10.22.0"
gyp WARN EACCES attempting to reinstall using temporary dev dir "/home/tsdns-nodejs-master/node_modules/sqlite3/.node-gyp"
gyp WARN install got an error, rolling back install
gyp WARN install got an error, rolling back install
gyp ERR! configure error
gyp ERR! stack Error: EACCES: permission denied, mkdir '/home/tsdns-nodejs-master/node_modules/sqlite3/.node-gyp'
gyp ERR! System Linux 3.10.0-1062.12.1.el7.x86_64
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "--fallback-to-build" "--module=/home/tsdns-nodejs-master/node_modules/sqlite3/lib/binding/napi-v3-linux-x64/node_sqlite3.node" "--module_name=node_sqlite3" "--module_path=/home/tsdns-nodejs-master/node_modules/sqlite3/lib/binding/napi-v3-linux-x64" "--napi_version=6" "--node_abi_napi=napi" "--napi_build_version=3" "--node_napi_label=napi-v3"
gyp ERR! cwd /home/tsdns-nodejs-master/node_modules/sqlite3
gyp ERR! node -v v10.22.0
gyp ERR! node-gyp -v v5.1.0
gyp ERR! not ok
node-pre-gyp ERR! build error
node-pre-gyp ERR! stack Error: Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/home/tsdns-nodejs-master/node_modules/sqlite3/lib/binding/napi-v3-linux-x64/node_sqlite3.node --module_name=node_sqlite3 --module_path=/home/tsdns-nodejs-master/node_modules/sqlite3/lib/binding/napi-v3-linux-x64 --napi_version=6 --node_abi_napi=napi --napi_build_version=3 --node_napi_label=napi-v3' (1)
node-pre-gyp ERR! stack     at ChildProcess.<anonymous> (/home/tsdns-nodejs-master/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
node-pre-gyp ERR! stack     at ChildProcess.emit (events.js:198:13)
node-pre-gyp ERR! stack     at maybeClose (internal/child_process.js:982:16)
node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
node-pre-gyp ERR! System Linux 3.10.0-1062.12.1.el7.x86_64
node-pre-gyp ERR! command "/usr/bin/node" "/home/tsdns-nodejs-master/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
node-pre-gyp ERR! cwd /home/tsdns-nodejs-master/node_modules/sqlite3
node-pre-gyp ERR! node -v v10.22.0
node-pre-gyp ERR! node-pre-gyp -v v0.11.0
node-pre-gyp ERR! not ok
Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/home/tsdns-nodejs-master/node_modules/sqlite3/lib/binding/napi-v3-linux-x64/node_sqlite3.node --module_name=node_sqlite3 --module_path=/home/tsdns-nodejs-master/node_modules/sqlite3/lib/binding/napi-v3-linux-x64 --napi_version=6 --node_abi_napi=napi --napi_build_version=3 --node_napi_label=napi-v3' (1)
npm WARN tsdns@0.0.1 license should be a valid SPDX license expression

npm ERR! errno 1
npm ERR! sqlite3@5.0.0 install: `node-pre-gyp install --fallback-to-build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the sqlite3@5.0.0 install 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!     /root/.npm/_logs/2020-08-17T02_59_01_586Z-debug.log

ele me retorna com varios erros...

ME ajudem

Aqui está o log:


0 info it worked if it ends with ok
1 verbose cli [ '/usr/bin/node', '/bin/npm', 'install' ]
2 info using npm@6.14.6
3 info using node@v10.22.0
4 verbose npm-session 6259607ac8ded154
5 silly install runPreinstallTopLevelLifecycles
6 silly preinstall tsdns@0.0.1
7 info lifecycle tsdns@0.0.1~preinstall: tsdns@0.0.1
8 silly install loadCurrentTree
9 silly install readLocalPackageData
10 timing stage:loadCurrentTree Completed in 9ms
11 silly install loadIdealTree
12 silly install cloneCurrentTreeToIdealTree
13 timing stage:loadIdealTree:cloneCurrentTree Completed in 0ms
14 silly install loadShrinkwrap
15 timing stage:loadIdealTree:loadShrinkwrap Completed in 1ms
16 silly install loadAllDepsIntoIdealTree
17 http fetch GET 200 https://registry.npmjs.org/sqlite3 141ms
18 http fetch GET 200 https://registry.npmjs.org/colors 144ms
19 http fetch GET 200 https://registry.npmjs.org/express 157ms
20 http fetch GET 200 https://registry.npmjs.org/colors/-/colors-1.4.0.tgz 202ms
21 http fetch GET 200 https://registry.npmjs.org/sqlite3/-/sqlite3-5.0.0.tgz 210ms



Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...

Important Information