Smithsonian / dpo-cook

DPO Cook - 3D Model/Geometry/Texture Processing Server
Apache License 2.0
71 stars 8 forks source link

Error: Cannot find module 'C:\Users\P70080737\dpo-cook\server\bin\index.js' #57

Open sohinimallick16 opened 2 years ago

sohinimallick16 commented 2 years ago

Hello...so I have been doing all the initial steps, but run into this error every time I try to run the server with npm run server.

npm run server

dpo-cook@1.0.0 server node server/bin/index.js

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

Error: Cannot find module 'C:\Users\P70080737\dpo-cook\server\bin\index.js' at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15) at Function.Module._load (node:internal/modules/cjs/loader:778:27) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12) at node:internal/main/run_main_module:17:47 { code: 'MODULE_NOT_FOUND', requireStack: [] }

What could be the reason for this?

gjcope commented 2 years ago

Does the file C:\Users\P70080737\dpo-cook\server\bin\index.js exist? If not, did you build the server? Do 'npm run build' before 'npm run server'.

gjcope commented 2 years ago

Hi @sohinimallick16 checking in to see if you were able to resolve this issue.