question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can't build in Angular with errors in types/postprocessing.d.ts

See original GitHub issue

I’m having issues with building after including the EffectComposer.

I assume I’m doing something wrong because I haven’t found any results about this. But I have no idea where to look, the error is as follows:

In an empty Angular project I install three, @types/three and postprocessing.

import {EffectComposer} from 'postprocessing' triggers the following errors:

'fullscreenMaterial' is defined as an accessor in class 'Pass', but is overridden here in 'AdaptiveL
uminancePass' as an instance property.
'fullscreenMaterial' is defined as an accessor in class 'Pass', but is overridden here in 'CopyPass'
 as an instance property.
'fullscreenMaterial' is defined as an accessor in class 'Pass', but is overridden here in 'DepthCopy
Pass' as an instance property.
... and many more 

Does someone know where I have to look?

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
Cloovcommented, Sep 1, 2022

Good news: no more errors for me, personally, upon updating to postprocessing@6.28.7. Thanks for the update!

1reaction
vanruesccommented, Aug 31, 2022

The types have been updated and validated in postprocessing@6.28.7. Please check again if the reported issue still persists.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Build: '(' expected in *.d.ts files. Cannot compile TypeScript ...
I was getting this error TS110 Build Typescript expected core.d.ts only when building Visual Studio. When Visual Studio builds it uses the ...
Read more >
Identify and Fix Build and Deployment Errors in Your Angular ...
In this guide, you will learn how to spot some of the most common build and deployment errors and how to resolve them...
Read more >
TypeScript configuration - Angular
When the compiler doesn't recognize something, it reports an error. Use TypeScript type definition files — d.ts files — to tell the compiler...
Read more >
Angular compiler options
ts file is supplied without a libraryIndex , an error is produced. A flat module index .d.ts and .js is created with the...
Read more >
Deployment - Angular
Simple deployment optionslink. Before fully deploying your application, you can test the process, build configuration, and deployed behavior by using one of ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found