Skip to content

Commit acf5d87

Browse files
ryanlinkcsasarakspatten
authored
Add caveat about pnpm v9 lockfile incompatibility (#1494)
* Add caveat about pnpm v9 lockfiles * Remove link to pnpm issue comment, add CTA to email support --------- Co-authored-by: Christopher Sasarak <[email protected]> Co-authored-by: Scott Patten <[email protected]>
1 parent 39cdf41 commit acf5d87

File tree

1 file changed

+8
-1
lines changed
  • docs/references/strategies/languages/nodejs

1 file changed

+8
-1
lines changed

docs/references/strategies/languages/nodejs/pnpm.md

+8-1
Original file line numberDiff line numberDiff line change
@@ -161,10 +161,17 @@ CLI will infer the package name and version using `/${dependencyName}/${dependen
161161
You can explicitly specify an analysis target in `.fossa.yml` file. The example below will exclude all analysis targets except for pnpm.
162162

163163
```yaml
164-
# .fossa.yml
164+
# .fossa.yml
165165
166166
version: 3
167167
targets:
168168
only:
169169
- type: pnpm
170170
```
171+
### Are all versions of `pnpm` supported?
172+
173+
At this time, the latest version of pnpm (v9) and its associated v9 lockfiles are not correctly parsed by FOSSA. Please revert to v8 (v6 lockfile) if your dependencies are not resolved in the FOSSA UI: "FOSSA was unable to analyze this dependency. If it is behind a private registry or auth you may need to configure FOSSA's access, then rebuild this dependency." This is due to the version number being appended to the package name:
174+
175+
<img width="796" alt="image" src="https://github.com/user-attachments/assets/d1461506-d3e7-42da-b9be-2b53a87f79f1" />
176+
177+
Please [email](mailto:[email protected]) FOSSA support if you are affected by this limitation.

0 commit comments

Comments
 (0)