Not sure exactly how to reproduce, but it seems that this error happens when using the style setting of standard-flow and while the separate package flow-ide is in use.
Atom: 1.14.3 x64
Electron: 1.3.13
OS: Mac OS X 10.12.3
Thrown From: linter-js-standard package 3.9.0
At /Applications/Atom.app/Contents/Resources/app.asar/src/module-cache.js:379
Error: Cannot find module 'standard-flow'
at Module._resolveFilename (module.js:455:15)
at Module._resolveFilename (/Applications/Atom.app/Contents/Resources/electron.asar/common/reset-search-paths.js:35:12)
at Function.Module._resolveFilename (/app.asar/src/module-cache.js:383:52)
at Function.Module._load (module.js:403:25)
at Module.require (module.js:483:17)
at require (/app.asar/src/native-compile-cache.js:50:27)
at requireWithLocalOverride (/packages/linter-js-standard/lib/utils/select-style.js:16:12)
at /packages/linter-js-standard/lib/utils/select-style.js:23:12
at exports.allowUnsafeNewFunction (/packages/linter-js-standard/node_modules/loophole/lib/loophole.js:25:14)
at pickStandard (/packages/linter-js-standard/lib/utils/select-style.js:22:10)
at selectStyle (/packages/linter-js-standard/lib/utils/select-style.js:58:24)
at Object.__cacheTextEditor (/packages/linter-js-standard/lib/init.js:110:17)
at storeSettings (/packages/linter-js-standard/lib/init.js:79:14)
at Function.module.exports.Emitter.simpleDispatch (/app.asar/node_modules/event-kit/lib/emitter.js:25:14)
at Emitter.module.exports.Emitter.emit (/app.asar/node_modules/event-kit/lib/emitter.js:129:28)
at /app.asar/src/pane-container.js:348:27
at Function.module.exports.Emitter.simpleDispatch (/app.asar/node_modules/event-kit/lib/emitter.js:25:14)
at Emitter.module.exports.Emitter.emit (/app.asar/node_modules/event-kit/lib/emitter.js:129:28)
at Pane.module.exports.Pane.setActiveItem (/app.asar/src/pane.js:300:22)
at Pane.module.exports.Pane.activateItem (/app.asar/src/pane.js:452:21)
at TabBarView.module.exports.TabBarView.onMouseDown (/app.asar/node_modules/tabs/lib/tab-bar-view.js:678:19)
linter-js-standard did not include standard-flow as a dependency which caused us to throw the “Cannot find module” error if standard-flow was not locally installed.
Not sure exactly how to reproduce, but it seems that this error happens when using the style setting of
standard-flow
and while the separate packageflow-ide
is in use.Atom: 1.14.3 x64 Electron: 1.3.13 OS: Mac OS X 10.12.3 Thrown From: linter-js-standard package 3.9.0
Stack Trace
Uncaught Error: Cannot find module 'standard-flow'
Commands
Non-Core Packages