Giter VIP home page Giter VIP logo

expo-boilerplate's Issues

ReferenceError: ErrorUtils is not defined

Hello!

I would like to use your nice boilerplate for my expo app. But I'm running into an issue testing your repo code.

Steps
=-=-=-

  1. I cloned your repo.

  2. Ran 'expo install'

  3. Ran 'expo start:web'
    image

  4. Opened http://172.20.10.5:19006/ with Chrome

Expected
-=-=-=-=-=-
To see some UI / UX

Actual
=-==-=-=-

  1. Getting the blank screen in Chrome.

Troubleshooting
-=-=-=-=-=-=-=

  1. DevTools shows the following errors in the console spew

image

  1. It seems the runtime can't reference ErrorUtils

image

Best wishes,
Gleb

Error: error:0308010C:digital envelope routines::unsupported

Describe the bug
When trying to use the boilerplate in web mode, I get anerror:0308010C:digital envelope routines::unsupported error.

› Metro waiting on exp://192.168.1.205:19000
› Scan the QR code above with Expo Go (Android) or the Camera app (iOS)

› Web is waiting on http://localhost:19006

› Press a │ open Android
› Press w │ open web

› Press j │ open debugger
› Press r │ reload app
› Press m │ toggle menu

› Press ? │ show all commands

› Open in the web browser...
› Press ? │ show all commands
node:internal/crypto/hash:71
  this[kHandle] = new _Hash(algorithm, xofLen);
                  ^

Error: error:0308010C:digital envelope routines::unsupported
    at new Hash (node:internal/crypto/hash:71:19)
    at Object.createHash (node:crypto:133:10)
    at module.exports (/home/shift3/Documents/Github/expo-boilerplate/node_modules/webpack/lib/util/createHash.js:135:53)
    at NormalModule._initBuildHash (/home/shift3/Documents/Github/expo-boilerplate/node_modules/webpack/lib/NormalModule.js:417:16)
    at handleParseError (/home/shift3/Documents/Github/expo-boilerplate/node_modules/webpack/lib/NormalModule.js:471:10)
    at /home/shift3/Documents/Github/expo-boilerplate/node_modules/webpack/lib/NormalModule.js:503:5
    at /home/shift3/Documents/Github/expo-boilerplate/node_modules/webpack/lib/NormalModule.js:358:12
    at /home/shift3/Documents/Github/expo-boilerplate/node_modules/loader-runner/lib/LoaderRunner.js:373:3
    at iterateNormalLoaders (/home/shift3/Documents/Github/expo-boilerplate/node_modules/loader-runner/lib/LoaderRunner.js:214:10)
    at Array.<anonymous> (/home/shift3/Documents/Github/expo-boilerplate/node_modules/loader-runner/lib/LoaderRunner.js:205:4)
    at Storage.finished (/home/shift3/Documents/Github/expo-boilerplate/node_modules/webpack/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:55:16)
    at /home/shift3/Documents/Github/expo-boilerplate/node_modules/webpack/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:91:9
    at /home/shift3/Documents/Github/expo-boilerplate/node_modules/graceful-fs/graceful-fs.js:123:16
    at FSReqCallback.readFileAfterClose [as oncomplete] (node:internal/fs/read_file_context:68:3) {
  opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ],
  library: 'digital envelope routines',
  reason: 'unsupported',
  code: 'ERR_OSSL_EVP_UNSUPPORTED'
}

Node.js v18.15.0
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

To Reproduce
Steps to reproduce the behavior:

  1. expo start
  2. select w
  3. See error

Expected behavior
I expect the boilerplate to work in web mode.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: Ubuntu 22.04
  • Browser Firefox
  • Version 111

Smartphone (please complete the following information):
None

Additional context
I was able to get the android app working.

Which version of node is this project working under?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.