Closed igorpupkinable closed 2 years ago
The fix is to add peer dependency to @percy/puppeteer package.json
"peerDependencies": {
"@percy/core": "^1.1.2",
"puppeteer": ">=1"
},
"peerDependenciesMeta": {
"@percy/core": {
"optional": true
}
},
This issue is stale because it has been open for more than 14 days with no activity. Remove stale label or comment or this will be closed in 14 days.
This issue was closed because it has been stalled for 28 days with no activity.
The problem
I am working on a common library for our 12 projects setup. There is an error compiling TypeScript due to missing
@percy/core
dependency.Environment
@percy/cli
version: N/ADetails
@percy/puppeteer
has@percy/core
listed as a development dependency, but should be also an optional peer dependency for TS users.Debug logs
Code to reproduce issue
Package manifest:
Helper function: