Skip to content

doc:  #351

@tanju1984

Description

@tanju1984

I have found following Problem:
After Installation I always get a message like: "The path Variable is expecting String, undefined is given."
So I found out following and fixed it too:

In the folder "nodejs-mobile-cordova\install\hooks\both" there are 2 files:

  • after-prepare-native-modules-preference
  • after-prepare-patch-npm-packages

Both of them have a Code-Line with this:

  • var platformAPIInstance = new platformAPI();

==> It has to be changed to:

  • var platformAPIInstance = new platformAPI(platform,platformPath);

==> After doing this change, it will work correctly!

📗 API Reference Docs Problem

  • Version: ✍️
  • Platform: ✍️
  • Subsystem: ✍️

Location

Section of the site where the content exists

Affected URL(s):

Description

Concise explanation of the problem

✍️


  • I would like to work on this issue and
    submit a pull request.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions