Package chirpstack-api error in VueJS project

We’re trying to request Chirpstack gRPC API in a VueJS project. First, we install @chirpstack/chirpstack-api package using npm.
Then, we import DeviceServiceClient and ListDevicesRequest in order to use them in the onMounted method.

It gives us the next error:

Uncaught ReferenceError: process is not defined

Is there any tutorial about VueJS and Chirpstack gRPC API?
Or does someone know what this error mean?

Thanks.

process is not defined

That looks like you are trying to do something with something called process (variable, function …) which is undefined…