Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error running sf force:lightning:local:setup -p ios : "Cannot find module .../lwc-dev-mobile/lib/cli/commands" #167

Open
RupertBarrow opened this issue Jun 11, 2024 · 0 comments

Comments

@RupertBarrow
Copy link

Here is the error :

% sfdx force:lightning:local:setup -p ios
 ›   ModuleLoadError: [MODULE_NOT_FOUND] require failed to load /Users/rupert/.local/share/sf/node_modules/@salesforce/lwc-dev-mobile/lib/cli/commands: Cannot find module 
 ›   '/Users/rupert/.local/share/sf/node_modules/@salesforce/lwc-dev-mobile/lib/cli/commands'
 ›   Require stack:
 ›   - /Users/rupert/.nvm/versions/node/v20.8.0/lib/node_modules/@salesforce/cli/node_modules/@oclif/core/lib/module-loader.js
 ›   - /Users/rupert/.nvm/versions/node/v20.8.0/lib/node_modules/@salesforce/cli/node_modules/@oclif/core/lib/help/index.js
 ›   - /Users/rupert/.nvm/versions/node/v20.8.0/lib/node_modules/@salesforce/cli/node_modules/@oclif/core/lib/errors/handle.js
 ›   - /Users/rupert/.nvm/versions/node/v20.8.0/lib/node_modules/@salesforce/cli/node_modules/@oclif/core/lib/errors/index.js
 ›   - /Users/rupert/.nvm/versions/node/v20.8.0/lib/node_modules/@salesforce/cli/node_modules/@oclif/core/lib/cli-ux/index.js
 ›   - /Users/rupert/.nvm/versions/node/v20.8.0/lib/node_modules/@salesforce/cli/node_modules/@oclif/core/lib/index.js
 ›   Code: MODULE_NOT_FOUND

Here is my version :

% sf version --verbose        
 CLI Version:
        @salesforce/cli/2.42.6 published 27 days ago (Wed May 15 2024) (latest is 2.44.8)

 Architecture:
        darwin-x64

 Node Version:
        node-v20.8.0

 Plugin Version:
        @oclif/plugin-autocomplete 3.0.18 (core)
        @oclif/plugin-commands 3.3.4 (core)
        @oclif/plugin-help 6.0.22 (core)
        @oclif/plugin-not-found 3.1.9 (core)
        @oclif/plugin-plugins 5.0.21 (core)
        @oclif/plugin-search 1.0.24 (core)
        @oclif/plugin-update 4.2.12 (core)
        @oclif/plugin-version 2.1.2 (core)
        @oclif/plugin-warn-if-update-available 3.0.19 (core)
        @oclif/plugin-which 3.1.10 (core)
        @rupertbarrow/rapido-sf-plugin 1.11.12 (user) published 43 days ago (Mon Apr 29 2024)
        @salesforce/cli 2.42.6 (core)
        @salesforce/lwc-dev-mobile 2.3.0 (user) published 228 days ago (Thu Oct 26 2023)
        apex 3.1.11 (core)
        auth 3.6.11 (core)
        data 3.3.5 (core)
        deploy-retrieve 3.6.14 (core)
        dev 2.3.1 (user) published 39 days ago (Thu May 02 2024) (latest is 2.3.2)
        info 3.2.8 (core)
        limits 3.3.7 (core)
        marketplace 1.2.5 (core)
        org 4.1.10 (core)
        packaging 2.4.4 (core)
        schema 3.3.6 (core)
        settings 2.2.6 (core)
        sobject 1.4.2 (core)
        source 3.3.12 (core)
        telemetry 3.3.7 (core)
        templates 56.2.7 (core)
        trust 3.6.11 (core)
        user 3.5.8 (core)
        @salesforce/sfdx-scanner 3.25.0 (user) published 13 days ago (Tue May 28 2024)
        @sharinpix/spx-connected-app 0.0.8-beta (user) published 25 days ago (Thu May 16 2024)

 OS and Version:
        Darwin 21.6.0

 Shell:
        zsh

 Root Path:
        /Users/rupert/.nvm/versions/node/v20.8.0/lib/node_modules/@salesforce/cli
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant