henryboldi / felony

🔑🔥📈 Next Level PGP

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error: Module version mismatch on "npm run dev"

Arthelon opened this issue · comments

Trying to run a clone of felony on my Macbook. No logged issues with the webpack bundle or server but this message keeps appearing after the developer console appears with the app.

Node version: 6.2.2
NPM version: 3.9.5

Logs after running command:
`

felony@0.10.3 dev /Users/Daniel/Desktop/Github/Forks/felony
concurrently --kill-others "npm run hot-server" "npm run start-hot"
[0]
[0] > felony@0.10.3 hot-server /Users/Daniel/Desktop/Github/Forks/felony
[0] > node -r babel-register server.js
[0]
[1]
[1] > felony@0.10.3 start-hot /Users/Daniel/Desktop/Github/Forks/felony
[1] > cross-env HOT=1 NODE_ENV=development electron -r babel-register ./main.development
[1]
[0] Listening at http://localhost:3000
[0] webpack: wait until bundle finished: /dist/bundle.js
[1] 2016-08-05 09:15:51.297 Electron Helper[76876:155148] Couldn't set selectedTextBackgroundColor from default ()
[0] webpack built 7290703c24af0fb635fb in 3772ms
[0] Hash: 7290703c24af0fb635fb
[0] Version: webpack 1.13.1
[0] Time: 3772ms
[0] Asset Size Chunks Chunk Names
[0] bundle.js 1.05 MB 0 [emitted] main
[0] chunk {0} bundle.js (main) 462 kB [rendered]
[0] [0] multi main 52 bytes {0} [built]
[0] [1] external "babel-polyfill" 42 bytes {0} [not cacheable]
[0] 2-hot-middleware/client.js?path=http://localhost:3000/__webpack_hmr 4.49 kB {0} [built]
[0] 3/buildin/module.js 251 bytes {0} [built]
[0] [4] external "querystring" 42 bytes {0} [not cacheable]
[0] [5] external "strip-ansi" 42 bytes {0} [not cacheable]
[0] 6-hot-middleware/client-overlay.js 1.74 kB {0} [built]
[0] [7] external "ansi-html" 42 bytes {0} [not cacheable]
[0] [8] external "html-entities" 42 bytes {0} [not cacheable]
[0] 9-hot-middleware/process-update.js 3.88 kB {0} [built]
[0] [10] ./app/index.js 886 bytes {0} [built]
[0] [11] external "react" 42 bytes {0} [not cacheable]
[0] [12] external "react-dom" 42 bytes {0} [not cacheable]
[0] [13] external "react-redux" 42 bytes {0} [not cacheable]
[0] [14] external "redux" 42 bytes {0} [not cacheable]
[0] [15] external "redux-thunk" 42 bytes {0} [not cacheable]
[0] [16] ./app/reducers/index.js 590 bytes {0} [built]
[0] [17] ./app/reducers/uiReducer.js 1.82 kB {0} [built]
[0] [18] ./app/constants/UIConstants.js 645 bytes {0} [built]
[0] [19] external "immutable" 42 bytes {0} [not cacheable]
[0] [20] ./app/reducers/keychainReducer.js 2.24 kB {0} [built]
[0] [21] ./app/constants/KeychainConstants.js 180 bytes {0} [built]
[0] [22] ./app/components/Felony.js 4.94 kB {0} [built]
[0] [23] .//normalize.css/normalize.css 867 bytes {0} [built]
[0] [24] ./
/css-loader!.//normalize.css/normalize.css 8.29 kB {0} [built]
[0] [25] ./
/css-loader/lib/css-base.js 1.51 kB {0} [built]
[0] [26] .//style-loader/addStyles.js 7.15 kB {0} [built]
[0] [27] external "reactcss" 42 bytes {0} [not cacheable]
[0] [28] ./app/assets/fonts/work-sans/WorkSans.css 952 bytes {0} [built]
[0] [29] ./
/css-loader!./app/assets/fonts/work-sans/WorkSans.css 644 bytes {0} [built]
[0] [30] ./app/assets/fonts/work-sans/WorkSans-Light.woff2 66 kB {0} [built]
[0] [31] ./app/assets/fonts/work-sans/WorkSans-Regular.woff2 64 kB {0} [built]
[0] [32] ./app/assets/fonts/work-sans/WorkSans-Medium.woff2 68.6 kB {0} [built]
[0] [33] ./app/assets/fonts/work-sans/WorkSans-Bold.woff2 69.7 kB {0} [built]
[0] [34] ./app/assets/styles/felony.css 934 bytes {0} [built]
[0] [35] .//css-loader!./app/assets/styles/felony.css 267 bytes {0} [built]
[0] [36] ./app/assets/styles/spinner.css 937 bytes {0} [built]
[0] [37] ./
/css-loader!./app/assets/styles/spinner.css 974 bytes {0} [built]
[0] [38] ./app/assets/styles/variables/colors.js 334 bytes {0} [built]
[0] [39] ./app/containers/HeaderContainer.js 1.47 kB {0} [built]
[0] [40] ./app/actions/index.js 669 bytes {0} [built]
[0] [41] ./app/actions/KeychainActions.js 3.29 kB {0} [built]
[0] [42] ./app/config/database.js 814 bytes {0} [built]
[0] [43] external "lowdb" 42 bytes {0} [not cacheable]
[0] [44] external "lowdb/file-async" 42 bytes {0} [not cacheable]
[0] [45] external "path" 42 bytes {0} [not cacheable]
[0] [46] external "os" 42 bytes {0} [not cacheable]
[0] [47] external "underscore-db" 42 bytes {0} [not cacheable]
[0] [48] ./app/actions/UIActions.js 1.74 kB {0} [built]
[0] [49] ./app/components/header/Header.js 4.54 kB {0} [built]
[0] [50] ./app/assets/styles/variables/utils.js 213 bytes {0} [built]
[0] [51] ./app/components/alias/Alias.js 2.8 kB {0} [built]
[0] [52] ./app/components/common/index.js 1.08 kB {0} [built]
[0] [53] ./app/components/common/Avatar.js 2.63 kB {0} [built]
[0] [54] ./app/components/common/Button.js 2.85 kB {0} [built]
[0] [55] ./app/components/common/Icon.js 2.61 kB {0} [built]
[0] [56] ./app/utils/icons.js 3.14 kB {0} [built]
[0] [57] ./app/components/common/Overlay.js 3.08 kB {0} [built]
[0] [58] ./app/components/common/User.js 4.16 kB {0} [built]
[0] [59] ./app/utils/pgp.js 13.2 kB {0} [built]
[0] [60] external "keytar" 42 bytes {0} [not cacheable]
[0] [61] external "openpgp" 42 bytes {0} [not cacheable]
[0] [62] ./app/components/header/HeaderKeyStatus.js 4.53 kB {0} [built]
[0] [63] ./app/components/header/HeaderKeyCopy.js 3.7 kB {0} [built]
[0] [64] external "react-copy-to-clipboard" 42 bytes {0} [not cacheable]
[0] [65] ./app/components/header/HeaderKeyStatusSpinner.js 2.69 kB {0} [built]
[0] [66] ./app/components/header/HeaderKeyStatusTooltip.js 4.56 kB {0} [built]
[0] [67] external "dynamics.js" 42 bytes {0} [not cacheable]
[0] [68] external "lodash" 42 bytes {0} [not cacheable]
[0] [69] ./app/containers/FloatingButtonContainer.js 834 bytes {0} [built]
[0] [70] ./app/components/floating-button/FloatingButton.js 5.85 kB {0} [
[0] built]
[0] [71] ./app/components/floating-button/FloatingButtonItem.js 5.29 kB {0} [built]
[0] [72] ./app/components/floating-button/FloatingButtonItemLabel.js 3.47 kB {0} [built]
[0] [73] ./app/containers/ComposerContainer.js 1.87 kB {0} [built]
[0] [74] ./app/components/composer/Composer.js 4.36 kB {0} [built]
[0] [75] ./app/components/composer/ComposerForm.js 13.4 kB {0} [built]
[0] [76] ./app/components/composer/ComposerFormSubmit.js 3.88 kB {0} [built]
[0] [77] ./app/components/composer/ComposerAliasForm.js 11.3 kB {0} [built]
[0] [78] ./app/components/composer/ComposerAliasFormInput.js 4.15 kB {0} [built]
[0] [79] ./app/components/composer/ComposerAliasSuccess.js 4.73 kB {0} [built]
[0] [80] ./app/containers/OutputContainer.js 1.27 kB {0} [built]
[0] [81] ./app/components/output/Output.js 7.15 kB {0} [built]
[0] [82] ./app/containers/KeychainContainer.js 1.62 kB {0} [built]
[0] [83] ./app/components/keychain/Keychain.js 3.25 kB {0} [built]
[0] [84] ./app/components/keychain/KeychainList.js 3.26 kB {0} [built]
[0] [85] ./app/components/keychain/KeychainListItem.js 4.24 kB {0} [built]
[0] [86] ./app/components/keychain/KeychainComposerOpener.js 4.46 kB {0} [built]
[0] webpack: bundle is now VALID.`

Error stack:
ELECTRON_ASAR.js:167Uncaught Error: Module version mismatch. Expected 49, got 48.
module.(anonymous function) @ ELECTRON_ASAR.js:167
Module._extensions..node @ module.js:568
module.(anonymous function) @ ELECTRON_ASAR.js:167
Module.load @ module.js:458
tryModuleLoad @ module.js:417
Module._load @ module.js:409
Module.require @ module.js:468
require @ internal/module.js:20
(anonymous function) @ keytar.js:4
(anonymous function) @ keytar.js:58
Module._compile @ module.js:541
Module._extensions..js @ module.js:550
Module.load @ module.js:458
tryModuleLoad @ module.js:417
Module._load @ module.js:409
Module.require @ module.js:468
require @ internal/module.js:20
(anonymous function) @ external "keytar"?c4e9:1
(anonymous function) @ bundle.js:950
webpack_require @ bundle.js:557
fn @ bundle.js:88
(anonymous function) @ pgp.js?b688:6
(anonymous function) @ bundle.js:944
webpack_require @ bundle.js:557
fn @ bundle.js:88
(anonymous function) @ Alias.js?5486:8
(anonymous function) @ bundle.js:896
webpack_require @ bundle.js:557
fn @ bundle.js:88
(anonymous function) @ Header.js?fa34:9
(anonymous function) @ bundle.js:884
webpack_require @ bundle.js:557
fn @ bundle.js:88
(anonymous function) @ HeaderContainer.js?e915:3
(anonymous function) @ bundle.js:824
webpack_require @ bundle.js:557
fn @ bundle.js:88
(anonymous function) @ Felony.js?48cf:12
(anonymous function) @ bundle.js:722
webpack_require @ bundle.js:557
fn @ bundle.js:88
(anonymous function) @ index.js?2018:9
(anonymous function) @ bundle.js:650
webpack_require @ bundle.js:557
fn @ bundle.js:88
(anonymous function) @ bundle.js:589
webpack_require @ bundle.js:557
(anonymous function) @ bundle.js:580
(anonymous function) @ bundle.js:583

