Heya guys, I’m having issues flashing a program with Spark Dev (OS X 10.10.3). When I attempt to Verify or Flash any code I get the follow error in the console:
Failed to activate package named 'metrics' Error: Cannot find module 'getmac'
at Module._resolveFilename (module.js:344:15)
at Function.Module._resolveFilename (/Applications/Spark Dev.app/Contents/Resources/app/src/module-cache.js:380:52)
at Function.Module._load (module.js:286:25)
at Module.require (module.js:373:17)
at require (module.js:392:17)
at Object.module.exports.getUserId (/Applications/Spark Dev.app/Contents/Resources/app/node_modules/metrics/lib/metrics.js:49:14)
at Object.module.exports.activate (/Applications/Spark Dev.app/Contents/Resources/app/node_modules/metrics/lib/metrics.js:15:14)
at Package.module.exports.Package.activateNow (/Applications/Spark Dev.app/Contents/Resources/app/src/package.js:225:27)
at /Applications/Spark Dev.app/Contents/Resources/app/src/package.js:211:28
at Package.module.exports.Package.measure (/Applications/Spark Dev.app/Contents/Resources/app/src/package.js:157:15)
at Package.module.exports.Package.activate (/Applications/Spark Dev.app/Contents/Resources/app/src/package.js:205:14)
at PackageManager.module.exports.PackageManager.activatePackage (/Applications/Spark Dev.app/Contents/Resources/app/src/package-manager.js:404:21)
at PackageManager.module.exports.PackageManager.activatePackages (/Applications/Spark Dev.app/Contents/Resources/app/src/package-manager.js:393:14)
at PackageManager.module.exports.PackageManager.activate (/Applications/Spark Dev.app/Contents/Resources/app/src/package-manager.js:379:19)
at Atom.module.exports.Atom.startEditorWindow (/Applications/Spark Dev.app/Contents/Resources/app/src/atom.js:516:21)
at Object.<anonymous> (/Applications/Spark Dev.app/Contents/Resources/app/src/window-bootstrap.js:12:8)
at Object.<anonymous> (/Applications/Spark Dev.app/Contents/Resources/app/src/window-bootstrap.js:23:4)
at Module._compile (module.js:468:26)
at Object.Module._extensions..js (module.js:486:10)
at Module.load (/Applications/Spark Dev.app/Contents/Resources/app/node_modules/coffee-script/lib/coffee-script/register.js:45:36)
at Function.Module._load (module.js:318:12)
at Module.require (module.js:373:17)
at require (module.js:392:17)
at window.onload (file:///Applications/Spark%20Dev.app/Contents/Resources/app/static/index.js:34:25)
/Applications/Spark Dev.app/Contents/Resources/app/src/package.js:230
Window load time: 821ms index.js:39
Uncaught TypeError: Cannot read property '0' of undefined /Applications/Spark Dev.app/Contents/Resources/app/node_modules/spark-dev/node_modules/when/lib/decorators/unhandledRejection.js:79
Uncaught Error: Cannot find module 'request' module.js:346
Google didn’t turn up much. I verified I have getmac
installed on my machine. Also I noticed getmac
is not in Spark Dev.app/Contents/Resources/app/node_modules/
Anyone of some tips on how to get passed this issue?