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
Every bug report should have precise description and reproduction steps; console traces or source code references are appreciated.
For assistance requests, contact Azure support or submit a post on Stack Overflow. We don't provide support through GitHub Issues. Feature requests can be raised on the Azure Feedback Forum.
Release tag or commit SHA (if using self-hosted version)
2.10.0 and master branch
API Management service name
apim-d-c20683868b2f18a00
Environment
OS X
Additional context
Same happens,
➜ api-management-developer-portal-github git:(heads/2.10.0) ✗ npm run build
> apim-developer-portal@2.0.0 build /Users/rbo2abt/Development/api-management-developer-portal-github
> webpack --config webpack.build.js
Invalid options object. Terser Plugin has been initialized using an options object that does not match the API schema.
- options has an unknown property 'sourceMap'. These properties are valid:
object { test?, include?, exclude?, parallel?, minify?, terserOptions?, extractComments? }
ValidationError: Invalid options object. Terser Plugin has been initialized using an options object that does not match the API schema.
at validate (/Users/rbo2abt/Development/api-management-developer-portal-github/node_modules/schema-utils/dist/validate.js:104:11)
at new TerserPlugin (/Users/rbo2abt/Development/api-management-developer-portal-github/node_modules/terser-webpack-plugin/dist/index.js:32:31)
at Object.<anonymous> (/Users/rbo2abt/Development/api-management-developer-portal-github/webpack.build.js:11:13)
at Module._compile (/Users/rbo2abt/Development/api-management-developer-portal-github/node_modules/v8-compile-cache/v8-compile-cache.js:194:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1097:10)
at Module.load (internal/modules/cjs/loader.js:933:32)
at Function.Module._load (internal/modules/cjs/loader.js:774:14)
at Module.require (internal/modules/cjs/loader.js:957:19)
at require (/Users/rbo2abt/Development/api-management-developer-portal-github/node_modules/v8-compile-cache/v8-compile-cache.js:161:20)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! apim-developer-portal@2.0.0 build: `webpack --config webpack.build.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the apim-developer-portal@2.0.0 build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/rbo2abt/.npm/_logs/2021-07-12T08_03_08_660Z-debug.log
➜ api-management-developer-portal-github git:(heads/2.10.0) ✗
The text was updated successfully, but these errors were encountered:
Every bug report should have precise description and reproduction steps; console traces or source code references are appreciated.
For assistance requests, contact Azure support or submit a post on Stack Overflow. We don't provide support through GitHub Issues. Feature requests can be raised on the Azure Feedback Forum.
Bug description
A clear and concise description of the bug.
Reproduction steps
Expected behavior
A build should be created.
Is your portal managed or self-hosted?
Self-hosted
Release tag or commit SHA (if using self-hosted version)
2.10.0 and master branch
API Management service name
apim-d-c20683868b2f18a00
Environment
Additional context
Same happens,
The text was updated successfully, but these errors were encountered: