Promise_server.js:165 unexpected end of input


#1

Could someone please help me fix the following error?:

=> Started MongoDB.
/Users/nathancain/.meteor/packages/less/.2.7.5_1.fwdgcg++os+web.browser+web.cordova/plugin.compileLessBatch.os/npm/node_modules/meteor/promise/node_modules/meteor-promise/promise_server.js:165
throw error;
^

SyntaxError: Unexpected end of input
at Object.parse (native)
at Object.meteorNpm.getProdPackageNames (/tools/isobuild/meteor-npm.js:157:13)
at /tools/isobuild/bundler.js:1897:23
at /tools/isobuild/bundler.js:1891:24
at Function..each..forEach (/Users/nathancain/.meteor/packages/meteor-tool/.1.4.1_3.xch6at++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/underscore/underscore.js:87:22)
at JsImage.write (/tools/isobuild/bundler.js:1875:7)
at ServerTarget.write (/tools/isobuild/bundler.js:2184:13)
at /tools/isobuild/bundler.js:2268:30
at /tools/isobuild/bundler.js:2396:9
at Array.forEach (native)
at /tools/isobuild/bundler.js:2386:26
at /tools/isobuild/bundler.js:2326:7
at /tools/isobuild/bundler.js:2732:22
at /tools/utils/buildmessage.js:271:13
at [object Object].withValue (/tools/utils/fiber-helpers.js:89:14)
at /tools/utils/buildmessage.js:264:29
at [object Object].withValue (/tools/utils/fiber-helpers.js:89:14)
at /tools/utils/buildmessage.js:262:18
at [object Object].withValue (/tools/utils/fiber-helpers.js:89:14)
at /tools/utils/buildmessage.js:253:23
at [object Object].withValue (/tools/utils/fiber-helpers.js:89:14)
at Object.capture (/tools/utils/buildmessage.js:252:19)
at bundle (/tools/isobuild/bundler.js:2567:31)
at /tools/isobuild/bundler.js:2514:32
at Object.withCache (/tools/fs/files.js:1582:12)
at Object.exports.bundle (/tools/isobuild/bundler.js:2514:16)
at /tools/runners/run-app.js:582:36
at Function.run (/tools/tool-env/profile.js:489:12)
at bundleApp (/tools/runners/run-app.js:572:34)
at AppRunner._runOnce (/tools/runners/run-app.js:625:35)
at AppRunner._fiber (/tools/runners/run-app.js:884:28)
at /tools/runners/run-app.js:402:12

Process finished with exit code 1


#2

meteor reset didn’t fix it.
only thing that worked was resinstalling meteor