Skip to content

Warning when building A-Frame physics system with node 16 #2

Open
@diarmidmackenzie

Description

@diarmidmackenzie

Run npm run dist get this error:

node:35452) [DEP0128] DeprecationWarning: Invalid 'main' field in 'C:\Users\ASUS\Documents\GitHub\AframeCommunity\aframe-physics-system\node_modules\find-parent-dir\package.json' of 'find-parent-dir.js'. Please either fix that or report it to the module author
(Use node --trace-deprecation ... to show where the warning was created)

Seen with node v16.17.0

Looks as though upgrading 0.3.0 to 0.3.1 of find-parent-dir will fix this. I'll try and sort this out with a PR fairly soon.
thlorenz/find-parent-dir#5

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