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




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].