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

Can't find variable URL #9615

Closed
jaggerwang opened this issue Aug 27, 2016 · 6 comments
Closed

Can't find variable URL #9615

jaggerwang opened this issue Aug 27, 2016 · 6 comments
Labels
Ran Commands One of our bots successfully processed a command. Resolution: Locked This issue was locked by the bot.

Comments

@jaggerwang
Copy link

Environment

iOS
[email protected]
[email protected]

Error

Can't find variable: URL
image

Related code

image

Analyze

It did working before, and suddenly it came out. It seems like babel not transforming correctly, I've also tried "react-native start --reset-cache".

@gmuraleekrishna
Copy link
Contributor

@jaggerwang in line no. 13 you seem to be using URL module which is not imported yet.

@satya164
Copy link
Contributor

@facebook-github-bot stack-overflow

@ghost
Copy link

ghost commented Aug 27, 2016

Hey @jaggerwang and thanks for posting this! @satya164 tells me this issue looks like a question that would be best asked on StackOverflow. StackOverflow is amazing for Q&A: it has a reputation system, voting, the ability to mark a question as answered. Because of the reputation system it is likely the community will see and answer your question there. This also helps us use the GitHub bug tracker for bugs only. Will close this as this is really a question that should be asked on SO.

@ghost ghost added the For Stack Overflow label Aug 27, 2016
@ghost ghost closed this as completed Aug 27, 2016
@ghost ghost added the Ran Commands One of our bots successfully processed a command. label Aug 27, 2016
@tetratorus
Copy link

@jaggerwang, I had the same problem.

URL was working because I had the Remote JS Debugger running in Chrome.

@jaggerwang
Copy link
Author

Install npm package url to fix this.

@Naoto-Ida
Copy link

Naoto-Ida commented Feb 13, 2017

The correct answer to this should be installing url-parse.

@facebook facebook locked as resolved and limited conversation to collaborators May 24, 2018
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Jul 19, 2018
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Ran Commands One of our bots successfully processed a command. Resolution: Locked This issue was locked by the bot.
Projects
None yet
Development

No branches or pull requests

6 participants