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.

Build error with latest @types/jquery version - 3.2.0

See original GitHub issue

Hi Team,

The latest builds with webpack are failing since last 12 hours for 17.1.3 version.

I looked into the issue and found that the latest version for @types/jquery (version - 3.2.0) is causing the issue. I found this thread for the same.

Then I looked into the package.json for devextreme and I believe below is the issue:

"devDependencies": {
    "@types/jquery": "^2.0.34",
    .....
}

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:2
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

3reactions
GoshaFightencommented, Jun 20, 2017

@mustafasadikot @StephanHartmann It looks like jQuery updated their typings so that they need TypeScript 2.3+. At the moment, explicitly specify a version of the @types/jquery package to 2.0.34 or upgrade your TypeScript version to 2.3+. We will think about a better solution from our side in version 17.2 because if we apply corresponding changes now, it will be a breaking change for existing projects.

1reaction
GoshaFightencommented, Jun 27, 2017

@NN--- It looks like this is a fix for the Cannot find name 'Iterable' error. But, it does not fix the ',' expected error.

dximage

Read more comments on GitHub >

github_iconTop Results From Across the Web

jQuery Core 3.0 Upgrade Guide
We strongly recommend that you use this plugin as an upgrading tool, it will give specific advice about most of the major changes...
Read more >
How to get TypeScript definitions file for a particular version of ...
ts file on GitHub (the latest version), the first line says Type definitions for jQuery 1.10.x / 2.0.x. There are no types created...
Read more >
@types/jquery - npm
Latest version : 3.5.14, last published: 10 months ago. ... TypeScript icon, indicating that this package has built-in type declarations.
Read more >
types jquery index.d.ts error - DevExpress Support
This issue relates to your TypeScript version. The jQuery TypeScript definition of version 3.2+ requires TypeScript of version 2.3+. Make ...
Read more >
jQuery is not defined: Common causes and a simple solution
The most obvious cause of this error is that you forgot to include jQuery before you used it, but there are also more...
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