Skip to content

Lack of fields in package.json of tns core module - utils #4956

Closed
@bigradish

Description

@bigradish

The package.json of the "utils" tns core module is as follows:

{
"nativescript": {}
}

When importing or requiring the utils module, it fails, for the package.json lacks name, main, types fields.
I've not checked all other modules, and don't know if other modules also have this issue. Please check thoroughly. Thank you.

More info:

  • CLI: 3.2.1
  • Cross-platform modules: 3.2.0
  • Runtime(s): 3.2.0
  • Plugin(s): no plugin used

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions