Clarifai / clarifai-nodejs-grpc

Clarifai gRPC NodeJS client
https://docs.clarifai.com
Other
46 stars 6 forks source link

Fail to build in typescript #24

Closed joseph1125 closed 3 years ago

joseph1125 commented 3 years ago

After I import your library and trying to build, following error occurs

node_modules/clarifai-nodejs-grpc/proto/clarifai/api/service_grpc_pb.d.ts:7:23 - error TS2307: Cannot find module 'grpc' or its corresponding type declarations.

7 import * as grpc from "grpc";
                        ~~~~~~

Found 1 error.
aleksander-clarifai commented 3 years ago

Hello @joseph1125,

We want to apologize for the inconvenience. Fix will be applied in the next version.

Best Regards, Aleksander