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.

Plain new project shows Unhandled JS Exception: _typeof3 is not a function

See original GitHub issue

Environment

React Native Environment Info: System: OS: macOS High Sierra 10.13.2 CPU: x64 Intel® Core™ i7-3720QM CPU @ 2.60GHz Memory: 122.16 MB / 8.00 GB Shell: 3.2.57 - /bin/bash Binaries: Node: 8.12.0 - ~/.nvm/versions/node/v8.12.0/bin/node Yarn: 1.3.2 - /usr/local/bin/yarn npm: 6.4.1 - ~/.nvm/versions/node/v8.12.0/bin/npm Watchman: 4.9.0 - /usr/local/bin/watchman SDKs: iOS SDK: Platforms: iOS 11.4, macOS 10.13, tvOS 11.4, watchOS 4.3 Android SDK: Build Tools: 23.0.1, 25.0.0, 25.0.2, 26.0.1, 26.0.2, 27.0.3 API Levels: 23, 24, 25, 26, 27 IDEs: Android Studio: 2.3 AI-162.4069837 Xcode: 9.4.1/9F2000 - /usr/bin/xcodebuild npmPackages: react: 16.6.0-alpha.8af6728 => 16.6.0-alpha.8af6728 react-native: 0.57.4 => 0.57.4 npmGlobalPackages: react-native-cli: 2.0.1

Description

I followed instruction steps to start a new project with react-native v0.57.4.

With everything installed correctly (I’ve recheck a few times), I create native project with react-native init MyProject. but then I got this error after build iOS project:

Unhandled JS Exception: _typeof3 is not a function (In '_typeof3(typeof Symbol === "function" ? Symbol.iterator : "@@iterator")', '_typeof3' is an instance of Object)

2018-10-29 3 31 11

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:4
  • Comments:8 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
Val0429commented, Jan 17, 2019

@harrisrobin I reinstall babels to version 7,

  "devDependencies": {
    "@babel/core": "7.0.0",
    "@babel/plugin-proposal-class-properties": "7.0.0",
    "@babel/plugin-proposal-decorators": "7.0.0",
    "@babel/plugin-proposal-object-rest-spread": "7.0.0",
    "@babel/preset-typescript": "7.0.0",
    "@babel/runtime": "7.0.0",
   }

please let me know if that works for you.

1reaction
GuillaumeRZcommented, Mar 9, 2019

I have the exact same error… Adding previous dependencies does not resolved the issue…

Read more comments on GitHub >

github_iconTop Results From Across the Web

Node.js Best Practice Exception Handling - Stack Overflow
I've realized that the Node is terminated whenever I have an unhandled exception in my program. This is different than the normal server...
Read more >
How to Throw Errors From Async Functions in JavaScript?
In the following post you'll learn: how to throw errors from async functions in JavaScript; how to test exception from async functions with...
Read more >
Control flow and error handling - JavaScript - MDN Web Docs
When the exception occurs, control transfers to the catch block. Note: When logging errors to the console inside a catch block, using console....
Read more >
is-plain-object - npm
Use isobject if you only want to check if the value is an object and not an array or null. Usage. with es...
Read more >
Troubleshooting for JavaScript - Sentry Documentation
Debugging Additional Data. You can view the JSON payload of an event to see how Sentry stores additional data in the event. The...
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