Broken symbolic link on running app

Hi All,
Just upgraded to 2.7.1 and I can’t run my app anymore …

I’m getting error message below…

Error: Broken symbolic link encountered at /Users/greg/WebstormProjects/incidentplus/node_modules/.bin/meteor-installer
at isWithinProdPackage (/tools/isobuild/bundler.js:497:19)
at /tools/isobuild/builder.js:724:15
at Array.forEach ()
at walk (/tools/isobuild/builder.js:656:34)
at /tools/isobuild/builder.js:734:11
at Array.forEach ()
at walk (/tools/isobuild/builder.js:656:34)
at Builder._copyDirectory (/tools/isobuild/builder.js:788:5)
at Builder.copyNodeModulesDirectory (/tools/isobuild/builder.js:550:17)
at /tools/isobuild/bundler.js:2550:17
at Function.each (/Users/greg/.meteor/packages/meteor-tool/.
at JsImage.write (/tools/isobuild/bundler.js:2507:7)
at ServerTarget.write (/tools/isobuild/bundler.js:2762:13)
at /tools/isobuild/bundler.js:2930:30
at /tools/isobuild/bundler.js:3069:11
at Array.forEach ()
at /tools/isobuild/bundler.js:3064:26
at /tools/isobuild/bundler.js:3437:22
at Object.capture (/tools/utils/buildmessage.js:283:5)
at bundle (/tools/isobuild/bundler.js:3243:31)
at /tools/isobuild/bundler.js:3186:32
at Slot.withValue (/Users/greg/.meteor/packages/meteor-tool/.
at Object.withCache (/Users/greg/.meteor/packages/meteor-tool/.
at Object.bundle (/tools/isobuild/bundler.js:3186:16)
at /tools/runners/run-app.js:581:24
at (/Users/greg/.meteor/packages/meteor-tool/.
at bundleApp (/tools/runners/run-app.js:580:34)
at AppRunner._runOnce (/tools/runners/run-app.js:627:35)
at AppRunner._fiber (/tools/runners/run-app.js:949:28)
at /tools/runners/run-app.js:410:12

Process finished with exit code 1



Seems all of my symlinks in /node_modules/.bin are broken. Any ideas?


It happens to me from time to time as well, even on older Meteor versions (e.g., 2.4.1). In my case these are never the ones I actually need, thus removing them does the job for me. Here’s a oneliner:

find node_modules/.bin -xtype l -delete

I had it today and your solution works

Thanks guys. Now just have to replace all of the “not working anymore”. packages…