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

Grunt build error, case sensitive name CodeMirror.js #7253

Merged
merged 1 commit into from Mar 19, 2014

Conversation

Projects
None yet
2 participants
@ackalker
Contributor

ackalker commented Mar 19, 2014

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! ;-)

@njx

This comment has been minimized.

Show comment
Hide comment
@njx

njx Mar 19, 2014

Member

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...

Member

njx commented Mar 19, 2014

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...

njx added a commit that referenced this pull request Mar 19, 2014

Merge pull request #7253 from ackalker/fix-filename-case
Grunt build error, case sensitive name CodeMirror.js

@njx njx merged commit 660bc56 into adobe:master Mar 19, 2014

1 check passed

default The Travis CI build passed
Details
@ackalker

This comment has been minimized.

Show comment
Hide comment
@ackalker

ackalker Mar 20, 2014

Contributor

You're welcome :-)

Contributor

ackalker commented Mar 20, 2014

You're welcome :-)

@ackalker

This comment has been minimized.

Show comment
Hide comment
@ackalker

ackalker Mar 20, 2014

Contributor

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

Contributor

ackalker commented Mar 20, 2014

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