crhayes / apollo-engine-reporting-protobuf-missing-types-dep

Reproduction of an issue when using pnpm@3, caused by missing dependency

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Reproduction

The packages must be installed with pnpm@3.8.1:

npm install -g pnpm@3.8.1

Install packages with pnpm

pnpm install --force

Build the project

npm run build

You should then get the following error:

> tsc --project ./server/tsconfig.json --outDir .server

../../common/temp/node_modules/.registry.npmjs.org/apollo-engine-reporting-protobuf/0.4.4/node_modules/apollo-engine-reporting-protobuf/dist/protobuf.d.ts:1:23 - error TS2307: Cannot find module 'long'.

1 import * as Long from "long";
                        ~~~~~~

About

Reproduction of an issue when using pnpm@3, caused by missing dependency


Languages

Language:TypeScript 100.0%