Rebuild electron and your problem will be solved.

as in agnat/node_mdns#172

On Thu, Aug 4, 2016, 6:32 PM Daniel Hsing notifications@github.com wrote:

Trying to run a clone of felony on my Macbook. No logged issues with the
webpack bundle or server but this message keeps appearing after the
developer console appears with the app.

Node version: 6.2.2
NPM version: 3.9.5

Logs after running command:
`

felony@0.10.3 dev /Users/Daniel/Desktop/Github/Forks/felony
concurrently --kill-others "npm run hot-server" "npm run start-hot"
[0]
[0] > felony@0.10.3 hot-server /Users/Daniel/Desktop/Github/Forks/felony
[0] > node -r babel-register server.js
[0]
[1]
[1] > felony@0.10.3 start-hot /Users/Daniel/Desktop/Github/Forks/felony
[1] > cross-env HOT=1 NODE_ENV=development electron -r babel-register
./main.development
[1]
[0] Listening at http://localhost:3000
[0] webpack: wait until bundle finished: /dist/bundle.js
[1] 2016-08-05 09:15:51.297 Electron Helper[76876:155148] Couldn't set
selectedTextBackgroundColor from default ()
[0] webpack built 7290703c24af0fb635fb in 3772ms
[0] Hash: 7290703c24af0fb635fb
[0] Version: webpack 1.13.1
[0] Time: 3772ms
[0] Asset Size Chunks Chunk Names
[0] bundle.js 1.05 MB 0 [emitted] main
[0] chunk {0} bundle.js (main) 462 kB [rendered]
[0] [0] multi main 52 bytes {0} [built]
[0] [1] external "babel-polyfill" 42 bytes {0} [not cacheable]
[0] 2 http://webpack-hot-middleware/client.js?path=
http://localhost:3000/__webpack_hmr 4.49 kB {0} [built]
[0] 3 http://webpack/buildin/module.js 251 bytes {0} [built]
[0] [4] external "querystring" 42 bytes {0} [not cacheable]
[0] [5] external "strip-ansi" 42 bytes {0} [not cacheable]
[0] 6 http://webpack-hot-middleware/client-overlay.js 1.74 kB {0}
[built]
[0] [7] external "ansi-html" 42 bytes {0} [not cacheable]
[0] [8] external "html-entities" 42 bytes {0} [not cacheable]
[0] 9 http://webpack-hot-middleware/process-update.js 3.88 kB {0}
[built]
[0] [10] ./app/index.js 886 bytes {0} [built]
[0] [11] external "react" 42 bytes {0} [not cacheable]
[0] [12] external "react-dom" 42 bytes {0} [not cacheable]
[0] [13] external "react-redux" 42 bytes {0} [not cacheable]
[0] [14] external "redux" 42 bytes {0} [not cacheable]
[0] [15] external "redux-thunk" 42 bytes {0} [not cacheable]
[0] [16] ./app/reducers/index.js 590 bytes {0} [built]
[0] [17] ./app/reducers/uiReducer.js 1.82 kB {0} [built]
[0] [18] ./app/constants/UIConstants.js 645 bytes {0} [built]
[0] [19] external "immutable" 42 bytes {0} [not cacheable]
[0] [20] ./app/reducers/keychainReducer.js 2.24 kB {0} [built]
[0] [21] ./app/constants/KeychainConstants.js 180 bytes {0} [built]
[0] [22] ./app/components/Felony.js 4.94 kB {0} [built]
[0] [23] .//normalize.css/normalize.css 867 bytes {0} [built]
[0] [24] ./
/css-loader!.//normalize.css/normalize.css 8.29 kB {0} [built]
[0] [25] ./
/css-loader/lib/css-base.js 1.51 kB {0} [built]
[0] [26] .//style-loader/addStyles.js 7.15 kB {0} [built]
[0] [27] external "reactcss" 42 bytes {0} [not cacheable]
[0] [28] ./app/assets/fonts/work-sans/WorkSans.css 952 bytes {0} [built]
[0] [29] ./
/css-loader!./app/assets/fonts/work-sans/WorkSans.css 644
bytes {0} [built]
[0] [30] ./app/assets/fonts/work-sans/WorkSans-Light.woff2 66 kB {0}
[built]
[0] [31] ./app/assets/fonts/work-sans/WorkSans-Regular.woff2 64 kB {0}
[built]
[0] [32] ./app/assets/fonts/work-sans/WorkSans-Medium.woff2 68.6 kB {0}
[built]
[0] [33] ./app/assets/fonts/work-sans/WorkSans-Bold.woff2 69.7 kB {0}
[built]
[0] [34] ./app/assets/styles/felony.css 934 bytes {0} [built]
[0] [35] .//css-loader!./app/assets/styles/felony.css 267 bytes {0}
[built]
[0] [36] ./app/assets/styles/spinner.css 937 bytes {0} [built]
[0] [37] ./
/css-loader!./app/assets/styles/spinner.css 974 bytes {0}
[built]
[0] [38] ./app/assets/styles/variables/colors.js 334 bytes {0} [built]
[0] [39] ./app/containers/HeaderContainer.js 1.47 kB {0} [built]
[0] [40] ./app/actions/index.js 669 bytes {0} [built]
[0] [41] ./app/actions/KeychainActions.js 3.29 kB {0} [built]
[0] [42] ./app/config/database.js 814 bytes {0} [built]
[0] [43] external "lowdb" 42 bytes {0} [not cacheable]
[0] [44] external "lowdb/file-async" 42 bytes {0} [not cacheable]
[0] [45] external "path" 42 bytes {0} [not cacheable]
[0] [46] external "os" 42 bytes {0} [not cacheable]
[0] [47] external "underscore-db" 42 bytes {0} [not cacheable]
[0] [48] ./app/actions/UIActions.js 1.74 kB {0} [built]
[0] [49] ./app/components/header/Header.js 4.54 kB {0} [built]
[0] [50] ./app/assets/styles/variables/utils.js 213 bytes {0} [built]
[0] [51] ./app/components/alias/Alias.js 2.8 kB {0} [built]
[0] [52] ./app/components/common/index.js 1.08 kB {0} [built]
[0] [53] ./app/components/common/Avatar.js 2.63 kB {0} [built]
[0] [54] ./app/components/common/Button.js 2.85 kB {0} [built]
[0] [55] ./app/components/common/Icon.js 2.61 kB {0} [built]
[0] [56] ./app/utils/icons.js 3.14 kB {0} [built]
[0] [57] ./app/components/common/Overlay.js 3.08 kB {0} [built]
[0] [58] ./app/components/common/User.js 4.16 kB {0} [built]
[0] [59] ./app/utils/pgp.js 13.2 kB {0} [built]
[0] [60] external "keytar" 42 bytes {0} [not cacheable]
[0] [61] external "openpgp" 42 bytes {0} [not cacheable]
[0] [62] ./app/components/header/HeaderKeyStatus.js 4.53 kB {0} [built]
[0] [63] ./app/components/header/HeaderKeyCopy.js 3.7 kB {0} [built]
[0] [64] external "react-copy-to-clipboard" 42 bytes {0} [not cacheable]
[0] [65] ./app/components/header/HeaderKeyStatusSpinner.js 2.69 kB {0}
[built]
[0] [66] ./app/components/header/HeaderKeyStatusTooltip.js 4.56 kB {0}
[built]
[0] [67] external "dynamics.js" 42 bytes {0} [not cacheable]
[0] [68] external "lodash" 42 bytes {0} [not cacheable]
[0] [69] ./app/containers/FloatingButtonContainer.js 834 bytes {0} [built]
[0] [70] ./app/components/floating-button/FloatingButton.js 5.85 kB {0} [
[0] built]
[0] [71] ./app/components/floating-button/FloatingButtonItem.js 5.29 kB
{0} [built]
[0] [72] ./app/components/floating-button/FloatingButtonItemLabel.js 3.47
kB {0} [built]
[0] [73] ./app/containers/ComposerContainer.js 1.87 kB {0} [built]
[0] [74] ./app/components/composer/Composer.js 4.36 kB {0} [built]
[0] [75] ./app/components/composer/ComposerForm.js 13.4 kB {0} [built]
[0] [76] ./app/components/composer/ComposerFormSubmit.js 3.88 kB {0}
[built]
[0] [77] ./app/components/composer/ComposerAliasForm.js 11.3 kB {0} [built]
[0] [78] ./app/components/composer/ComposerAliasFormInput.js 4.15 kB {0}
[built]
[0] [79] ./app/components/composer/ComposerAliasSuccess.js 4.73 kB {0}
[built]
[0] [80] ./app/containers/OutputContainer.js 1.27 kB {0} [built]
[0] [81] ./app/components/output/Output.js 7.15 kB {0} [built]
[0] [82] ./app/containers/KeychainContainer.js 1.62 kB {0} [built]
[0] [83] ./app/components/keychain/Keychain.js 3.25 kB {0} [built]
[0] [84] ./app/components/keychain/KeychainList.js 3.26 kB {0} [built]
[0] [85] ./app/components/keychain/KeychainListItem.js 4.24 kB {0} [built]
[0] [86] ./app/components/keychain/KeychainComposerOpener.js 4.46 kB {0}
[built]
[0] webpack: bundle is now VALID.`

