Skip to content
This repository has been archived by the owner on Aug 4, 2021. It is now read-only.

Project no longer builds #25

Open
andrewcartwright1 opened this issue Aug 1, 2021 · 3 comments
Open

Project no longer builds #25

andrewcartwright1 opened this issue Aug 1, 2021 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@andrewcartwright1
Copy link

Hi there,

I have just pulled this down hoping to use it as boilerplate to help me get setup.

The project no longer builds due to a few errors in webpack.config.ts

Argument of type '{ cache: boolean; parallel: true; sourceMap: boolean; }' is not assignable to parameter of type 'TerserPluginOptions'.
  Object literal may only specify known properties, and 'cache' does not exist in type 'TerserPluginOptions'.
Property 'smart' does not exist on type '<Configuration extends object>(firstConfiguration: Configuration | Configuration[], ...configurations: Configuration[]) => Configuration'.
Argument of type '{ tslint: boolean; }' is not assignable to parameter of type 'ForkTsCheckerWebpackPluginOptions'.
  Object literal may only specify known properties, but 'tslint' does not exist in type 'ForkTsCheckerWebpackPluginOptions'. Did you mean to write 'eslint'?
Type 'ExtractCssChunksPlugin' is not assignable to type 'WebpackPluginInstance | ((this: Compiler, compiler: Compiler) => void)'.
  Type 'ExtractCssChunksPlugin' is not assignable to type '(this: Compiler, compiler: Compiler) => void'.
    Type 'ExtractCssChunksPlugin' provides no match for the signature '(this: Compiler, compiler: Compiler): void'.

Was just wondering if you have another up to date version of this boilerplate available? Thank you.

@ShaharHD
Copy link
Owner

ShaharHD commented Aug 1, 2021

This template is really out of date (over 2 years) since I created it and used it in a project.
I'm assuming some packages were updated due to automatic security patching - which is causing the build errors.

sorry... :(

I'll convert the repo to a private repo in the next few days so it won't show up in searches.

@ShaharHD ShaharHD self-assigned this Aug 1, 2021
@ShaharHD ShaharHD added the bug Something isn't working label Aug 1, 2021
@andrewcartwright1
Copy link
Author

Ah man,
That's a shame, this boilerplate was pretty solid!
Thank you for getting back to me

@ShaharHD
Copy link
Owner

ShaharHD commented Aug 1, 2021

That's a shame, this boilerplate was pretty solid!

Yep... back then I couldn't find anything like that which is why I created this repo (which allowed built-in debug inside vscode with breakpoints and full typescript support).

I would suggest you maybe try to use this is a basis for a new template - the debug and launch portion should still be valid.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants