This started immediately following my deletion of a partial import directory in the Local sites folder. The import never completed (maybe it was too big?). Either way I’m stuck now as I can’t boot the Local App. I tried re-install. No luck.
Log file shows:
Oct 26, 2017, 7:29 PM EDT - warn: [main/index] Unhandled Rejection at: Promise Promise {
<rejected> TypeError: Cannot set property 'environment' of undefined
at /Applications/Local by Flywheel.app/Contents/Resources/app.asar/helpers/site-data.js:1:6884
at Array.forEach (native)
at Object.getSites (/Applications/Local by Flywheel.app/Contents/Resources/app.asar/helpers/site-data.js:1:6497)
at /Applications/Local by Flywheel.app/Contents/Resources/app.asar/main-process.js:1:21117
at Promise (<anonymous>)
at maybeShutdownMachine (/Applications/Local by Flywheel.app/Contents/Resources/app.asar/main-process.js:1:20986)
at App.<anonymous> (/Applications/Local by Flywheel.app/Contents/Resources/app.asar/main-process.js:1:23899)
at emitOne (events.js:96:13)
at App.emit (events.js:191:7) } reason: TypeError: Cannot set property 'environment' of undefined
at /Applications/Local by Flywheel.app/Contents/Resources/app.asar/helpers/site-data.js:1:6884
at Array.forEach (native)
at Object.getSites (/Applications/Local by Flywheel.app/Contents/Resources/app.asar/helpers/site-data.js:1:6497)
at /Applications/Local by Flywheel.app/Contents/Resources/app.asar/main-process.js:1:21117
at Promise (<anonymous>)
at maybeShutdownMachine (/Applications/Local by Flywheel.app/Contents/Resources/app.asar/main-process.js:1:20986)
at App.<anonymous> (/Applications/Local by Flywheel.app/Contents/Resources/app.asar/main-process.js:1:23899)
at emitOne (events.js:96:13)
at App.emit (events.js:191:7)
Oct 26, 2017, 7:29 PM EDT - info: [main/index] Existing Pressmatic data does not exist.
Oct 26, 2017, 7:29 PM EDT - info: [main/set-docker-env] Getting Docker Machine env.
Oct 26, 2017, 7:29 PM EDT - info: [main/set-docker-env] Received Docker Machine env. export DOCKER_TLS_VERIFY="1"
export DOCKER_HOST="tcp://192.168.75.100:2376"
export DOCKER_CERT_PATH="/Users/Leland/.docker/machine/machines/local-by-flywheel"
export DOCKER_MACHINE_NAME="local-by-flywheel"
# Run this command to configure your shell:
# eval $("/Applications/Local by Flywheel.app/Contents/Resources/extraResources/virtual-machine/vendor/docker/osx/docker-machine" env --shell bash local-by-flywheel)
Oct 26, 2017, 7:29 PM EDT - info: [main/docker-machine-nfs] NFS Mount Status
{ error: null,
stdout: 'tmpfs on / type tmpfs (rw,relatime,size=917696k)\nproc on /proc type proc (rw,relatime)\nsysfs on /sys type sysfs (rw,relatime)\ndevpts on /dev/pts type devpts (rw,relatime,mode=600,ptmxmode=000)\ntmpfs on /dev/shm type tmpfs (rw,relatime)\nfusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)\n/dev/sda1 on /mnt/sda1 type ext4 (rw,relatime,data=ordered)\ncgroup on /sys/fs/cgroup type tmpfs (rw,relatime,mode=755)\ncgroup on /sys/fs/cgroup/cpuset type cgroup (rw,relatime,cpuset)\ncgroup on /sys/fs/cgroup/cpu type cgroup (rw,relatime,cpu)\ncgroup on /sys/fs/cgroup/cpuacct type cgroup (rw,relatime,cpuacct)\ncgroup on /sys/fs/cgroup/blkio type cgroup (rw,relatime,blkio)\ncgroup on /sys/fs/cgroup/memory type cgroup (rw,relatime,memory)\ncgroup on /sys/fs/cgroup/devices type cgroup (rw,relatime,devices)\ncgroup on /sys/fs/cgroup/freezer type cgroup (rw,relatime,freezer)\ncgroup on /sys/fs/cgroup/net_cls type cgroup (rw,relatime,net_cls)\ncgroup on /sys/fs/cgroup/perf_event type cgroup (rw,relatime,perf_event)\ncgroup on /sys/fs/cgroup/net_prio type cgroup (rw,relatime,net_prio)\ncgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,relatime,hugetlb)\ncgroup on /sys/fs/cgroup/pids type cgroup (rw,relatime,pids)\n/dev/sda1 on /mnt/sda1/var/lib/docker/aufs type ext4 (rw,relatime,data=ordered)\n192.168.75.1:/Users on /Users type nfs (rw,relatime,vers=3,rsize=65536,wsize=65536,namlen=255,acregmin=1,acregmax=1,acdirmin=1,acdirmax=1,hard,nolock,proto=tcp,port=2049,timeo=70,retrans=3,sec=sys,local_lock=all,addr=192.168.75.1)\n192.168.75.1:/Volumes on /Volumes type nfs (rw,relatime,vers=3,rsize=65536,wsize=65536,namlen=255,acregmin=1,acregmax=1,acdirmin=1,acdirmax=1,hard,nolock,proto=tcp,port=2049,timeo=70,retrans=3,sec=sys,local_lock=all,addr=192.168.75.1)\n',
stderr: '',
hasUsers: [ '192.168.75.1:/Users' ] }
Oct 26, 2017, 7:29 PM EDT - error: [renderer/app] TypeError {
mode: 'stack',
name: 'TypeError',
message: 'Cannot set property \'environment\' of undefined',
stack:
[ TypeError {
url: null,
func: 'Array.forEach',
args: [Object],
line: null,
column: null,
context: null },
TypeError {
url: '/Applications/Local by Flywheel.app/Contents/Resources/app.asar/helpers/site-data.js',
func: 'Object.getSites',
args: [],
line: 1,
column: 6559,
context: null },
TypeError {
url: '/Applications/Local by Flywheel.app/Contents/Resources/app.asar/renderer/containers/App.js',
func: 'new _0x3681eb',
args: [],
line: 1,
column: 14135,
context: null },
TypeError {
url: '/Applications/Local by Flywheel.app/Contents/Resources/app.asar/node_modules/react-dom/lib/ReactCompositeComponent.js',
func: 'ReactCompositeComponentWrapper._constructComponentWithoutOwner',
args: [],
line: 297,
column: 16,
context: null },
TypeError {
url: '/Applications/Local by Flywheel.app/Contents/Resources/app.asar/node_modules/react-dom/lib/ReactCompositeComponent.js',
func: 'ReactCompositeComponentWrapper._constructComponent',
args: [],
line: 284,
column: 19,
context: null },
TypeError {
url: '/Applications/Local by Flywheel.app/Contents/Resources/app.asar/node_modules/react-dom/lib/ReactCompositeComponent.js',
func: 'ReactCompositeComponentWrapper.mountComponent',
args: [],
line: 187,
column: 21,
context: null },
TypeError {
url: '/Applications/Local by Flywheel.app/Contents/Resources/app.asar/node_modules/react-dom/lib/ReactReconciler.js',
func: 'Object.mountComponent',
args: [],
line: 45,
column: 35,
context: null },
TypeError {
url: '/Applications/Local by Flywheel.app/Contents/Resources/app.asar/node_modules/react-dom/lib/ReactCompositeComponent.js',
func: 'ReactCompositeComponentWrapper.performInitialMount',
args: [],
line: 370,
column: 34,
context: null },
TypeError {
url: '/Applications/Local by Flywheel.app/Contents/Resources/app.asar/node_modules/react-dom/lib/ReactCompositeComponent.js',
func: 'ReactCompositeComponentWrapper.mountComponent',
args: [],
line: 257,
column: 21,
context: null },
TypeError {
url: '/Applications/Local by Flywheel.app/Contents/Resources/app.asar/node_modules/react-dom/lib/ReactReconciler.js',
func: 'Object.mountComponent',
args: [],
line: 45,
column: 35,
context: null },
TypeError {
url: '/Applications/Local by Flywheel.app/Contents/Resources/app.asar/node_modules/react-dom/lib/ReactCompositeComponent.js',
func: 'ReactCompositeComponentWrapper.performInitialMount',
args: [],
line: 370,
column: 34,
context: null },
TypeError {
url: '/Applications/Local by Flywheel.app/Contents/Resources/app.asar/node_modules/react-dom/lib/ReactCompositeComponent.js',
func: 'ReactCompositeComponentWrapper.mountComponent',
args: [],
line: 257,
column: 21,
context: null },
TypeError {
url: '/Applications/Local by Flywheel.app/Contents/Resources/app.asar/node_modules/react-dom/lib/ReactReconciler.js',
func: 'Object.mountComponent',
args: [],
line: 45,
column: 35,
context: null },
TypeError {
url: '/Applications/Local by Flywheel.app/Contents/Resources/app.asar/node_modules/react-dom/lib/ReactCompositeComponent.js',
func: 'ReactCompositeComponentWrapper.performInitialMount',
args: [],
line: 370,
column: 34,
context: null },
TypeError {
url: '/Applications/Local by Flywheel.app/Contents/Resources/app.asar/node_modules/react-dom/lib/ReactCompositeComponent.js',
func: 'ReactCompositeComponentWrapper.mountComponent',
args: [],
line: 257,
column: 21,
context: null },
TypeError {
url: '/Applications/Local by Flywheel.app/Contents/Resources/app.asar/node_modules/react-dom/lib/ReactReconciler.js',
func: 'Object.mountComponent',
args: [],
line: 45,
column: 35,
context: null },
TypeError {
url: '/Applications/Local by Flywheel.app/Contents/Resources/app.asar/node_modules/react-dom/lib/ReactMount.js',
func: 'mountComponentIntoNode',
args: [],
line: 104,
column: 32,
context: null },
TypeError {
url: '/Applications/Local by Flywheel.app/Contents/Resources/app.asar/node_modules/react-dom/lib/Transaction.js',
func: 'ReactReconcileTransaction.perform',
args: [],
line: 143,
column: 20,
context: null },
TypeError {
url: '/Applications/Local by Flywheel.app/Contents/Resources/app.asar/node_modules/react-dom/lib/ReactMount.js',
func: 'batchedMountComponentIntoNode',
args: [],
line: 126,
column: 15,
context: null },
TypeError {
url: '/Applications/Local by Flywheel.app/Contents/Resources/app.asar/node_modules/react-dom/lib/Transaction.js',
func: 'ReactDefaultBatchingStrategyTransaction.perform',
args: [],
line: 143,
column: 20,
context: null },
TypeError {
url: '/Applications/Local by Flywheel.app/Contents/Resources/app.asar/node_modules/react-dom/lib/ReactDefaultBatchingStrategy.js',
func: 'Object.batchedUpdates',
args: [],
line: 62,
column: 26,
context: null },
TypeError {
url: '/Applications/Local by Flywheel.app/Contents/Resources/app.asar/node_modules/react-dom/lib/ReactUpdates.js',
func: 'Object.batchedUpdates',
args: [],
line: 97,
column: 27,
context: null },
TypeError {
url: '/Applications/Local by Flywheel.app/Contents/Resources/app.asar/node_modules/react-dom/lib/ReactMount.js',
func: 'Object._renderNewRootComponent',
args: [],
line: 319,
column: 18,
context: null },
TypeError {
url: '/Applications/Local by Flywheel.app/Contents/Resources/app.asar/node_modules/react-dom/lib/ReactMount.js',
func: 'Object._renderSubtreeIntoContainer',
args: [],
line: 401,
column: 32,
context: null },
TypeError {
url: '/Applications/Local by Flywheel.app/Contents/Resources/app.asar/node_modules/react-dom/lib/ReactMount.js',
func: 'render',
args: [],
line: 422,
column: 23,
context: null },
TypeError {
url: 'file:///Applications/Local%20by%20Flywheel.app/Contents/Resources/app.asar/windows/app/app.js',
func: '?',
args: [],
line: 1,
column: 13452,
context: null } ] } true
Oct 26, 2017, 7:29 PM EDT - error: [renderer/app] Error {
mode: 'stack',
name: 'Invariant Violation',
message: 'Minified React error #136; visit http://facebook.github.io/react/docs/error-decoder.html?invariant=136&args[]=_0x3681eb for the full message or use the non-minified dev environment for full errors and additional helpful warnings.',
stack:
[ Error {
url: '/Applications/Local by Flywheel.app/Contents/Resources/app.asar/node_modules/react-dom/lib/reactProdInvariant.js',
func: 'reactProdInvariant',
args: [],
line: 31,
column: 15,
context: null },
Error {
url: '/Applications/Local by Flywheel.app/Contents/Resources/app.asar/node_modules/react-dom/lib/ReactCompositeComponent.js',
func: 'ReactCompositeComponentWrapper.updateComponent',
args: [],
line: 583,
column: 219,
context: null },
Error {
url: '/Applications/Local by Flywheel.app/Contents/Resources/app.asar/node_modules/react-dom/lib/ReactCompositeComponent.js',
func: 'ReactCompositeComponentWrapper.receiveComponent',
args: [],
line: 546,
column: 10,
context: null },
Error {
url: '/Applications/Local by Flywheel.app/Contents/Resources/app.asar/node_modules/react-dom/lib/ReactReconciler.js',
func: 'Object.receiveComponent',
args: [],
line: 124,
column: 22,
context: null },
Error {
url: '/Applications/Local by Flywheel.app/Contents/Resources/app.asar/node_modules/react-dom/lib/ReactCompositeComponent.js',
func: 'ReactCompositeComponentWrapper._updateRenderedComponent',
args: [],
line: 753,
column: 23,
context: null },
Error {
url: '/Applications/Local by Flywheel.app/Contents/Resources/app.asar/node_modules/react-dom/lib/ReactCompositeComponent.js',
func: 'ReactCompositeComponentWrapper._performComponentUpdate',
args: [],
line: 723,
column: 10,
context: null },
Error {
url: '/Applications/Local by Flywheel.app/Contents/Resources/app.asar/node_modules/react-dom/lib/ReactCompositeComponent.js',
func: 'ReactCompositeComponentWrapper.updateComponent',
args: [],
line: 644,
column: 12,
context: null },
Error {
url: '/Applications/Local by Flywheel.app/Contents/Resources/app.asar/node_modules/react-dom/lib/ReactCompositeComponent.js',
func: 'ReactCompositeComponentWrapper.receiveComponent',
args: [],
line: 546,
column: 10,
context: null },
Error {
url: '/Applications/Local by Flywheel.app/Contents/Resources/app.asar/node_modules/react-dom/lib/ReactReconciler.js',
func: 'Object.receiveComponent',
args: [],
line: 124,
column: 22,
context: null },
Error {
url: '/Applications/Local by Flywheel.app/Contents/Resources/app.asar/node_modules/react-dom/lib/ReactCompositeComponent.js',
func: 'ReactCompositeComponentWrapper._updateRenderedComponent',
args: [],
line: 753,
column: 23,
context: null },
Error {
url: '/Applications/Local by Flywheel.app/Contents/Resources/app.asar/node_modules/react-dom/lib/ReactCompositeComponent.js',
func: 'ReactCompositeComponentWrapper._performComponentUpdate',
args: [],
line: 723,
column: 10,
context: null },
Error {
url: '/Applications/Local by Flywheel.app/Contents/Resources/app.asar/node_modules/react-dom/lib/ReactCompositeComponent.js',
func: 'ReactCompositeComponentWrapper.updateComponent',
args: [],
line: 644,
column: 12,
context: null },
Error {
url: '/Applications/Local by Flywheel.app/Contents/Resources/app.asar/node_modules/react-dom/lib/ReactCompositeComponent.js',
func: 'ReactCompositeComponentWrapper.performUpdateIfNecessary',
args: [],
line: 560,
column: 12,
context: null },
Error {
url: '/Applications/Local by Flywheel.app/Contents/Resources/app.asar/node_modules/react-dom/lib/ReactReconciler.js',
func: 'Object.performUpdateIfNecessary',
args: [],
line: 156,
column: 22,
context: null },
Error {
url: '/Applications/Local by Flywheel.app/Contents/Resources/app.asar/node_modules/react-dom/lib/ReactUpdates.js',
func: 'runBatchedUpdates',
args: [],
line: 150,
column: 21,
context: null },
Error {
url: '/Applications/Local by Flywheel.app/Contents/Resources/app.asar/node_modules/react-dom/lib/Transaction.js',
func: 'ReactReconcileTransaction.perform',
args: [],
line: 143,
column: 20,
context: null },
Error {
url: '/Applications/Local by Flywheel.app/Contents/Resources/app.asar/node_modules/react-dom/lib/Transaction.js',
func: 'ReactUpdatesFlushTransaction.perform',
args: [],
line: 143,
column: 20,
context: null },
Error {
url: '/Applications/Local by Flywheel.app/Contents/Resources/app.asar/node_modules/react-dom/lib/ReactUpdates.js',
func: 'ReactUpdatesFlushTransaction.perform',
args: [],
line: 89,
column: 32,
context: null },
Error {
url: '/Applications/Local by Flywheel.app/Contents/Resources/app.asar/node_modules/react-dom/lib/ReactUpdates.js',
func: 'Object.flushBatchedUpdates',
args: [],
line: 172,
column: 19,
context: null },
Error {
url: '/Applications/Local by Flywheel.app/Contents/Resources/app.asar/node_modules/react-dom/lib/Transaction.js',
func: 'ReactDefaultBatchingStrategyTransaction.closeAll',
args: [],
line: 209,
column: 25,
context: null },
Error {
url: '/Applications/Local by Flywheel.app/Contents/Resources/app.asar/node_modules/react-dom/lib/Transaction.js',
func: 'ReactDefaultBatchingStrategyTransaction.perform',
args: [],
line: 156,
column: 16,
context: null },
Error {
url: '/Applications/Local by Flywheel.app/Contents/Resources/app.asar/node_modules/react-dom/lib/ReactDefaultBatchingStrategy.js',
func: 'Object.batchedUpdates',
args: [],
line: 62,
column: 26,
context: null },
Error {
url: '/Applications/Local by Flywheel.app/Contents/Resources/app.asar/node_modules/react-dom/lib/ReactUpdates.js',
func: 'Object.enqueueUpdate',
args: [],
line: 200,
column: 22,
context: null },
Error {
url: '/Applications/Local by Flywheel.app/Contents/Resources/app.asar/node_modules/react-dom/lib/ReactUpdateQueue.js',
func: 'enqueueUpdate',
args: [],
line: 24,
column: 16,
context: null },
Error {
url: '/Applications/Local by Flywheel.app/Contents/Resources/app.asar/node_modules/react-dom/lib/ReactUpdateQueue.js',
func: 'Object.enqueueSetState',
args: [],
line: 218,
column: 5,
context: null },
Error {
url: '/Applications/Local by Flywheel.app/Contents/Resources/app.asar/node_modules/react/lib/ReactBaseClasses.js',
func: 'Object.ReactComponent.setState',
args: [],
line: 64,
column: 16,
context: null },
Error {
url: '/Applications/Local by Flywheel.app/Contents/Resources/app.asar/node_modules/react-router/lib/AsyncUtils.js',
func: 'done',
args: [],
line: 79,
column: 19,
context: null },
Error {
url: '/Applications/Local by Flywheel.app/Contents/Resources/app.asar/node_modules/react-router/lib/getComponents.js',
func: 'getComponentsForRoute',
args: [],
line: 11,
column: 5,
context: null },
Error {
url: null,
func: 'Array.forEach',
args: [Object],
line: null,
column: null,
context: null },
Error {
url: '/Applications/Local by Flywheel.app/Contents/Resources/app.asar/node_modules/react-router/lib/AsyncUtils.js',
func: 'mapAsync',
args: [],
line: 83,
column: 9,
context: null },
Error {
url: '/Applications/Local by Flywheel.app/Contents/Resources/app.asar/node_modules/react-router/lib/getComponents.js',
func: 'getComponents',
args: [],
line: 34,
column: 28,
context: null },
Error {
url: '/Applications/Local by Flywheel.app/Contents/Resources/app.asar/node_modules/react-router/lib/createTransitionManager.js',
func: 'finishEnterHooks',
args: [],
line: 102,
column: 35,
context: null },
Error {
url: '/Applications/Local by Flywheel.app/Contents/Resources/app.asar/node_modules/react-router/lib/TransitionUtils.js',
func: 'runTransitionHooks',
args: [],
line: 79,
column: 7,
context: null },
Error {
url: '/Applications/Local by Flywheel.app/Contents/Resources/app.asar/node_modules/react-router/lib/TransitionUtils.js',
func: 'runEnterHooks',
args: [],
line: 112,
column: 12,
context: null },
Error {
url: '/Applications/Local by Flywheel.app/Contents/Resources/app.asar/node_modules/react-router/lib/TransitionUtils.js',
func: 'runTransitionHooks',
args: [],
line: 79,
column: 7,
context: null },
Error {
url: '/Applications/Local by Flywheel.app/Contents/Resources/app.asar/node_modules/react-router/lib/TransitionUtils.js',
func: 'runChangeHooks',
args: [],
line: 136,
column: 12,
context: null },
Error {
url: '/Applications/Local by Flywheel.app/Contents/Resources/app.asar/node_modules/react-router/lib/createTransitionManager.js',
func: 'finishMatch',
args: [],
line: 92,
column: 5,
context: null },
Error {
url: '/Applications/Local by Flywheel.app/Contents/Resources/app.asar/node_modules/react-router/lib/AsyncUtils.js',
func: 'next',
args: [],
line: 46,
column: 16,
context: null },
Error {
url: '/Applications/Local by Flywheel.app/Contents/Resources/app.asar/node_modules/react-router/lib/AsyncUtils.js',
func: 'loopAsync',
args: [],
line: 56,
column: 3,
context: null },
Error {
url: '/Applications/Local by Flywheel.app/Contents/Resources/app.asar/node_modules/react-router/lib/matchRoutes.js',
func: 'matchRoutes',
args: [],
line: 245,
column: 29,
context: null },
Error {
url: '/Applications/Local by Flywheel.app/Contents/Resources/app.asar/node_modules/react-router/lib/createTransitionManager.js',
func: 'match',
args: [],
line: 66,
column: 33,
context: null },
Error {
url: '/Applications/Local by Flywheel.app/Contents/Resources/app.asar/node_modules/react-router/lib/createTransitionManager.js',
func: 'historyListener',
args: [],
line: 247,
column: 9,
context: null } ] } true
Error { name: 'Invariant Violation', framesToPop: 1 }