Error stack:
ELECTRON_ASAR.js:167Uncaught Error: Module version mismatch. Expected 49,
got 48.
module.(anonymous function) @ ELECTRON_ASAR.js:167
Module.

_extensions..node @ module.js:568 module.(anonymous function) @
ELECTRON_ASAR.js:167 Module.load @ module.js:458 tryModuleLoad @
module.js:417 Module.load @ module.js:409 Module.require @ module.js:468
require @ internal/module.js:20 (anonymous function) @ keytar.js:4
(anonymous function) @ keytar.js:58 Module._compile @ module.js:541
Module._extensions..js @ module.js:550 Module.load @ module.js:458
tryModuleLoad @ module.js:417 Module._load @ module.js:409 Module.require @
module.js:468 require @ internal/module.js:20 (anonymous function) @
external "keytar"?c4e9:1 (anonymous function) @ bundle.js:950
_webpack_require @ bundle.js:557
fn @ bundle.js:88
(anonymous function) @ pgp.js?b688:6
(anonymous function) @ bundle.js:944
webpack_require @ bundle.js:557
fn @ bundle.js:88
(anonymous function) @ Alias.js?5486:8
(anonymous function) @ bundle.js:896
webpack_require @ bundle.js:557
fn @ bundle.js:88
(anonymous function) @ Header.js?fa34:9
(anonymous function) @ bundle.js:884
webpack_require @ bundle.js:557
fn @ bundle.js:88
(anonymous function) @ HeaderContainer.js?e915:3
(anonymous function) @ bundle.js:824
webpack_require @ bundle.js:557
fn @ bundle.js:88
(anonymous function) @ Felony.js?48cf:12
(anonymous function) @ bundle.js:722
webpack_require @ bundle.js:557
fn @ bundle.js:88
(anonymous function) @ index.js?2018:9
(anonymous function) @ bundle.js:650
webpack_require @ bundle.js:557
fn @ bundle.js:88
(anonymous function) @ bundle.js:589
webpack_require @ bundle.js:557
(anonymous function) @ bundle.js:580
(anonymous function) @ bundle.js:583


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#74, or mute the thread
https://github.com/notifications/unsubscribe-auth/AFu9R1eGvulq1UZdYX5agtcRhUhDI3pWks5qcpLBgaJpZM4JdRt4
.