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.

type definition file error 1.0.0-alpha.12

See original GitHub issue

I’m seeing /// <reference types="core-js" /> in 1.0.0-alpha.12 from modal-ref.d.ts

ERROR in [default] ./node_modules/@ng-bootstrap/ng-bootstrap/modal/modal-ref.d.ts:1:0
Cannot find type definition file for 'core-js'.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:1
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
pkozlowski-opensourcecommented, Nov 10, 2016

@scttcper you are correct, we’ve just figured it out. We are going to fix it and cut a new release in a few hours.

1reaction
scttcpercommented, Nov 10, 2016

@pkozlowski-opensource i think you’ll have to drop @types/core-js It will throw errors for promises, ect… but you can silence those by adding "lib": ["es6", "dom"] to the tsconfig.

Might also need

"types": ["node"]

but i’m not sure.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Cannot find type definition file for 'node' - Stack Overflow
When I run the app with npm start I get the following errors: [at-loader] Cannot find type definition file for 'hammerjs'. [at-loader] Cannot ......
Read more >
error TS2688: Cannot find type definition file for...random paths.
These errors occur when you have subdirectories of a typeRoots directory (in this case node_modules/@types ) that do not contain index.d.ts ...
Read more >
MDK5 Software Packs - Keil
Keil makes C compilers, macro assemblers, real-time kernels, debuggers, simulators, integrated environments, evaluation boards, and emulators for the ARM, ...
Read more >
NuGet Package Version Reference - Microsoft Learn
Exact details on specifying version numbers and ranges for other packages upon which a NuGet package depends, and how dependencies are ...
Read more >
Compose Material 3 | Android Developers
Add the dependencies for the artifacts you need in the build.gradle file for your app or module: ... androidx.compose.material3:material3:1.0.0-alpha12 and ...
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