You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SyntaxError: /Users/sogko/dev/git.luolix.top-sogko/acme/img/back@2x.png: Unexpected character '�' (1:0)
> 1 | �PNG
| ^
2 |
3 |
4 | IHDR2?��bKGD��������IDATh���A
at Parser.pp.raise (/Users/sogko/dev/git.luolix.top-sogko/acme/node_modules/babylon/lib/parser/location.js:22:13)
at Parser.getTokenFromCode (/Users/sogko/dev/git.luolix.top-sogko/acme/node_modules/babylon/lib/tokenizer/index.js:517:10)
at Parser.readToken (/Users/sogko/dev/git.luolix.top-sogko/acme/node_modules/babylon/lib/tokenizer/index.js:154:19)
at Parser.<anonymous> (/Users/sogko/dev/git.luolix.top-sogko/acme/node_modules/babylon/lib/plugins/jsx/index.js:49:20)
at Parser.readToken (/Users/sogko/dev/git.luolix.top-sogko/acme/node_modules/babylon/lib/plugins/flow.js:168:22)
at Parser.nextToken (/Users/sogko/dev/git.luolix.top-sogko/acme/node_modules/babylon/lib/tokenizer/index.js:144:19)
at Parser.parse (/Users/sogko/dev/git.luolix.top-sogko/acme/node_modules/babylon/lib/parser/index.js:95:10)
at parse (/Users/sogko/dev/git.luolix.top-sogko/acme/node_modules/babylon/lib/index.js:45:47)
at File.parse (/Users/sogko/dev/git.luolix.top-sogko/acme/node_modules/babel-core/lib/transformation/file/index.js:500:34)
at File.parseCode (/Users/sogko/dev/git.luolix.top-sogko/acme/node_modules/babel-core/lib/transformation/file/index.js:585:20)
The text was updated successfully, but these errors were encountered:
Quite a bummer for newcomers. I was just creating my first app and tried to add a logo to a Toolbar, and it crashed. No idea how to "take the image out of the build", and finally decided to google, and ended up here.
Such a basic thing (adding an image to the project) crashes the dev server? 🙄
Description
Steps
react-native run-ios
Solution / Workaround
Simply restart
React Packager
.react-native run-ios
Related issues
Error logs
The text was updated successfully, but these errors were encountered: