Skip to content

Locally hosting doesn't work #18

@Sylwester12345

Description

@Sylwester12345

Hi!

I tried locally hosting wintrchess, it didn't work. I did all the steps.

C:\Users\pc\Desktop\wintrchess>npm start

start
node server/dist/index.js

node:internal/modules/cjs/loader:1424
throw err;
^

Error: Cannot find module 'C:\Users\pc\Desktop\wintrchess\server\dist\index.js'
at Module._resolveFilename (node:internal/modules/cjs/loader:1421:15)
at defaultResolveImpl (node:internal/modules/cjs/loader:1059:19)
at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1064:22)
at Module._load (node:internal/modules/cjs/loader:1227:37)
at TracingChannel.traceSync (node:diagnostics_channel:328:14)
at wrapModuleLoad (node:internal/modules/cjs/loader:245:24)
at Module.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:154:5)
at node:internal/main/run_main_module:33:47 {
code: 'MODULE_NOT_FOUND',
requireStack: []
}

Node.js v24.12.0

C:\Users\pc\Desktop\wintrchess>

Btw i checked the files on the github and i didn't find the dist folder.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions