Can no longer run my ember application locally on Windows 7

I did my first development on a Win7 machine, and then switched to Mac when I got this, which was great because of the build speed with ember server. I save everything in a Git repository. Everything works fine ember serverwith my Mac.

Now, when I make a new clone of the repo on my computer with Win7, then npm installand bower install(both of which are fully perfect), when I run the ember servernext, I get a bunch of errors saying ENOTEMPTY, the directory is not empty (the way, blah blah blah) .

He complains about some folder in the tmp directory that the server command creates, and inserting the material by itself, so I don’t know what he is complaining about.

I have already managed this three times about 5 times, but to no avail. CLI Ember Version - 0.1.1 Amber Version 1.6

Here is an example of one of the errors, but they are all the same (and similarly useless):

ENOTEMPTY, directory not empty 'c:\Dev\star\tmp\remover-tmp_dest_dir-sRc08q1q.tm
p\templates'
Error: ENOTEMPTY, directory not empty 'c:\Dev\star\tmp\remover-tmp_dest_dir-sRc0
8q1q.tmp\templates'
    at Object.fs.rmdirSync (fs.js:623:18)
    at rmkidsSync (c:\Dev\star\node_modules\ember-cli\node_modules\rimraf\rimraf
.js:247:11)
    at rmdirSync (c:\Dev\star\node_modules\ember-cli\node_modules\rimraf\rimraf.
js:237:7)
    at fixWinEPERMSync (c:\Dev\star\node_modules\ember-cli\node_modules\rimraf\r
imraf.js:150:5)
    at Function.rimrafSync [as sync] (c:\Dev\star\node_modules\ember-cli\node_mo
dules\rimraf\rimraf.js:216:26)
    at Remover._remove (c:\Dev\star\node_modules\ember-cli\node_modules\broccoli
-file-remover\index.js:46:10)
    at c:\Dev\star\node_modules\ember-cli\node_modules\broccoli-file-remover\ind
ex.js:60:14
    at Array.forEach (native)
    at c:\Dev\star\node_modules\ember-cli\node_modules\broccoli-file-remover\ind
ex.js:59:12
    at $$$internal$$tryCatch (c:\Dev\star\node_modules\ember-cli\node_modules\rs
vp\dist\rsvp.js:470:16)

file added bootstrap.min.js
file added favicon.ico
file added sb-admin-2.js
+4
source share
1 answer

Ok, I managed to do something that worked. I forgot that I needed to disable Windows indexing in my tmp folder at least (I did this for the entire cloned project):

  • Windows key, enter "Indexing Options"
  • Click disk, then change
  • Uncheck the places you do not want to index (for example, in the tmp folder)
  • Sublime, Perferences → Settings - User : "folder_exclude_patterns": [    "TMP/*", ],

, ember server, , ( 5 ).

+3

All Articles