PeculiarVentures / pvutils

pvutils is a set of common utility functions used in various Peculiar Ventures Javascript based projects.
Other
7 stars 13 forks source link

additional loader to handle the result of these loaders. #13

Open sureshreddygovindu opened 2 years ago

sureshreddygovindu commented 2 years ago

our application is working fine before, getting below error after rerun npm install, any idea?

ERROR in ./node_modules/pvutils/build/utils.es.js 12:29 Module parse failed: Unexpected token (12:29) File was processed with these loaders:

sureshreddygovindu commented 2 years ago

`Angular CLI: 8.3.29 Node: 12.14.1 OS: darwin x64 Angular: 8.2.14 ... animations, common, compiler, compiler-cli, core, forms ... language-service, platform-browser, platform-browser-dynamic ... router

Package Version

@angular-devkit/architect 0.803.29 @angular-devkit/build-angular 0.803.29 @angular-devkit/build-optimizer 0.803.29 @angular-devkit/build-webpack 0.803.29 @angular-devkit/core 8.3.29 @angular-devkit/schematics 8.3.29 @angular/cdk 8.2.3 @angular/cli 8.3.29 @angular/http 7.2.16 @angular/material 8.2.3 @ngtools/webpack 8.3.29 @schematics/angular 8.3.29 @schematics/update 0.803.29 rxjs 6.6.7 typescript 3.5.3 webpack 4.39.2`

microshine commented 2 years ago

Please try pvutils@1.1.3.

The problem was in the ?? operator that is not supported in NodeJS v12.