Hi Aaron
many thanks for your reply ..
i have redone the TAR command and now i can see sever folder.
now i have another porblem
when i run
/QOpenSys/pkgs/bin/npm rebuild sqlite3, i receive this errors:

sqlite3@4.1.1 install /wikijs/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 Tried to download(403): https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v4.1.1/node-v72-aix-ppc64.tar.gz
node-pre-gyp WARN Pre-built binaries not found for sqlite3@4.1.1 and node@12.16.2 (node-v72 ABI, unknown) (falling back to source compile with node-gyp)
gmake: Entering directory '/wikijs/node_modules/sqlite3/build'
ACTION deps_sqlite3_gyp_action_before_build_target_unpack_sqlite_dep Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c
/bin/sh: python: not found
gmake: *** [deps/action_before_build.target.mk:13: Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c] Error 127
gmake: Leaving directory '/wikijs/node_modules/sqlite3/build'
gyp ERR! build error
gyp ERR! stack Error: `gmake` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/QOpenSys/pkgs/lib/nodejs12/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
gyp ERR! stack at ChildProcess.emit (events.js:310:20)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
gyp ERR! System OS400 7.2
gyp ERR! command "/QOpenSys/pkgs/lib/nodejs12/bin/node" "/QOpenSys/pkgs/lib/nodejs12/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/wikijs/node_modules/sqlite3/lib/binding/node-v72-aix-ppc64/node_sqlite3.node" "--module_name=node_sqlite3" "--module_path=/wikijs/node_modules/sqlite3/lib/binding/node-v72-aix-ppc64" "--napi_version=5" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v72"
gyp ERR! cwd /wikijs/node_modules/sqlite3
gyp ERR! node -v v12.16.2
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 '/QOpenSys/pkgs/lib/nodejs12/bin/node /QOpenSys/pkgs/lib/nodejs12/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/wikijs/node_modules/sqlite3/lib/binding/node-v72-aix-ppc64/node_sqlite3.node --module_name=node_sqlite3 --module_path=/wikijs/node_modules/sqlite3/lib/binding/node-v72-aix-ppc64 --napi_version=5 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v72' (1)
node-pre-gyp ERR! stack at ChildProcess.<anonymous> (/wikijs/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
node-pre-gyp ERR! stack at ChildProcess.emit (events.js:310:20)
node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:1021:16)
node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:286:5)
node-pre-gyp ERR! System OS400 7.2
node-pre-gyp ERR! command "/QOpenSys/pkgs/lib/nodejs12/bin/node" "/wikijs/node_modules/node-pre-gyp/bin/node-pre-gyp" "install" "--fallback-to-build"
node-pre-gyp ERR! cwd /wikijs/node_modules/sqlite3
node-pre-gyp ERR! node -v v12.16.2
node-pre-gyp ERR! -v v0.11.0
node-pre-gyp ERR! not ok
Failed to execute '/QOpenSys/pkgs/lib/nodejs12/bin/node /QOpenSys/pkgs/lib/nodejs12/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/wikijs/node_modules/sqlite3/lib/binding/node-v72-aix-ppc64/node_sqlite3.node --module_name=node_sqlite3 --module_path=/wikijs/node_modules/sqlite3/lib/binding/node-v72-aix-ppc64 --napi_version=5 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v72' (1)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! sqlite3@4.1.1 install: `node-pre-gyp install --fallback-to-build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the sqlite3@4.1.1 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! /home/GBANGE/.npm/_logs/2020-05-22T09_03_18_713Z-debug.log

can some one help me to understand which could be the problem '
Thanks in advance
J



________________________________
Da: OpenSource <opensource-bounces@xxxxxxxxxxxxxxxxxx> per conto di Aaron Magid <aaron@xxxxxxxxxxx>
Inviato: venerdì 22 maggio 2020 00:59
A: IBMi Open Source Roundtable <opensource@xxxxxxxxxxxxxxxxxx>
Oggetto: Re: [IBMiOSS] WikiJs for IBM i Application Documentation or Internal Knowledgebase

That error is telling you it can't find anything called "server" in your
directory.

I just downloaded the package and it has a directory called "server" which
contains a bunch of JavaScript code - could yours have been renamed?

Can you run an "*ls*" and send the output?

On Thu, May 21, 2020 at 3:05 PM john art <jhon_art@xxxxxxxxxxx> wrote:


Hi all

following this link at
https://archive.midrange.com/midrange-l/202005/msg00152.html
i'm try to start the service but i have some problems;
this my situation :
[https://static.midrange.com/images/archive_logo.gif]<
https://archive.midrange.com/midrange-l/202005/msg00152.html>
RE: WikiJs for IBM i Application Documentation or Internal -- MIDRANGE-L<
https://archive.midrange.com/midrange-l/202005/msg00152.html>
"Price is right" was a joke/funny/humor, maybe not :) I have not written
any specific instructions at this point. But here's a basic guide that
might work for you.
archive.midrange.com


doing:
PATH=/QOpenSys/pkgs/bin:$PATH
export PATH
node -v
i see :
v12.16.2

now, doing :
cd /wikijs
node server
i receive this error :
internal/modules/cjs/loader.js:983
throw err;
Error: Cannot find module '/wikijs/server'
at Function.Module._resolveFilename
(internal/modules/cjs/loader.js:980:15)
at Function.Module._load (internal/modules/cjs/loader.js:862:27)
at Function.executeUserEntryPoint [as runMain]
(internal/modules/run_main.js:74:12)
at internal/main/run_main_module.js:18:47 {
code: 'MODULE_NOT_FOUND',
requireStack: []
}
any idea ?
Thanks
________________________________

--
This is the IBMi Open Source Roundtable (OpenSource) mailing list
To post a message email: OpenSource@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/opensource
or email: OpenSource-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/opensource.

Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com



--
Aaron Magid
Eradani
VP, Open Source Technologies
(510) 295-9297

CONFIDENTIALITY NOTICE:
The information contained in this communication, including attachments, may
contain privileged and confidential information that is intended only for
the exclusive use of the addressee. If the reader of this message is not
the intended recipient, or the employee or agent responsible for delivering
it to the intended recipient, you are hereby notified that any
dissemination, distribution or copying of this communication is strictly
prohibited. If you have received this communication in error please notify
us by telephone immediately.
--
This is the IBMi Open Source Roundtable (OpenSource) mailing list
To post a message email: OpenSource@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/opensource
or email: OpenSource-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/opensource.

Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2020 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].