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.

Differ in casing (node.js)

See original GitHub issue

There are multiple modules with names that only differ in casing. This can lead to unexpected behavior when compiling on a filesystem with other case-semantic. Use equal casing. Compare these module identifiers: …\node_modules\admin-lte\plugins\summernote\summernote-bs4.min.js

/*! Summernote v0.8.20 | (c) 2013- Alan Hong and contributors | MIT license */
!function(t,e){if("object"==typeof exports&&"object"==typeof module)module.exports=e(require("jQuery"));else if("function"==typeof define&&define.amd)define(["jQuery"],e);else{var n="object"==typeof exports?e(require("jQuery")):e(t.jQuery);

When change ‘jQuery’ to ‘jquery’, error is resolved. But every new project, this error is occured.

Issue Analytics

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

github_iconTop GitHub Comments

10reactions
YellowFish085commented, Mar 3, 2022

Hello,

Tried to upgrade from 0.8.18 to 0.8.20 and we’re also facing an issue with Webpack on macOS due to 'jQuery' not being resolved.

Adding the following in our Webpack config seems to do the trick:

resolve: {
   alias: {
      jQuery: 'jquery',
   },
}

I don’t know if this will work on all OS but at least it worked on our mac, if this can help people in the same situation.

4reactions
Casmocommented, Jan 26, 2022

For those running into this problem, lock the version to 0.8.16 and it works.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Multiple modules with names that only differ in casing when ...
Use equal casing. Compare these module identifiers: * D:\Documents\Code\etutorr\node_modules\babel-loader\lib\index.js??ref--6-oneOf-2!
Read more >
Working with Different Filesystems - Node.js
Node.js exposes many features of the filesystem. But not all filesystems are alike. The following are suggested best practices to keep your code...
Read more >
Webpack "there are multiple modules ... - DEV Community ‍ ‍
Webpack "there are multiple modules with names that only differ in casing" So you go into Visual Studio Code, fire up the terminal,...
Read more >
There are multiple modules with names that only differ in casing.
I had downloaded the Microsoft Authentication Library for JavaScript (MSAL.js) locally, built it and linked it into the project so I could understand...
Read more >
There are multiple modules with names that only differ in ...
Coding example for the question There are multiple modules with names that only differ in casing-babel.js.
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