Error building Nest-Applications: Please specify a regular expression as the pattern property on the plugin options.
See original GitHub issuePrerequisites
Expected Behavior
Please describe the behavior you are expecting
Current Behavior
Building Nest Applications is not possible any more after upgrade to v8.8.0. It fails with the following error:
An unhandled exception occurred: license-webpack-plugin: Please specify a regular expression as the pattern property on the plugin options.
Steps to Reproduce
- Create a new application with NestJs:
ng generate @nrwl/nest:application test-api - Build it with
ng build --prod --project test-api - Error occurs.
Context
@nrwl/angular : 8.8.0
@nrwl/cli : 8.8.0
@nrwl/cypress : 8.8.0
@nrwl/eslint-plugin-nx : Not Found
@nrwl/express : Not Found
@nrwl/jest : 8.8.0
@nrwl/linter : 8.8.0
@nrwl/nest : 8.8.0
@nrwl/next : Not Found
@nrwl/node : 8.8.0
@nrwl/react : Not Found
@nrwl/schematics : Not Found
@nrwl/tao : 8.8.0
@nrwl/web : Not Found
@nrwl/workspace : 8.8.0
typescript : 3.5.3
"@nestjs/common": "6.10.1",
"@nestjs/core": "6.10.1",
"@nestjs/platform-express": "6.10.1",
"@nestjs/platform-socket.io": "6.10.1",
"@nestjs/swagger": "3.1.0",
"@nestjs/websockets": "6.5.3",
"@nestjs/schematics": "6.7.0",
"@nestjs/testing": "6.8.3"
Node.js: v12.10.0
Issue Analytics
- State:
- Created 4 years ago
- Reactions:8
- Comments:6 (4 by maintainers)
Top Results From Across the Web
re — Regular expression operations — Python 3.11.1 ...
Source code: Lib/re/ This module provides regular expression matching operations similar to those found in Perl. Both patterns and strings to be searched ......
Read more >Regex Class (System.Text.RegularExpressions)
Represents an immutable regular expression. ... Main() { // Get the en-US NumberFormatInfo object to build the regular // expression pattern dynamically.
Read more >jQuery validate: How to add a rule for regular expression ...
addMethod( "regex", function(value, element, regexp) { var re = new ... The pattern function is now the preferred way to do this, making...
Read more >NSRegularExpression | Apple Developer Documentation
The following tables describe the character expressions used by the regular expression to match patterns within a string, the pattern operators that specify...
Read more >Documentation: 15: 9.7. Pattern Matching - PostgreSQL
This is not in the SQL standard but is a PostgreSQL extension. ... specifies a character class, just as in POSIX regular expressions....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Here is a workaround, only if you don’t care about extracting license files.
In your
angular.jsonfile, setextractLicensestofalsein theproductionconfiguration section:Thank you for your report 😃 We will fix the schematic soon