Error: ENOTEMPTY: directory not empty, rmdir 'C:\Users\Pc_user\AppData\Local\Tem
p.tmp1d92sj.idi8jk\meteor-base-1.2.0-beta.27’
at Object.fs.rmdirSync (fs.js:853:18)
at rmkidsSync (C:\Users\Pc_user\node_modules\rimraf\rimraf.js:342:11)
at rmdirSync (C:\Users\Pc_user\node_modules\rimraf\rimraf.js:332:7)
at Function.rimrafSync [as sync] (C:\Users\Pc_user\node_modules\rimraf\rimra
f.js:303:9)
at Object.files.rm_recursive.path [as rm_recursive] (C:\tools\fs\files.js:30
3:12)
at Object.files.rename (C:\tools\fs\files.js:1776:13)
at Object.files.extractTarGz (C:\tools\fs\files.js:767:9)
at Object.exports._extractAndConvert (C:\tools\packaging\tropohouse.js:50:9)
at buildmessage.enterJob (C:\tools\packaging\tropohouse.js:505:42)
at C:\tools\utils\buildmessage.js:359:18
at exports.EnvironmentVariable.withValue (C:\tools\utils\fiber-helpers.js:89
:14)
at C:\tools\utils\buildmessage.js:352:34
at exports.EnvironmentVariable.withValue (C:\tools\utils\fiber-helpers.js:89
:14)
at C:\tools\utils\buildmessage.js:350:23
at exports.EnvironmentVariable.withValue (C:\tools\utils\fiber-helpers.js:89
:14)
at Object.enterJob (C:\tools\utils\buildmessage.js:324:26)
at .each (C:\tools\packaging\tropohouse.js:502:24)
at Function..each._.forEach (C:\Users\Pc_user\node_modules\underscore\under
score.js:103:9)
at C:\tools\packaging\tropohouse.js:469:11
at C:\tools\utils\buildmessage.js:359:18
at exports.EnvironmentVariable.withValue (C:\tools\utils\fiber-helpers.js:89
:14)
at C:\tools\utils\buildmessage.js:352:34
at exports.EnvironmentVariable.withValue (C:\tools\utils\fiber-helpers.js:89
:14)
at C:\tools\utils\buildmessage.js:350:23
at exports.EnvironmentVariable.withValue (C:\tools\utils\fiber-helpers.js:89
:14)
at Object.enterJob (C:\tools\utils\buildmessage.js:324:26)
at Object.download (C:\tools\packaging\tropohouse.js:427:20)
at C:\tools\packaging\tropohouse.js:613:18
at enterJobAsync.then (C:\tools\utils\buildmessage.js:572:21)
at C:\Users\Pc_user\AppData\Local.meteor\packages\meteor-tool\1.6.0-beta.27
\mt-os.windows.x86_32\dev_bundle\lib\node_modules\meteor-promise\fiber_pool.js:4
3:40
=> awaited here:
at Promise.await (C:\Users\Pc_user\AppData\Local.meteor\packages\meteor-too
l\1.6.0-beta.27\mt-os.windows.x86_32\dev_bundle\lib\node_modules\meteor-promise
promise_server.js:60:12)
at Object.forkJoin (C:\tools\utils\buildmessage.js:567:10)
at exports.Tropohouse.downloadPackagesMissingFromMap (C:\tools\packaging\tro
pohouse.js:609:18)
at C:\tools\project-context.js:819:25
at C:\tools\utils\buildmessage.js:359:18
at exports.EnvironmentVariable.withValue (C:\tools\utils\fiber-helpers.js:89
:14)
at C:\tools\utils\buildmessage.js:352:34
at exports.EnvironmentVariable.withValue (C:\tools\utils\fiber-helpers.js:89
:14)
at C:\tools\utils\buildmessage.js:350:23
at exports.EnvironmentVariable.withValue (C:\tools\utils\fiber-helpers.js:89
:14)
at Object.enterJob (C:\tools\utils\buildmessage.js:324:26)
at C:\tools\project-context.js:818:20
at C:\tools\packaging\catalog\catalog.js:100:5
at C:\tools\utils\buildmessage.js:271:13
at exports.EnvironmentVariable.withValue (C:\tools\utils\fiber-helpers.js:89
:14)
at C:\tools\utils\buildmessage.js:264:29
at exports.EnvironmentVariable.withValue (C:\tools\utils\fiber-helpers.js:89
:14)
at C:\tools\utils\buildmessage.js:262:18
at exports.EnvironmentVariable.withValue (C:\tools\utils\fiber-helpers.js:89
:14)
at C:\tools\utils\buildmessage.js:253:23
at exports.EnvironmentVariable.withValue (C:\tools\utils\fiber-helpers.js:89
:14)
at Object.capture (C:\tools\utils\buildmessage.js:252:19)
at Object.catalog.runAndRetryWithRefreshIfHelpful (C:\tools\packaging\catalo
g\catalog.js:99:31)
at ProjectContext._downloadMissingPackages (C:\tools\project-context.js:817:
13)
at C:\tools\project-context.js:285:9
at C:\tools\utils\buildmessage.js:359:18
at exports.EnvironmentVariable.withValue (C:\tools\utils\fiber-helpers.js:89
:14)
at C:\tools\utils\buildmessage.js:352:34
at exports.EnvironmentVariable.withValue (C:\tools\utils\fiber-helpers.js:89
:14)
at C:\tools\utils\buildmessage.js:350:23
at exports.EnvironmentVariable.withValue (C:\tools\utils\fiber-helpers.js:89
:14)
at Object.enterJob (C:\tools\utils\buildmessage.js:324:26)
at ProjectContext._completeStagesThrough (C:\tools\project-context.js:275:18
)
at Profile.run (C:\tools\project-context.js:267:12)
at Function.run (C:\tools\tool-env\profile.js:490:12)
at ProjectContext.prepareProjectForBuild (C:\tools\project-context.js:266:13
)
at C:\tools\cli\commands-packages.js:1610:20
at C:\tools\utils\buildmessage.js:271:13
at exports.EnvironmentVariable.withValue (C:\tools\utils\fiber-helpers.js:89
:14)
at C:\tools\utils\buildmessage.js:264:29
at exports.EnvironmentVariable.withValue (C:\tools\utils\fiber-helpers.js:89
:14)
at C:\tools\utils\buildmessage.js:262:18
at exports.EnvironmentVariable.withValue (C:\tools\utils\fiber-helpers.js:89
:14)
at C:\tools\utils\buildmessage.js:253:23
at exports.EnvironmentVariable.withValue (C:\tools\utils\fiber-helpers.js:89
:14)
at Object.capture (C:\tools\utils\buildmessage.js:252:19)
at Object.main.captureAndExit (C:\tools\cli\main.js:273:29)
at maybeUpdateRelease (C:\tools\cli\commands-packages.js:1609:8)
at Command.func (C:\tools\cli\commands-packages.js:1683:29)
at C:\tools\cli\main.js:1483:23
Have you tried explicitly deleting the directory C:\Users\Pc_user\AppData\Local and then rerunning?
I can see that something wants to, but is unable, to delete meteor-base-1.2.0-beta.27. A clean Local directory is the first thing I try when stuff goes weird on me.
hey @warehouseman, how did you resolve this I am seeing same error,
(node:46084) UnhandledPromiseRejectionWarning: TypeError: LocalCollection._removeDollarOperators is not a function
W20180810-14:56:08.532(-7)? (STDERR) at simulateUpsertWithInsertedId (packages/mongo/mongo_driver.js:683:39)
W20180810-14:56:08.532(-7)? (STDERR) at MongoConnection._update (packages/mongo/mongo_driver.js:554:7)
W20180810-14:56:08.532(-7)? (STDERR) at MongoConnection. (packages/meteor.js:258:21)
W20180810-14:56:08.533(-7)? (STDERR) at MongoConnection.(anonymous function) [as update] (packages/mongo/mongo_driver.js:782:49)
W20180810-14:56:08.533(-7)? (STDERR) at Object.collection.(anonymous function) [as update] (packages/matb33_collection-hooks.js:133:23)
W20180810-14:56:08.533(-7)? (STDERR) at Mongo.Collection.update (packages/mongo/collection.js:589:29)
W20180810-14:56:08.533(-7)? (STDERR) at Mongo.Collection.upsert (packages/mongo/collection.js:676:15)
W20180810-14:56:08.533(-7)? (STDERR) at packages/matb33_collection-hooks.js:710:21
W20180810-14:56:08.533(-7)? (STDERR) at Meteor.EnvironmentVariable.EVp.withValue (packages/meteor.js:1186:15)
W20180810-14:56:08.533(-7)? (STDERR) at Object.directOp (packages/matb33_collection-hooks.js:47:27)
W20180810-14:56:08.534(-7)? (STDERR) at Mongo.Collection. (packages/matb33_collection-hooks.js:709:31)
W20180810-14:56:08.534(-7)? (STDERR) at Mongo.Collection.collection.(anonymous function) [as upsert] (packages/matb33_collection-hooks.js:146:21)
W20180810-14:56:08.534(-7)? (STDERR) at packages/poetic:accounts-apple-connect/server/api-create-token-and-redirect.js:43:16
W20180810-14:56:08.534(-7)? (STDERR) at /Users/m_712199/.meteor/packages/promise/.0.10.1.1820vuk.0x03g++os+web.browser+web.cordova/npm/node_modules/meteor-promise/fiber_pool.js:43:40