You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
git clone https://github.com/prisma/serverless-plugin-typescript.git
cd serverless-plugin-typescript/example
npm install
Gives npm WARN serverless-plugin-typescript@1.1.7 requires a peer of typescript@>=2.2.2 but none is installed. You must install peer dependencies yourself. warning.
Gives
npm WARN serverless-plugin-typescript@1.1.7 requires a peer of typescript@>=2.2.2 but none is installed. You must install peer dependencies yourself.
warning.npx serverless deploy -v
throwsServerless plugin "serverless-plugin-typescript" initialization errored: Cannot find module 'typescript'
My npm version:
6.9.0
.Looks like npm ignores
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.
The text was updated successfully, but these errors were encountered: