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.

Unable to resolve module 'scheduler/tracing'

See original GitHub issue

Environment

React Native Environment Info: System: OS: macOS High Sierra 10.13.6 CPU: x64 Intel® Core™ i5-5257U CPU @ 2.70GHz Memory: 73.24 MB / 8.00 GB Shell: 5.3 - /bin/zsh Binaries: Node: 9.11.1 - /usr/local/bin/node npm: 6.4.1 - /usr/local/bin/npm Watchman: 4.9.0 - /usr/local/bin/watchman SDKs: iOS SDK: Platforms: iOS 12.0, macOS 10.14, tvOS 12.0, watchOS 5.0 IDEs: Android Studio: 3.0 AI-171.4443003 Xcode: 10.0/10A255 - /usr/bin/xcodebuild npmPackages: react: 16.6.0-alpha.0 => 16.6.0-alpha.0 react-native: 0.57.3 => 0.57.3 npmGlobalPackages: create-react-native-app: 1.0.0 react-native-cli: 2.0.1

Description

After I upgraded to 0.57.3, I get this error after running react-native ios

error: bundling failed: Error: Unable to resolve module scheduler/tracing from node_modules/react-native/Libraries/Renderer/oss/ReactNativeRenderer-dev.js: Module scheduler/tracing does not exist in the Haste module map

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:11
  • Comments:7

github_iconTop GitHub Comments

5reactions
TwistedMindacommented, Oct 15, 2018

rm -rf node_modules && npm install

Anyway when there is a dependency error, it is npm-related. And if it ever worked with the same package.json, it can probably be resolved using this command.

3reactions
smoothdvdcommented, Oct 15, 2018

@quynhnguyen68 I fix the issue follow this link https://github.com/facebook/react-native/issues/21150#issuecomment-429305215

Change react version to “16.6.0-alpha.8af6728”

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unable to resolve module `scheduler/tracing` react native
This type of error comes due to dependency related issues. Just try to remove node_module and try to re-install the node_module.
Read more >
scheduler - npm
Start using scheduler in your project by running `npm i scheduler`. There are 691 other projects in the npm registry using scheduler.
Read more >
[Solved]-Module `scheduler/tracing` does not exist in the ...
Coding example for the question Module `scheduler/tracing` does not exist in the Haste module map Error in react-native-node.js.
Read more >
Module not found: Can't resolve 'react-dom' error | bobbyhadz
To solve the error "Module not found: Error: Can't resolve 'react-dom'", make sure to install the react-dom package by opening your terminal in...
Read more >
Module `scheduler/tracing` does not exist in the ... - CSDN博客
React Native (一)出现bundling failed: Error: Unable to resolve module scheduler/tracing from ...
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