-
Notifications
You must be signed in to change notification settings - Fork 24.8k
Closed
Labels
BugResolution: LockedThis issue was locked by the bot.This issue was locked by the bot.Tech: Bundler 📦This issue is related to the bundler (Metro, Haul, etc) used.This issue is related to the bundler (Metro, Haul, etc) used.
Description
🐛 Bug Report
Image not seen when we have spaces in file name.
Detailed error:
Error: Asset not found: C:\projects\AwesomeProject\Images\img%20test.png for platform:
android
at C:\projects\AwesomeProject\node_modules\metro\src\Assets.js:147:13
at Generator.next (<anonymous>)
at step (C:\projects\AwesomeProject\node_modules\metro\src\Assets.js:326:347)
at C:\projects\AwesomeProject\node_modules\metro\src\Assets.js:326:507
To Reproduce
Just render Image component with source for an image with spaces in name.
Expected Behavior
Image should be rendered without errors.
Code Example
link to github example
Environment
React Native Environment Info:
System:
OS: Windows 10
CPU: (8) x64 Intel(R) Core(TM) i7-3770 CPU @ 3.40GHz
Memory: 4.18 GB / 23.88 GB
Binaries:
Yarn: 1.7.0 - C:\Program Files (x86)\Yarn\bin\yarn.CMD
npm: 6.4.1 - C:\Program Files\nodejs\npm.CMD
Metadata
Metadata
Assignees
Labels
BugResolution: LockedThis issue was locked by the bot.This issue was locked by the bot.Tech: Bundler 📦This issue is related to the bundler (Metro, Haul, etc) used.This issue is related to the bundler (Metro, Haul, etc) used.