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

React Native? #1863

Closed
stefanoTron opened this issue Dec 6, 2016 · 1 comment
Closed

React Native? #1863

stefanoTron opened this issue Dec 6, 2016 · 1 comment
Assignees
Labels
type: question Request for information or clarification. Not an issue. web

Comments

@stefanoTron
Copy link

Hi,

Is there a way to make it run with React Native?
I'm running the following code:

var datastore = require('@google-cloud/datastore')({
    projectId: 'xxxx',
    keyFilename: '/xxxx-123456.json'
});
var gstore = require('gstore-node');
gstore.connect(datastore);

But it gives me the following error:

/myProject/node_modules/node-forge/js/forge.js: Deleting local variable in strict mode (53:4)
  at forge.js:53:4
onResponse
    DevServerHelper.java:257
execute
    RealCall.java:126
run
    NamedRunnable.java:32
runWorker
    ThreadPoolExecutor.java:1113
run
    ThreadPoolExecutor.java:588
run
    Thread.java:818

Any help would be appreciated :)

Thanks

@stephenplusplus
Copy link
Contributor

This is similar to #1821, which reported a bug about our compatibility with webpack. We aren't developing our library for compatibility with these libraries, so any chance of it working is a coincidence. The error being reported is from forge.js. Please search around Google & StackOverflow for any clues on how to fix, and if nothing turns up, try reporting on the node-forge repository.

If we decide to support being run on React Native, I will ping you to let you know. For now, feel free to continue working around any bugs you find and share your progress here.

@stephenplusplus stephenplusplus added the type: question Request for information or clarification. Not an issue. label Dec 6, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: question Request for information or clarification. Not an issue. web
Projects
None yet
Development

No branches or pull requests

3 participants