Node server error

43 views
Skip to first unread message

Luis Cornejo

unread,
Dec 17, 2024, 6:48:29 AM12/17/24
to ox...@googlegroups.com
  Hello, I'm trying to installl the program in a new PC anda node give the next error. What cold be teh reson? Thanks in advance

  node:internal/modules/cjs/loader:1252
  throw err;
  ^
Error: Cannot find module 'C:\Users\lcorn\oxcal\NodeServer.js'
    at Function._resolveFilename (node:internal/modules/cjs/loader:1249:15)
    at Function._load (node:internal/modules/cjs/loader:1075:27)
    at TracingChannel.traceSync (node:diagnostics_channel:322:14)
    at wrapModuleLoad (node:internal/modules/cjs/loader:219:24)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:170:5)
    at node:internal/main/run_main_module:36:49 {
  code: 'MODULE_NOT_FOUND',
  requireStack: []
}
Node.js v22.12.0

Saludos desde el sur

Christopher Ramsey

unread,
Dec 17, 2024, 6:53:23 AM12/17/24
to OxCal group
Does the file:

C:\Users\lcorn\oxcal\NodeServer.js

exist on the system and to you have the right permissions?

Best wishes

Christopher
> --
> You received this message because you are subscribed to the Google Groups "OxCal" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to oxcal+un...@googlegroups.com.
> To view this discussion visit https://groups.google.com/d/msgid/oxcal/CAH1j_X6xZr9-526QyW9_9JO0CcM9vs1UqYTFPXQ7SkhUcGspyQ%40mail.gmail.com.

Luis Cornejo

unread,
Dec 20, 2024, 6:03:00 AM12/20/24
to ox...@googlegroups.com
Hi Christopher, the NodeServer.js file is not in the oxcal directory. Should I install it manually or should it have been installed with the program? Thank you very much for answering my question. LCB

Christopher Ramsey

unread,
Dec 20, 2024, 6:10:38 AM12/20/24
to OxCal group
It should be in the top level of the installation.

Best wishes

Christopher
> To view this discussion visit https://groups.google.com/d/msgid/oxcal/CAH1j_X4dmoPJM5HQzxN3w%3DT3xvNcST9KJoek8YjH_yhRtT4guw%40mail.gmail.com.

Luis Cornejo

unread,
Dec 21, 2024, 2:08:33 PM12/21/24
to ox...@googlegroups.com
Thanks Christopher, reinstalling the program solved the problem. I have another question, I'm comparing two KDEs and when I look at the Raw Data it turns out that in one case the data is on a 5-year scale and in the other a 4-year scale. Is there a way to make both be on the same time scale?

Reply all
Reply to author
Forward
0 new messages