-
Notifications
You must be signed in to change notification settings - Fork 932
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Environment
React Native Environment Info:
System:
OS: macOS 10.14.4
CPU: (8) x64 Intel(R) Core(TM) i7-4770HQ CPU @ 2.20GHz
Memory: 26.78 MB / 16.00 GB
Shell: 5.3 - /bin/zsh
Binaries:
Node: 10.15.0 - ~/.nvm/versions/node/v10.15.0/bin/node
Yarn: 1.13.0 - /usr/local/bin/yarn
npm: 6.9.0 - ~/.nvm/versions/node/v10.15.0/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
SDKs:
iOS SDK:
Platforms: iOS 12.2, macOS 10.14, tvOS 12.2, watchOS 5.2
Android SDK:
API Levels: 21, 22, 23, 24, 25, 26, 27, 28
Build Tools: 22.0.1, 23.0.3, 24.0.3, 25.0.3, 26.0.3, 27.0.3, 28.0.2, 28.0.3
System Images: android-27 | Google APIs Intel x86 Atom, android-28 | Google APIs Intel x86 Atom
IDEs:
Android Studio: 3.4 AI-183.5429.30.34.5452501
Xcode: 10.2/10E125 - /usr/bin/xcodebuild
npmPackages:
react: 16.8.3 => 16.8.3
react-native: git+ssh://git@code.timehouse.build:frontend-rn/react-native.git#wind-0.59-stable => 0.59.15
npmGlobalPackages:
react-native-cli: 2.0.1
Description
error Cannot read property 'update' of undefined
debug TypeError: Cannot read property 'update' of undefined
at new Server (/Users/yinhf/work/wind/wired-app/node_modules/metro/src/Server.js:675:29)
at buildBundle (/Users/yinhf/work/wind/wired-app/node_modules/@react-native-community/cli/build/commands/bundle/buildBundle.js:91:18)
Server.js
if (this._config.resetCache) {
this._config.cacheStores.forEach(store => store.clear());
this._config.reporter.update({
type: "transform_cache_reset"
});
}
Reproducible Demo
maybe this pr #371 causes the reporter to be empty
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working