Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
382 views
in Technique[技术] by (71.8m points)

azure devops - BUILD ERROR in NPM release step AzureDevOps: [object Object] is not a PostCSS plugin

We are encountering following issue in the Build step of NPM release.

We tried hardcoding the npm version from earlier successful release but it didn't work.

Error: [object Object] is not a PostCSS plugin
 at Processor.normalize (D:agent1\_work
71aswagger-codegen
ode_modulespostcsslibprocessor.js:145:15)
 at new Processor (D:agent1\_work
71aswagger-codegen
ode_modulespostcsslibprocessor.js:51:25)
 at postcss (D:agent1\_work
71aswagger-codegen
ode_modulespostcsslibpostcss.js:73:10)
 at createPostCssProcessor (D:agent1\_work
71aswagger-codegen
ode_modules
g-packagrlib
g-v5entry-point
esourcesstylesheet.transform.js:73:12)
 at Object.<anonymous> (D:agent1\_work
71aswagger-codegen
ode_modules
g-packagrlib
g-v5entry-point
esourcesstylesheet.transform.js:36:30)
question from:https://stackoverflow.com/questions/65855676/build-error-in-npm-release-step-azuredevops-object-object-is-not-a-postcss-pl

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

If you want to update npm version in your pipeline, you could try to use the Npm Version command. For example:

enter image description here


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...