Skip to content

Instantly share code, notes, and snippets.

@SachaG
Created January 12, 2017 07:23
Show Gist options
  • Save SachaG/89655d73774a0c49889bb8441b39f807 to your computer and use it in GitHub Desktop.
Save SachaG/89655d73774a0c49889bb8441b39f807 to your computer and use it in GitHub Desktop.
npm link error
TypeError: Cannot set property '/Users/sachagreif/Dev/Telescope/node_modules/react-apollo/package.json' of undefined
at Resolver._resolvePkgJsonMain (/tools/isobuild/resolver.js:320:9)
at Resolver._resolve (/tools/isobuild/resolver.js:123:25)
at /tools/isobuild/resolver.js:75:19
at Entry._reallyRecompute (/Users/sachagreif/.meteor/packages/meteor-tool/.1.4.2_3.1rd9djy++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/optimism/lib/entry.js:215:26)
at Entry._recomputeIfDirty (/Users/sachagreif/.meteor/packages/meteor-tool/.1.4.2_3.1rd9djy++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/optimism/lib/entry.js:179:17)
at Entry.recompute (/Users/sachagreif/.meteor/packages/meteor-tool/.1.4.2_3.1rd9djy++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/optimism/lib/entry.js:46:20)
at Resolver.optimistic [as resolve] (/Users/sachagreif/.meteor/packages/meteor-tool/.1.4.2_3.1rd9djy++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/optimism/lib/index.js:50:18)
at ImportScanner._resolve (/tools/isobuild/import-scanner.js:466:36)
at /tools/isobuild/import-scanner.js:499:29
at _.each._.forEach (/Users/sachagreif/.meteor/packages/meteor-tool/.1.4.2_3.1rd9djy++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/underscore/underscore.js:87:22)
at ImportScanner._scanFile (/tools/isobuild/import-scanner.js:498:5)
at /tools/isobuild/import-scanner.js:364:14
at ImportScanner.addNodeModules (/tools/isobuild/import-scanner.js:359:33)
at /tools/isobuild/compiler-plugin.js:1098:32
at Map.forEach (native)
at handleMissing (/tools/isobuild/compiler-plugin.js:1096:18)
at Function.computeJsOutputFilesMap (/tools/isobuild/compiler-plugin.js:1108:5)
at ClientTarget._emitResources (/tools/isobuild/bundler.js:1020:8)
at /tools/isobuild/bundler.js:791:12
at /tools/utils/buildmessage.js:359:18
at [object Object].withValue (/tools/utils/fiber-helpers.js:89:14)
at /tools/utils/buildmessage.js:352:34
at [object Object].withValue (/tools/utils/fiber-helpers.js:89:14)
at /tools/utils/buildmessage.js:350:23
at [object Object].withValue (/tools/utils/fiber-helpers.js:89:14)
at Object.enterJob (/tools/utils/buildmessage.js:324:26)
at ClientTarget.make (/tools/isobuild/bundler.js:782:18)
at /tools/isobuild/bundler.js:2652:14
at /tools/isobuild/bundler.js:2741:20
at Array.forEach (native)
at Function._.each._.forEach (/Users/sachagreif/.meteor/packages/meteor-tool/.1.4.2_3.1rd9djy++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/underscore/underscore.js:79:11)
at /tools/isobuild/bundler.js:2740:7
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:2633:31)
at /tools/isobuild/bundler.js:2580:32
at Object.withCache (/tools/fs/files.js:1601:12)
at Object.exports.bundle (/tools/isobuild/bundler.js:2580:16)
at /tools/runners/run-app.js:574:36
at Function.run (/tools/tool-env/profile.js:490:12)
at bundleApp (/tools/runners/run-app.js:573:34)
at AppRunner._runOnce (/tools/runners/run-app.js:617:35)
at AppRunner._fiber (/tools/runners/run-app.js:876:28)
at /tools/runners/run-app.js:403:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment