Hi
another small step  ; 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
________________________________
Da: john art <jhon_art@xxxxxxxxxxx>
Inviato: giovedì 21 maggio 2020 16:22
A: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxxxxxxxx>
Oggetto: R: WikiJs for IBM i Application Documentation or Internal Knowledgebase
Hi Vern
i have installed TAR  from ACS in with open source package and then i run  "/QOpenSys/pkgs/bin/tar xzf wiki-js-windows.tar.gz -C /wikijs"
i think i have solved also npm problem running this:
/QOpenSys/pkgs/bin/npm rebuild sqlite3
now i have another question; what does means:
// Run WikiJs
node server
how do i run this ( node server ) ? what i have to write in <server> ?
Thanks
________________________________
Da: john art <jhon_art@xxxxxxxxxxx>
Inviato: giovedì 21 maggio 2020 10:53
A: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxxxxxxxx>
Oggetto: R: WikiJs for IBM i Application Documentation or Internal Knowledgebase
Hi all
ok,  at the end i succed in extracting files from  wiki-js-windows.tar.gz;
now i wikijs  i have:
assets             config.sample.yml  database           node_modules
backups            data               LICENSE
but when i run
npm rebuild sqlite3
  /QOpenSys/usr/bin/-sh: npm:  not found ..
be patient but i'm new in pase and Node enviroment
Thanks
J
Keep in mimd that now i'm on V7R2 !!
________________________________
Da: john art <jhon_art@xxxxxxxxxxx>
Inviato: mercoledì 20 maggio 2020 12:52
A: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxxxxxxxx>
Oggetto: R: WikiJs for IBM i Application Documentation or Internal Knowledgebase
Hi Vern
do you know how install gunzip ?
if i run gunzip  (under QP2TERM) i receive command non found ..
is it possible to install it via ACS  menage open source package ?   Package GZIP ??!!
Thanks
________________________________
Da: john art <jhon_art@xxxxxxxxxxx>
Inviato: mercoledì 20 maggio 2020 10:49
A: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxxxxxxxx>
Oggetto: R: WikiJs for IBM i Application Documentation or Internal Knowledgebase
Hi Richard
when i run tar xzf wiki-js-windows.tar.gz -C /wikijs
i receive this error
tar xzf wiki-js-windows.tar.gz -C  wikijs
Sintax: tar -{c|r|t|u|x} [ -BdDEFhilmopRUsvwZ ] [ -Numero ] [ -f TarFil e ]
           [ -b Blocks ] [ -S [ Feet ] | [ Feet@Density ] | [ Blocksb ] ]
           [ -L InputList ] [-X ExcludeFile] [ -N Blocks ] [ -C directory ] File ...
Sintax: tar {c|r|t|u|x} [ bBdDEfFhilLXmNopRsSUvwZ[0-9] ] ]
           [ Blocks ] [ TarFile ] [ InputList ] [ ExcludeFile ]
           [ [ Feet ] | [ Feet@Density ] | [ Blocksb ] ] [-C Directory ] File ...
do i have use another command instead of tar ??
Thanks
________________________________
Da: john art <jhon_art@xxxxxxxxxxx>
Inviato: domenica 17 maggio 2020 18:48
A: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxxxxxxxx>
Oggetto: R: WikiJs for IBM i Application Documentation or Internal Knowledgebase
Hi Richard
for NodeJs12 which OS version do i have to run ? i'm at 7r1 .. to old ?
when i try to install NodeJs i receive this messages:
  package update-alternatives-1.19.7-1.ppc64 is intended for a different operating system
  package libopenssl1_1-1.1.1-7.ppc64 is intended for a different operating system
  package libgcc-aix-6.3.0-25.fat is intended for a different operating system
  package libstdcplusplus6-6.3.0-25.ppc64 is intended for a different operating system
  package nodejs12-12.16.2-1.ppc64 is intended for a different operating system
Thanks
________________________________
Da: john art
Inviato: lunedì 11 maggio 2020 09:16
A: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxxxxxxxx>
Oggetto: RE: WikiJs for IBM i Application Documentation or Internal Knowledgebase
Hi Richard
i would be interested to this Wiki system ..
could you please give me some instruction to install it on Ibm i ?
Thanks in advance
J
I did not understand .. before you say FREE and then ".. the price is right .."
As an Amazon Associate we earn from qualifying purchases.