Skip to content

Package failing #22

@OnurTosyalioglu

Description

@OnurTosyalioglu

After adding package '@sceneview/react-native-sceneform', I got error on metro:

Error: While trying to resolve module @sceneview/react-native-sceneform from file /Volumes/Untitled/ar/svtemplate2/App.js, the package /Volumes/Untitled/ar/svtemplate2/node_modules/@sceneview/react-native-sceneform/package.json was successfully found. However, this package itself specifies a main module field that could not be resolved (/Volumes/Untitled/ar/svtemplate2/node_modules/@sceneview/react-native-sceneform/src\index.js. Indeed, none of these files exist:

Screen Shot 2022-07-21 at 21 30 30

What I tried is

  • change react-native version upgrade/downgrade
  • clean & reinstall node_modules & gradle clean & uninstall/reinstall app

! examples work with source, but installing package and run fails

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