Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NavigationExperimental results in Unexpected character '�' #12056

Closed
nicolabortignon opened this issue Jan 24, 2017 · 2 comments
Closed

NavigationExperimental results in Unexpected character '�' #12056

nicolabortignon opened this issue Jan 24, 2017 · 2 comments
Labels
Resolution: Locked This issue was locked by the bot.

Comments

@nicolabortignon
Copy link

nicolabortignon commented Jan 24, 2017

Xcode (Version 8.2.1) doesn't seams to be happy with some images file in NavigationExperimental, specifically:

2017-01-24 09:37:41.459736 RNFashion[2712:835313] Initializing <RCTBatchedBridge: 0x170197c40> (parent: <RCTBridge: 0x1700b6020>, executor: RCTJSCExecutor)
2017-01-24 09:37:41.663 [warn][tid:NSOperationQueue 0x170037fa0 :: NSOperation 0x17004a0e0 (QOS: DEFAULT)][RCTBatchedBridge.m:110] Failed to load source: Error Domain=JSServer Code=500 "SyntaxError /Users/nicolabortignon/dev/RNFashion/node_modules/react-native/Libraries/CustomComponents/NavigationExperimental/assets/back-icon@1.5x.ios.png: Unexpected character '�' (1:0)" UserInfo={stack=(
        {
        file = "/Users/nicolabortignon/dev/RNFashion/node_modules/react-native/Libraries/CustomComponents/NavigationExperimental/assets/back-icon@1.5x.ios.png";
        lineNumber = 1;
        methodName = "/Users/nicolabortignon/dev/RNFashion/node_modules/react-native/Libraries/CustomComponents/NavigationExperimental/assets/back-icon@1.5x.ios.png: Unexpected character '\Ufffd' (1:0)";
    }
), NSLocalizedDescription=SyntaxError /Users/nicolabortignon/dev/RNFashion/node_modules/react-native/Libraries/CustomComponents/NavigationExperimental/assets/back-icon@1.5x.ios.png: Unexpected character '�' (1:0)}
2017-01-24 09:37:41.663356 RNFashion[2712:835366] Failed to load source: Error Domain=JSServer Code=500 "SyntaxError /Users/nicolabortignon/dev/RNFashion/node_modules/react-native/Libraries/CustomComponents/NavigationExperimental/assets/back-icon@1.5x.ios.png: Unexpected character '�' (1:0)" UserInfo={stack=(
        {
        file = "/Users/nicolabortignon/dev/RNFashion/node_modules/react-native/Libraries/CustomComponents/NavigationExperimental/assets/back-icon@1.5x.ios.png";
        lineNumber = 1;
        methodName = "/Users/nicolabortignon/dev/RNFashion/node_modules/react-native/Libraries/CustomComponents/NavigationExperimental/assets/back-icon@1.5x.ios.png: Unexpected character '\Ufffd' (1:0)";
    }
), NSLocalizedDescription=SyntaxError /Users/nicolabortignon/dev/RNFashion/node_modules/react-native/Libraries/CustomComponents/NavigationExperimental/assets/back-icon@1.5x.ios.png: Unexpected character '�' (1:0)}
2017-01-24 09:37:41.665 [fatal][tid:main] SyntaxError /Users/nicolabortignon/dev/RNFashion/node_modules/react-native/Libraries/CustomComponents/NavigationExperimental/assets/back-icon@1.5x.ios.png: Unexpected character '�' (1:0)
2017-01-24 09:37:41.665095 RNFashion[2712:835313] SyntaxError /Users/nicolabortignon/dev/RNFashion/node_modules/react-native/Libraries/CustomComponents/NavigationExperimental/assets/back-icon@1.5x.ios.png: Unexpected character '�' (1:0)

react-native-cli: 2.0.1
react-native: 0.40.0
(strangely enough it was building fine 2 weeks ago).

@nicolabortignon nicolabortignon changed the title Unexpected character '�' NavigationExperimental results in Unexpected character '�' Jan 24, 2017
@nicolabortignon
Copy link
Author

stop the server and execute react-native start again will resolve this problem.

There is a bug in the packager, that degrade the performance if left open.
Probably related to
#6691

I would keep this issue open and try to solve the deeper bug in the packager.

@hramos
Copy link
Contributor

hramos commented May 25, 2017

Closing this issue because it has been inactive for a while. If you think it should still be opened let us know why.

@hramos hramos closed this as completed May 25, 2017
@hramos hramos added the Icebox label May 26, 2017
@facebook facebook locked as resolved and limited conversation to collaborators May 29, 2018
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Jul 19, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Resolution: Locked This issue was locked by the bot.
Projects
None yet
Development

No branches or pull requests

3 participants