question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Expo SDK 34 error with FileSystem.writeAsStringAsync

See original GitHub issue

Hi, We are trying to upgrade to Expo 34 (to get now required play store 64 bit app). We are seeing this error that seems to be caused by:

import ExpoTHREE from "expo-three"; The error is:

undefined is not an object (evaluating '_expo.FileSystem.writeAsStringAsync')

Stack trace start:

<unknown>
C\User\....app_path...\node_modules\@expo\browser-polyfill\src\DOM\HTMLImageElement.js3:8

package.json:

"expo-three": "^4.0.3",

Any ideas?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:2
  • Comments:7 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
jasonkvcommented, Aug 7, 2019

Pulled down this PR https://github.com/expo/expo-three/pull/115 and that gets the error to go away but now getting a new error.

The new error is:

ExpoTHREE.loadAsync(require(‘someObjFile’));

[TypeError: undefined is not a constructor (evaluating 'new _Three.default.OBJLoader()')]

0reactions
EvanBaconcommented, Jun 4, 2020

Fixed in latest 5.5.1

Read more comments on GitHub >

github_iconTop Results From Across the Web

FileSystem - Expo Documentation
The string which allows the api to resume a paused download. This is set on the DownloadResumable object automatically when a download is...
Read more >
react-native Expo FileSystem.downloadAsync respond 400 ...
Show activity on this post. my problem is i had 400 bad request when i try to download a file using expo filesystem....
Read more >
How to use the expo-file-system.writeAsStringAsync function ...
Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues...
Read more >
Local Storage Solutions Needed (React-Native + Expo) - Reddit
I'm using Expo and trying not to use any native ios/android code. ... import { FileSystem } from "expo"; // Based on https://snack.expo.io/@ ......
Read more >
React Native Signature Component based WebView Canvas
Installation(for React Native V0.60.0 or Expo SDK v35.0.0) ... If you use expo, you can use expo-file-system for save base64 image as local...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found