ENOTEMPTY and EPERM when connecting the Meteor application to Win7? :(

Help!

I have been working with Meteor for about two months now and everything is going smoothly in my home OSX environment. But I recently brought some of this code into our Windows 7 environment, and Meteor does not behave the same on Windows.

In particular, code binding continues to be linked. When I make changes to the code base, instead of erasing the old .meteor / local directory and reconfiguring the application, it blocks the ENOTEMPTY exception in my server console. If I stop the mongod process in Task Explorer and manually delete the .meteor / local directory, I can restart the application and it will bind and deploy the application with new code changes.

Running on: http://localhost:3000/
No dependency info in bundle. Filesystem monitoring disabled.
Errors prevented startup:
Exception while bundling application:
Error: ENOTEMPTY, directory not empty 'c:\Users\Abigail\My Documents\GitHub\canvas tracker\.meteor\local\build\server'
    at Object.fs.rmdirSync (fs.js:456:18)
    at Object.module.exports.rm_recursive (c:\Program Files (x86)\Meteor\app\lib\files.js:256:10)
    at c:\Program Files (x86)\Meteor\app\lib\files.js:254:15
    at Array.forEach (native)
    at Function._.each._.forEach (c:\Program Files (x86)\Meteor\lib\node_modules\underscore\underscore.js:79:11)
    at Object.module.exports.rm_recursive (c:\Program Files (x86)\Meteor\app\lib\files.js:252:9)
    at _.extend.write_to_directory (c:\Program Files (x86)\Meteor\app\lib\bundler.js:493:11)
    at Object.exports.bundle (c:\Program Files (x86)\Meteor\app\lib\bundler.js:685:12)
    at exports.run.restart_server (c:\Program Files (x86)\Meteor\app\meteor\run.js:615:26)
    at c:\Program Files (x86)\Meteor\app\meteor\run.js:726:9

Please fix the problem and restart.

" " .:( EPERM .

Running on: http://localhost:3000/
No dependency info in bundle. Filesystem monitoring disabled.
Errors prevented startup:
Exception while bundling application:
Error: EPERM, operation not permitted 'c:\Users\Abigail\My Documents\GitHub\canvas-tracker\.meteor\local\.build.build'
    at Object.fs.renameSync (fs.js:439:18)
    at _.extend.write_to_directory (c:\Program Files (x86)\Meteor\app\lib\bundler.js:628:8)
    at Object.exports.bundle (c:\Program Files (x86)\Meteor\app\lib\bundler.js:685:12)
    at exports.run.restart_server (c:\Program Files (x86)\Meteor\app\meteor\run.js:615:26)
    at c:\Program Files (x86)\Meteor\app\meteor\run.js:726:9
    at Object.exports.launch_mongo (c:\Program Files (x86)\Meteor\app\lib\mongo_runner.js:146:5)
    at exports.run.launch (c:\Program Files (x86)\Meteor\app\meteor\run.js:712:39)
    at Server.exports.run (c:\Program Files (x86)\Meteor\app\meteor\run.js:770:5)
    at Server.g (events.js:193:14)
    at Server.EventEmitter.emit (events.js:90:17)

Please fix the problem and restart.

, ? Meteor 0.5.4 Windows 7 Ultimate, SP1, x64.

: , . OSX, , , , , Javascript Chrome, . Win7 , , , Chrome, . , Javascript- ( ). OSX , . Win7 - ENOTEMPTY EPERM...

: , , , . , .

+5
3

, . , GitHub Bash.

, ENOTEMPTY EPERM , . , exec(), delete . , GitHub Bash, , Windows cmd.exe, . , , , , .

100x Rahul ! , !

+2

Win7. , .

1) DB MongoDB C:\Users ** USERNAME **\leaderboard.meteor\Local\ mongod.lock

2) , C:\Users ** USERNAME **\leaderboard.meteor\Local\\ \\ leaderboard.js

, leaderboard.js , .

+3

You had the exact problem in Windows 8. Disabling my McAfee antivirus (real-time scanning) only while meteor cmd was running.

+2
source

All Articles