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
I am trying to install changelog plugin and then run semantic-release plugin.
npm install @semantic-release/changelog@v5.0.1 -D
npx semantic-release@17.4.2
But changelog depends on semantic-release and fails with error "npm WARN @semantic-release/changelog@5.0.1 requires a peer of semantic-release@>=15.8.0 <18.0.0 but none is installed. You must install peer dependencies yourself."
So, i run semantic-release and then install changelog then i get error "An error occurred while running semantic-release: Error: Cannot find module '@semantic-release/changelog"
npx semantic-release@17.4.2
npm install @semantic-release/changelog@v5.0.1 -D
here is the .releaserc file
{
"branches": ["feature/abc"],
"plugins":['@semantic-release/commit-analyzer', '@semantic-release/release-notes-generator','@semantic-release/changelog']
}
Please let me know how to resolve this. I understand , i have used older versions , because i had unsupported node js versions needed for latest semantic release
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi Team,
I am trying to install changelog plugin and then run semantic-release plugin.
But changelog depends on semantic-release and fails with error "npm WARN @semantic-release/changelog@5.0.1 requires a peer of semantic-release@>=15.8.0 <18.0.0 but none is installed. You must install peer dependencies yourself."
So, i run semantic-release and then install changelog then i get error "An error occurred while running semantic-release: Error: Cannot find module '@semantic-release/changelog"
here is the .releaserc file
{
"branches": ["feature/abc"],
"plugins":['@semantic-release/commit-analyzer', '@semantic-release/release-notes-generator','@semantic-release/changelog']
}
Please let me know how to resolve this. I understand , i have used older versions , because i had unsupported node js versions needed for latest semantic release
Thanks,
Abhay
Beta Was this translation helpful? Give feedback.
All reactions