GaryB432 / gb-generators

my Yeoman generators
ISC License
9 stars 2 forks source link

Error running webpack-ts #26

Closed Keating950 closed 3 years ago

Keating950 commented 3 years ago

I get the following error running the webpack-ts generator, but only when declining to include a Workbox service worker and selecting 'None' for the testing library:

Output [REDACTED] is where I have node installed, naturally. node:events:356 throw er; // Unhandled 'error' event ^ TypeError: Converting circular structure to JSON --> starting at object with constructor 'Environment' | property '_rootGenerator' -> object with constructor 'default_1' | property 'options' -> object with constructor 'Object' --- property 'env' closes the circle at JSON.stringify () at default_1.writing ([REDACTED]/lib/node_modules/generator-webpack-ts/generators/tester/index.js:72:38) at Object. ([REDACTED]/lib/node_modules/generator-webpack-ts/node_modules/yeoman-generator/lib/index.js:991:25) at [REDACTED]/lib/node_modules/generator-webpack-ts/node_modules/run-async/index.js:49:25 at new Promise ( ([REDACTED]/lib/node_modules/generator-webpack-ts/node_modules/yeoman-generator/lib/index.js:1022:2>
GaryB432 commented 3 years ago

thanks for reporting this! 6.15.2 should work for you