question

Sean Murphy avatar image
Sean Murphy asked

Wix playfab sdk cannot find module url

Cannot find module 'url' in 'playfab-sdk/Scripts/PlayFab'

I've installed it via the NPM installer, and any reference to it throws the above error.
I followed this Other answer and was not able to get any solution

It doesn't throw the error until i reference.

I'm not a web developer so i'm not entirely sure what i'm doing wrong. Any direction would be helpful.

Thanks

apis
kswck.png (5.8 KiB)
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Sean Murphy avatar image
Sean Murphy answered

Answer -

It can only be called from backend functions. Otherwise you can't call them even though it'll let you import them.

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Sean Murphy avatar image
Sean Murphy answered

Adding a bump to this in order to get it seen as i'm still having trouble with it

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.