-
Notifications
You must be signed in to change notification settings - Fork 232
Closed
Labels
Description
git clone https://github.com/prisma/serverless-plugin-typescript.git
cd serverless-plugin-typescript/example
npm install
Gives npm WARN [email protected] requires a peer of typescript@>=2.2.2 but none is installed. You must install peer dependencies yourself. warning.
npx serverless deploy -v throws Serverless plugin "serverless-plugin-typescript" initialization errored: Cannot find module 'typescript'
My npm version: 6.9.0.
Looks like npm ignores
"devDependencies": {
"typescript": "^3.4.1"
installation when the same package in peerDependency exists.
We should update example and README to force user to specify typescript dependency in his package or remove peer dependency.
diegocouto and JackCuthbert