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

Error with transform-runtime #583

Closed
darklilium opened this issue May 18, 2017 · 1 comment
Closed

Error with transform-runtime #583

darklilium opened this issue May 18, 2017 · 1 comment

Comments

@darklilium
Copy link

Hello,
I have made some code for connecting my ms sql database with mssql lib in a file called server.js
The files i have u can find them here: https://gist.github.com/darklilium/a4dafd836b623488bd0a5085678b4054

When i run

$ node other.js

My code works and i have the response that i want.
If i want to import the "sqlQuery" function that i have made to call it in a React App, at exporting, im having the following error:

image

the code im doing for that is:

import sql from '../services/server.js';

And i want to do something that i have in "others.js" file showed in my gist.

Thanks in advice for ur help!

@Suraiya-Hameed
Copy link
Member

@darklilium this bug is fixed in React, you can follow it in facebook/react-native#14530

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants