Skip to content

NativeScript SideKick doesnt work with custom npm-global directory #3523

Open
@jaysudodeveloper

Description

@jaysudodeveloper

Did you verify this is a real problem by searching the [NativeScript Forum]

Yes - nothing found.

Tell us about the problem

Running NativeScript sidekick errors out with Native Script CLI not found but is installed and working.

  • verified by running tns --version

My NativeScript CLI is installed into home directory /home/jay/.npm-global

Which platform(s) does your issue occur on?

iOS/Android/Both

Please provide the following version numbers that your issue occurs with:

  • CLI: 3.4.3
  • Cross-platform modules: NA
  • Runtime(s): NA
  • Plugin(s): NA

Please tell us how to recreate the issue in as much detail as possible.

  1. Change default location of npm global package directory following instructions provided by npm
    https://docs.npmjs.com/getting-started/fixing-npm-permissions

  2. Install NativeScript Sidekick for Linux

  3. Run NativeScript Sidekick and get below error
    image

Is there code involved? If so, please share the minimal amount of code needed to recreate the problem.

No

Metadata

Metadata

Assignees

No one assigned

    Labels

    to-be-checkedIssues that might be resolved in a previous release and need to be tested or clarified further

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions