Skip to content

MCP server, MODULE_NOT_FOUND #68

@hopewise

Description

@hopewise

I tried to run cali, it worked well, but I could not run the mcp server, as I got:

npx run cali-mcp-server@latest

> [email protected] npx
> runjs cali-mcp-server@latest

Watching /Users/sadaftech/sadaf-char/mobile and all sub-directories not excluded by your .gitignore. Will not monitor dotfiles.
Found & ignored ./android/app/.cxx/Debug/6gy584m5/arm64-v8a/rnscreens_autolinked_build/CMakeFiles/react_codegen_rnscreens.dir/Users/sadaftech/sadaf-char/mobile/node_modules ; is listed in .gitignore
Found & ignored ./android/app/.cxx/Debug/6gy584m5/arm64-v8a/safeareacontext_autolinked_build/CMakeFiles/react_codegen_safeareacontext.dir/Users/sadaftech/sadaf-char/mobile/node_modules ; is listed in .gitignore
Found & ignored ./android/app/.cxx/Debug/6gy584m5/armeabi-v7a/rnscreens_autolinked_build/CMakeFiles/react_codegen_rnscreens.dir/Users/sadaftech/sadaf-char/mobile/node_modules ; is listed in .gitignore
Found & ignored ./android/app/.cxx/Debug/6gy584m5/armeabi-v7a/safeareacontext_autolinked_build/CMakeFiles/react_codegen_safeareacontext.dir/Users/sadaftech/sadaf-char/mobile/node_modules ; is listed in .gitignore
Found & ignored ./android/app/.cxx/Debug/6gy584m5/x86/rnscreens_autolinked_build/CMakeFiles/react_codegen_rnscreens.dir/Users/sadaftech/sadaf-char/mobile/node_modules ; is listed in .gitignore
Found & ignored ./android/app/.cxx/Debug/6gy584m5/x86/safeareacontext_autolinked_build/CMakeFiles/react_codegen_safeareacontext.dir/Users/sadaftech/sadaf-char/mobile/node_modules ; is listed in .gitignore
Found & ignored ./android/app/.cxx/Debug/6gy584m5/x86_64/rnscreens_autolinked_build/CMakeFiles/react_codegen_rnscreens.dir/Users/sadaftech/sadaf-char/mobile/node_modules ; is listed in .gitignore
Found & ignored ./android/app/.cxx/Debug/6gy584m5/x86_64/safeareacontext_autolinked_build/CMakeFiles/react_codegen_safeareacontext.dir/Users/sadaftech/sadaf-char/mobile/node_modules ; is listed in .gitignore
Found & ignored ./node_modules ; is listed in .gitignore
Found & ignored ./expo-env.d.ts ; is listed in .gitignore

Starting: cali-mcp-server@latest
node:internal/modules/cjs/loader:1147
  throw err;
  ^

Error: Cannot find module '/Users/sadaftech/sadaf-char/mobile/cali-mcp-server@latest'
    at Module._resolveFilename (node:internal/modules/cjs/loader:1144:15)
    at Module._load (node:internal/modules/cjs/loader:985:27)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:135:12)
    at node:internal/main/run_main_module:28:49 {
  code: 'MODULE_NOT_FOUND',
  requireStack: []
}

Node.js v20.11.1

I already installed it as

pnpm add -g cali-mcp-server@latest

any idea ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions