Jump to content
McKay Development

Is there any way to use steam-user in browser context? I wanted to use it together with react but I get some errors like 'process is not defined' because of some libs that it uses, is there any way around this to use it in the web context?


matwbug

Recommended Posts

Oh really? I did a good search and didn't find anything helping to use it with react, if you can send me a link or tell me some forum on github that this is discussed

1 hour ago, Epic said:

Você precisa do NodeJS (com, por exemplo, Express) rodando nas costas para isso. 

Existem toneladas de informações, tutoriais, guias, etc. sobre como fazê-lo funcionar com o react.

Oh really? I did a good search and didn't find anything helping to use it with react, if you can send me a link or tell me some forum on github that this is discussed

Link to comment
Share on other sites

Sorry, that last part might have been a bit misleading:

You cannot run steam-user in a browser. You need nodejs for that.

If you have never worked with nodejs before, then just search for something like "nodejs react", etc. and you should find plenty of guides online.

Link to comment
Share on other sites

  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...