Skip to content
This repository has been archived by the owner on Nov 24, 2022. It is now read-only.

Unable to resolve "./textureAsync" from "node_modules/expo-pixi/lib/spineAsync.js" #62

Open
leonyhenn opened this issue Feb 12, 2019 · 5 comments

Comments

@leonyhenn
Copy link

I run into this error when trying to get the basic example to work. My project info:

"react": "16.5.0",
"react-native": "https://github.com/expo/react-native/archive/sdk-32.0.0.tar.gz",
"expo": "^32.0.0",
"expo-asset-utils": "^1.0.0",
"expo-pixi": "^1.0.0",

I think the bug is in this file:

expo-pixi/lib/spineAsync.js

in line 4,

import textureAsync from './textureAsync';

where I cannot find any file named as "textureAsync".

Please fix it.

@lucadegasperi
Copy link

Same here but with spriteAsync
I'm trying to import PIXI with the following line:

import {PIXI} from 'expo-pixi';

@leonyhenn
Copy link
Author

@lucadegasperi Yeah, 1.0.0 seems have some reference issues

@leonyhenn
Copy link
Author

@EvanBacon

@bmtdh
Copy link

bmtdh commented Feb 14, 2019

I am having a similar issue with the same setup.
screenshot 2019-02-14 at 15 33 30

@pieterbeulque
Copy link
Contributor

This is fixed in master, so point your package.json to that.

npm install --save git+https://git@github.com/expo/expo-pixi.git

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants