Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CLOSED] Grunt build error, case sensitive name CodeMirror.js #6554

Open
core-ai-bot opened this issue Aug 30, 2021 · 3 comments
Open

[CLOSED] Grunt build error, case sensitive name CodeMirror.js #6554

core-ai-bot opened this issue Aug 30, 2021 · 3 comments

Comments

@core-ai-bot
Copy link
Member

Issue by ackalker
Wednesday Mar 19, 2014 at 19:51 GMT
Originally opened as adobe/brackets#7253


Building from a fresh checkout (with recursive submodules) using grunt build, I get the following error on the requirejs:dist task:

Running "requirejs:dist" (requirejs) task

Tracing dependencies for: main
Error: ENOENT, no such file or directory '/home/miki/vcs/git/adobe/brackets/src/thirdparty/CodeMirror2/lib/CodeMirror.js'
In module tree:
    main
      brackets
        search/FindInFiles
          search/FindReplace

{ [Error: Error: ENOENT, no such file or directory '/home/miki/vcs/git/adobe/brackets/src/thirdparty/CodeMirror2/lib/CodeMirror.js'
In module tree:
    main
      brackets
        search/FindInFiles
          search/FindReplace

    at Object.fs.openSync (fs.js:427:18)
]
  originalError: 
   { [Error: ENOENT, no such file or directory '/home/miki/vcs/git/adobe/brackets/src/thirdparty/CodeMirror2/lib/CodeMirror.js']
     errno: 34,
     code: 'ENOENT',
     path: '/home/miki/vcs/git/adobe/brackets/src/thirdparty/CodeMirror2/lib/CodeMirror.js',
     syscall: 'open',
     fileName: '/home/miki/vcs/git/adobe/brackets/src/thirdparty/CodeMirror2/lib/CodeMirror.js',
     moduleTree: [ 'search/FindReplace', 'search/FindInFiles', 'brackets', 'main' ] } }
$ ls -l src/thirdparty/CodeMirror2/lib/
total 296
-rw-r--r-- 1 miki users   6309 Mar 19 20:33 codemirror.css
-rw-r--r-- 1 miki users 293877 Mar 19 20:33 codemirror.js

or, in other words: on *nix, case does matter, you insensitive clod! ;-)


ackalker included the following code: https://github.com/adobe/brackets/pull/7253/commits

@core-ai-bot
Copy link
Member Author

Comment by njx
Wednesday Mar 19, 2014 at 23:20 GMT


D'oh, that would be me :) Thanks for fixing this. I don't understand why it's not case-sensitive on Mac, though, or why it didn't cause our Linux build to fail...

@core-ai-bot
Copy link
Member Author

Comment by ackalker
Thursday Mar 20, 2014 at 00:30 GMT


You're welcome :-)

@core-ai-bot
Copy link
Member Author

Comment by ackalker
Thursday Mar 20, 2014 at 00:33 GMT


It appears that Mac hard drives can have a case-insensitive personality (I kid you not! :-) ). Here's some interesting info about this:
http://apple.stackexchange.com/questions/71357/how-to-check-if-my-hd-is-case-sensitive-or-not
https://support.apple.com/kb/PH8289

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant