electron-userland / electron-builder

A complete solution to package and build a ready for distribution Electron app with “auto update” support out of the box
https://www.electron.build
MIT License
13.68k stars 1.74k forks source link

Unresolved node modules: extract-zip #2236

Closed NiklasRosenstein closed 6 years ago

NiklasRosenstein commented 7 years ago

package.json (shortended)

{
  "scripts": {
    "test": "echo \"Error: no test specified\" && exit 1",
    "start": "./node_modules/.bin/webpack && ./node_modules/.bin/electron .",
    "pack": "electron-builder --dir",
    "dist": "electron-builder"
  },
  "dependencies": { ... },
  "devDependencies": {
    "electron": "^1.7.9",
    "electron-builder": "^19.42.1",
    "vue-devtools": "^3.1.9"
  },
  "build": {
    "appId": "asset-browser",
    "mac": {
      "category": "your.app.category.type"
    }
  }

Running electron-builder gives me an Error: Unresolved node modules: extract-zip. Any idea where that's coming from? I've already tried yarn add extract-zip, to no avail.

Spoiler ``` $ yarn dist yarn run v1.2.1 warning package.json: No license field $ electron-builder electron-builder 19.42.1 Rebuilding native production dependencies for win32:x64 Rebuilding native dependency node-sass Packaging for win32 x64 using electron 1.8.1 to dist\win-unpacked Error: Unresolved node modules: extract-zip at C:\Users\niklas\repos\aixsponza\asset-browser\node_modules\electron-builder\src\util\packageDependencies.ts:112:19 From previous event: at Collector.resolveUnresolvedHoisted (C:\Users\niklas\repos\aixsponza\asset-browser\node_modules\electron-builder\out\util\packageDependencies.js:208:11) at C:\Users\niklas\repos\aixsponza\asset-browser\node_modules\electron-builder\src\util\packageDependencies.ts:88:18 at Generator.next () at runCallback (timers.js:785:20) at tryOnImmediate (timers.js:747:5) at processImmediate [as _immediateCallback] (timers.js:718:5) From previous event: at Collector.collect (C:\Users\niklas\repos\aixsponza\asset-browser\node_modules\electron-builder\out\util\packageDependencies.js:156:11) at computeDependencies (C:\Users\niklas\repos\aixsponza\asset-browser\node_modules\electron-builder\src\util\packageDependencies.ts:51:26) at C:\Users\niklas\repos\aixsponza\asset-browser\node_modules\electron-builder\src\util\packageDependencies.ts:46:28 at Generator.next () From previous event: at getProductionDependencies (C:\Users\niklas\repos\aixsponza\asset-browser\node_modules\electron-builder\out\util\packageDependencies.js:29:21) at AppFileWalker.handleNodeModulesDir (C:\Users\niklas\repos\aixsponza\asset-browser\node_modules\electron-builder\src\util\AppFileWalker.ts:49:65) at AppFileWalker.consume (C:\Users\niklas\repos\aixsponza\asset-browser\node_modules\electron-builder\src\util\AppFileWalker.ts:32:21) at C:\Users\niklas\repos\aixsponza\asset-browser\node_modules\builder-util\src\fs.ts:78:69 at C:\Users\niklas\repos\aixsponza\asset-browser\node_modules\graceful-fs\polyfills.js:287:18 at FSReqWrap.oncomplete (fs.js:155:5) From previous event: at C:\Users\niklas\repos\aixsponza\asset-browser\node_modules\builder-util\src\fs.ts:73:10 at runCallback (timers.js:785:20) at tryOnImmediate (timers.js:747:5) at processImmediate [as _immediateCallback] (timers.js:718:5) From previous event: at C:\Users\niklas\repos\aixsponza\asset-browser\node_modules\builder-util\src\fs.ts:66:51 at Generator.next () at go$readdir$cb (C:\Users\niklas\repos\aixsponza\asset-browser\node_modules\graceful-fs\graceful-fs.js:149:14) at FSReqWrap.oncomplete (fs.js:137:15) From previous event: at walk (C:\Users\niklas\repos\aixsponza\asset-browser\node_modules\builder-util\out\fs.js:116:22) at C:\Users\niklas\repos\aixsponza\asset-browser\node_modules\electron-builder\src\util\AppFileCopierHelper.ts:39:25 at Generator.next () at C:\Users\niklas\repos\aixsponza\asset-browser\node_modules\graceful-fs\polyfills.js:287:18 at FSReqWrap.oncomplete (fs.js:155:5) From previous event: at computeFileSets (C:\Users\niklas\repos\aixsponza\asset-browser\node_modules\electron-builder\out\util\AppFileCopierHelper.js:82:21) at _computeFileSets (C:\Users\niklas\repos\aixsponza\asset-browser\node_modules\electron-builder\src\platformPackager.ts:230:14) at WinPackager.copyAppFiles (C:\Users\niklas\repos\aixsponza\asset-browser\node_modules\electron-builder\src\platformPackager.ts:243:27) at C:\Users\niklas\repos\aixsponza\asset-browser\node_modules\electron-builder\src\platformPackager.ts:186:10 at Generator.next () at runCallback (timers.js:785:20) at tryOnImmediate (timers.js:747:5) at processImmediate [as _immediateCallback] (timers.js:718:5) From previous event: at WinPackager.doPack (C:\Users\niklas\repos\aixsponza\asset-browser\node_modules\electron-builder\out\platformPackager.js:267:11) at C:\Users\niklas\repos\aixsponza\asset-browser\node_modules\electron-builder\src\platformPackager.ts:115:16 at Generator.next () From previous event: at WinPackager.pack (C:\Users\niklas\repos\aixsponza\asset-browser\node_modules\electron-builder\out\platformPackager.js:190:11) at C:\Users\niklas\repos\aixsponza\asset-browser\node_modules\electron-builder\src\packager.ts:260:24 From previous event: at Packager.doBuild (C:\Users\niklas\repos\aixsponza\asset-browser\node_modules\electron-builder\out\packager.js:332:11) at C:\Users\niklas\repos\aixsponza\asset-browser\node_modules\electron-builder\src\packager.ts:186:52 at Generator.next () From previous event: at Packager.build (C:\Users\niklas\repos\aixsponza\asset-browser\node_modules\electron-builder\out\packager.js:261:11) at C:\Users\niklas\repos\aixsponza\asset-browser\node_modules\electron-builder\src\builder.ts:283:40 at Generator.next () From previous event: at build (C:\Users\niklas\repos\aixsponza\asset-browser\node_modules\electron-builder\out\builder.js:63:21) at then (C:\Users\niklas\repos\aixsponza\asset-browser\node_modules\electron-builder\src\cli\cli.ts:49:4) at runCallback (timers.js:785:20) at tryOnImmediate (timers.js:747:5) at processImmediate [as _immediateCallback] (timers.js:718:5) From previous event: at Object.args [as handler] (C:\Users\niklas\repos\aixsponza\asset-browser\node_modules\electron-builder\src\cli\cli.ts:49:4) at Object.runCommand (C:\Users\niklas\repos\aixsponza\asset-browser\node_modules\electron-builder\node_modules\yargs\lib\command.js:228:22) at Object.parseArgs [as _parseArgs] (C:\Users\niklas\repos\aixsponza\asset-browser\node_modules\electron-builder\node_modules\yargs\yargs.js:1041:24) at Object.get [as argv] (C:\Users\niklas\repos\aixsponza\asset-browser\node_modules\electron-builder\node_modules\yargs\yargs.js:957:21) at Object. (C:\Users\niklas\repos\aixsponza\asset-browser\node_modules\electron-builder\src\cli\cli.ts:43:15) at Module._compile (module.js:612:30) at Object.Module._extensions..js (module.js:623:10) at Module.load (module.js:531:32) at tryModuleLoad (module.js:494:12) at Function.Module._load (module.js:486:3) at Function.Module.runMain (module.js:653:10) at startup (bootstrap_node.js:187:16) at bootstrap_node.js:608:3 error Command failed with exit code 4294967295. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. ```
develar commented 7 years ago

Set env ELECTRON_BUILDER_ALLOW_UNRESOLVED_DEPENDENCIES=true as workaround.

Please ˋnpm ls --prodˋ

NiklasRosenstein commented 7 years ago

The workaround works. Thanks!

develar commented 7 years ago

Well, we need to fix issue :) please attach result of npm ls --prod

NiklasRosenstein commented 7 years ago

Oh right, sorry. :)

$ npm ls --prod ``` asset-browser@1.0.0 C:\Users\niklas\repos\asset-browser +-- babel-core@6.26.0 | +-- babel-code-frame@6.26.0 | | +-- chalk@1.1.3 | | | +-- ansi-styles@2.2.1 | | | `-- supports-color@2.0.0 | | +-- esutils@2.0.2 | | `-- js-tokens@3.0.2 | +-- babel-generator@6.26.0 | | +-- detect-indent@4.0.0 | | | `-- repeating@2.0.1 | | | `-- is-finite@1.0.2 | | | `-- number-is-nan@1.0.1 | | +-- jsesc@1.3.0 | | `-- trim-right@1.0.1 | +-- babel-helpers@6.24.1 | +-- babel-messages@6.23.0 | +-- babel-register@6.26.0 | | +-- core-js@2.5.1 | | +-- home-or-tmp@2.0.0 | | | +-- os-homedir@1.0.2 | | | `-- os-tmpdir@1.0.2 | | `-- source-map-support@0.4.18 | +-- babel-runtime@6.26.0 | | `-- regenerator-runtime@0.11.0 | +-- babel-template@6.26.0 | +-- babel-traverse@6.26.0 | | +-- globals@9.18.0 | | `-- invariant@2.2.2 | | `-- loose-envify@1.3.1 | +-- babel-types@6.26.0 | | `-- to-fast-properties@1.0.3 | +-- babylon@6.18.0 | +-- convert-source-map@1.5.0 | +-- debug@2.6.9 | | `-- ms@2.0.0 | +-- json5@0.5.1 | +-- lodash@4.17.4 | +-- minimatch@3.0.4 | | `-- brace-expansion@1.1.8 | | +-- balanced-match@1.0.0 | | `-- concat-map@0.0.1 | +-- path-is-absolute@1.0.1 | +-- private@0.1.8 | +-- slash@1.0.0 | `-- source-map@0.5.7 +-- babel-loader@7.1.2 | +-- find-cache-dir@1.0.0 | | +-- commondir@1.0.1 | | +-- make-dir@1.1.0 | | | `-- pify@3.0.0 | | `-- pkg-dir@2.0.0 | | `-- find-up@2.1.0 | | `-- locate-path@2.0.0 | | +-- p-locate@2.0.0 | | | `-- p-limit@1.1.0 | | `-- path-exists@3.0.0 | +-- loader-utils@1.1.0 | | +-- big.js@3.2.0 | | `-- emojis-list@2.1.0 | `-- mkdirp@0.5.1 | `-- minimist@0.0.8 +-- babel-preset-es2015@6.24.1 | +-- babel-plugin-check-es2015-constants@6.22.0 | +-- babel-plugin-transform-es2015-arrow-functions@6.22.0 | +-- babel-plugin-transform-es2015-block-scoped-functions@6.22.0 | +-- babel-plugin-transform-es2015-block-scoping@6.26.0 | +-- babel-plugin-transform-es2015-classes@6.24.1 | | +-- babel-helper-define-map@6.26.0 | | +-- babel-helper-function-name@6.24.1 | | +-- babel-helper-optimise-call-expression@6.24.1 | | `-- babel-helper-replace-supers@6.24.1 | +-- babel-plugin-transform-es2015-computed-properties@6.24.1 | +-- babel-plugin-transform-es2015-destructuring@6.23.0 | +-- babel-plugin-transform-es2015-duplicate-keys@6.24.1 | +-- babel-plugin-transform-es2015-for-of@6.23.0 | +-- babel-plugin-transform-es2015-function-name@6.24.1 | +-- babel-plugin-transform-es2015-literals@6.22.0 | +-- babel-plugin-transform-es2015-modules-amd@6.24.1 | +-- babel-plugin-transform-es2015-modules-commonjs@6.26.0 | | `-- babel-plugin-transform-strict-mode@6.24.1 | +-- babel-plugin-transform-es2015-modules-systemjs@6.24.1 | | `-- babel-helper-hoist-variables@6.24.1 | +-- babel-plugin-transform-es2015-modules-umd@6.24.1 | +-- babel-plugin-transform-es2015-object-super@6.24.1 | +-- babel-plugin-transform-es2015-parameters@6.24.1 | | +-- babel-helper-call-delegate@6.24.1 | | `-- babel-helper-get-function-arity@6.24.1 | +-- babel-plugin-transform-es2015-shorthand-properties@6.24.1 | +-- babel-plugin-transform-es2015-spread@6.22.0 | +-- babel-plugin-transform-es2015-sticky-regex@6.24.1 | | `-- babel-helper-regex@6.26.0 | +-- babel-plugin-transform-es2015-template-literals@6.22.0 | +-- babel-plugin-transform-es2015-typeof-symbol@6.23.0 | +-- babel-plugin-transform-es2015-unicode-regex@6.24.1 | | `-- regexpu-core@2.0.0 | | +-- regenerate@1.3.3 | | +-- regjsgen@0.2.0 | | `-- regjsparser@0.1.5 | | `-- jsesc@0.5.0 | `-- babel-plugin-transform-regenerator@6.26.0 | `-- regenerator-transform@0.10.1 +-- babel-preset-stage-0@6.24.1 | +-- babel-plugin-transform-do-expressions@6.22.0 | | `-- babel-plugin-syntax-do-expressions@6.13.0 | +-- babel-plugin-transform-function-bind@6.22.0 | | `-- babel-plugin-syntax-function-bind@6.13.0 | `-- babel-preset-stage-1@6.24.1 | +-- babel-plugin-transform-class-constructor-call@6.24.1 | | `-- babel-plugin-syntax-class-constructor-call@6.18.0 | +-- babel-plugin-transform-export-extensions@6.22.0 | | `-- babel-plugin-syntax-export-extensions@6.13.0 | `-- babel-preset-stage-2@6.24.1 | +-- babel-plugin-syntax-dynamic-import@6.18.0 | +-- babel-plugin-transform-class-properties@6.24.1 | | `-- babel-plugin-syntax-class-properties@6.13.0 | +-- babel-plugin-transform-decorators@6.24.1 | | +-- babel-helper-explode-class@6.24.1 | | | `-- babel-helper-bindify-decorators@6.24.1 | | `-- babel-plugin-syntax-decorators@6.13.0 | `-- babel-preset-stage-3@6.24.1 | +-- babel-plugin-syntax-trailing-function-commas@6.22.0 | +-- babel-plugin-transform-async-generator-functions@6.24.1 | | +-- babel-helper-remap-async-to-generator@6.24.1 | | `-- babel-plugin-syntax-async-generators@6.13.0 | +-- babel-plugin-transform-async-to-generator@6.24.1 | | `-- babel-plugin-syntax-async-functions@6.13.0 | +-- babel-plugin-transform-exponentiation-operator@6.24.1 | | +-- babel-helper-builder-binary-assignment-operator-visitor@6.24.1 | | | `-- babel-helper-explode-assignable-expression@6.24.1 | | `-- babel-plugin-syntax-exponentiation-operator@6.13.0 | `-- babel-plugin-transform-object-rest-spread@6.26.0 | `-- babel-plugin-syntax-object-rest-spread@6.13.0 +-- css-loader@0.28.7 | +-- css-selector-tokenizer@0.7.0 | | +-- cssesc@0.1.0 | | +-- fastparse@1.1.1 | | `-- regexpu-core@1.0.0 | +-- cssnano@3.10.0 | | +-- autoprefixer@6.7.7 | | | +-- browserslist@1.7.7 | | | | `-- electron-to-chromium@1.3.27 | | | +-- caniuse-db@1.0.30000750 | | | +-- normalize-range@0.1.2 | | | `-- num2fraction@1.2.2 | | +-- decamelize@1.2.0 | | +-- defined@1.0.0 | | +-- has@1.0.1 | | | `-- function-bind@1.1.1 | | +-- postcss-calc@5.3.1 | | | +-- postcss-message-helpers@2.0.0 | | | `-- reduce-css-calc@1.3.0 | | | +-- balanced-match@0.4.2 | | | +-- math-expression-evaluator@1.2.17 | | | `-- reduce-function-call@1.0.2 | | +-- postcss-colormin@2.2.2 | | | `-- colormin@1.1.2 | | | +-- color@0.11.4 | | | | +-- clone@1.0.2 | | | | `-- color-string@0.3.0 | | | `-- css-color-names@0.0.4 | | +-- postcss-convert-values@2.6.1 | | +-- postcss-discard-comments@2.0.4 | | +-- postcss-discard-duplicates@2.1.0 | | +-- postcss-discard-empty@2.1.0 | | +-- postcss-discard-overridden@0.1.1 | | +-- postcss-discard-unused@2.2.3 | | | `-- uniqs@2.0.0 | | +-- postcss-filter-plugins@2.0.2 | | | `-- uniqid@4.1.1 | | | `-- macaddress@0.2.8 | | +-- postcss-merge-idents@2.1.7 | | +-- postcss-merge-longhand@2.0.2 | | +-- postcss-merge-rules@2.1.2 | | | +-- caniuse-api@1.6.1 | | | | +-- lodash.memoize@4.1.2 | | | | `-- lodash.uniq@4.5.0 | | | `-- vendors@1.0.1 | | +-- postcss-minify-font-values@1.0.5 | | +-- postcss-minify-gradients@1.0.5 | | +-- postcss-minify-params@1.2.2 | | | `-- alphanum-sort@1.0.2 | | +-- postcss-minify-selectors@2.1.1 | | +-- postcss-normalize-charset@1.1.1 | | +-- postcss-normalize-url@3.0.8 | | | +-- is-absolute-url@2.1.0 | | | `-- normalize-url@1.9.1 | | | +-- prepend-http@1.0.4 | | | +-- query-string@4.3.4 | | | | `-- strict-uri-encode@1.1.0 | | | `-- sort-keys@1.1.2 | | | `-- is-plain-obj@1.1.0 | | +-- postcss-ordered-values@2.2.3 | | +-- postcss-reduce-idents@2.4.0 | | +-- postcss-reduce-initial@1.0.1 | | +-- postcss-reduce-transforms@1.0.4 | | +-- postcss-svgo@2.1.6 | | | +-- is-svg@2.1.0 | | | | `-- html-comment-regex@1.1.1 | | | `-- svgo@0.7.2 | | | +-- coa@1.0.4 | | | | `-- q@1.5.1 | | | +-- colors@1.1.2 | | | +-- csso@2.3.2 | | | | `-- clap@1.2.3 | | | | `-- chalk@1.1.3 | | | | +-- ansi-styles@2.2.1 | | | | `-- supports-color@2.0.0 | | | +-- js-yaml@3.7.0 | | | | `-- esprima@2.7.3 | | | +-- sax@1.2.4 | | | `-- whet.extend@0.9.9 | | +-- postcss-unique-selectors@2.0.2 | | `-- postcss-zindex@2.2.0 | +-- icss-utils@2.1.0 | | `-- postcss@6.0.13 | | `-- source-map@0.6.1 | +-- lodash.camelcase@4.3.0 | +-- object-assign@4.1.1 | +-- postcss@5.2.18 | | +-- chalk@1.1.3 | | | +-- ansi-styles@2.2.1 | | | `-- supports-color@2.0.0 | | +-- js-base64@2.3.2 | | `-- supports-color@3.2.3 | | `-- has-flag@1.0.0 | +-- postcss-modules-extract-imports@1.2.0 | | `-- postcss@6.0.13 | | `-- source-map@0.6.1 | +-- postcss-modules-local-by-default@1.2.0 | | `-- postcss@6.0.13 | | `-- source-map@0.6.1 | +-- postcss-modules-scope@1.1.0 | | `-- postcss@6.0.13 | | `-- source-map@0.6.1 | +-- postcss-modules-values@1.3.0 | | +-- icss-replace-symbols@1.1.0 | | `-- postcss@6.0.13 | | `-- source-map@0.6.1 | +-- postcss-value-parser@3.3.0 | `-- source-list-map@2.0.0 +-- extract-zip@1.6.5 | +-- concat-stream@1.6.0 | | +-- inherits@2.0.3 | | +-- readable-stream@2.3.3 | | | +-- core-util-is@1.0.2 | | | +-- isarray@1.0.0 | | | +-- process-nextick-args@1.0.7 | | | +-- string_decoder@1.0.3 | | | `-- util-deprecate@1.0.2 | | `-- typedarray@0.0.6 | +-- debug@2.2.0 | | `-- ms@0.7.1 | +-- mkdirp@0.5.0 | | `-- minimist@0.0.8 | `-- yauzl@2.4.1 | `-- fd-slicer@1.0.1 | `-- pend@1.2.0 +-- file-loader@1.1.5 | `-- schema-utils@0.3.0 +-- font-awesome@4.7.0 +-- font-awesome-webpack@0.0.5-beta.2 | +-- css-loader@0.26.4 | | `-- source-list-map@0.1.8 | +-- less-loader@2.2.3 | | `-- loader-utils@0.2.17 | `-- style-loader@0.13.2 +-- less@2.7.3 | +-- errno@0.1.4 | | `-- prr@0.0.0 | +-- graceful-fs@4.1.11 | +-- image-size@0.5.5 | +-- mime@1.4.1 | +-- promise@7.3.1 | | `-- asap@2.0.6 | `-- request@2.81.0 | +-- aws-sign2@0.6.0 | +-- aws4@1.6.0 | +-- caseless@0.12.0 | +-- combined-stream@1.0.5 | | `-- delayed-stream@1.0.0 | +-- extend@3.0.1 | +-- forever-agent@0.6.1 | +-- form-data@2.1.4 | | `-- asynckit@0.4.0 | +-- har-validator@4.2.1 | | +-- ajv@4.11.8 | | | `-- json-stable-stringify@1.0.1 | | | `-- jsonify@0.0.0 | | `-- har-schema@1.0.5 | +-- hawk@3.1.3 | | +-- boom@2.10.1 | | | `-- hoek@2.16.3 | | +-- cryptiles@2.0.5 | | +-- hoek@2.16.3 | | `-- sntp@1.0.9 | | `-- hoek@2.16.3 | +-- http-signature@1.1.1 | | +-- assert-plus@0.2.0 | | +-- jsprim@1.4.1 | | | +-- extsprintf@1.3.0 | | | +-- json-schema@0.2.3 | | | `-- verror@1.10.0 | | `-- sshpk@1.13.1 | | +-- asn1@0.2.3 | | +-- bcrypt-pbkdf@1.0.1 | | +-- dashdash@1.14.1 | | +-- ecc-jsbn@0.1.1 | | +-- getpass@0.1.7 | | +-- jsbn@0.1.1 | | `-- tweetnacl@0.14.5 | +-- is-typedarray@1.0.0 | +-- isstream@0.1.2 | +-- json-stringify-safe@5.0.1 | +-- mime-types@2.1.17 | | `-- mime-db@1.30.0 | +-- oauth-sign@0.8.2 | +-- performance-now@0.2.0 | +-- qs@6.4.0 | +-- safe-buffer@5.1.1 | +-- stringstream@0.0.5 | +-- tough-cookie@2.3.3 | +-- tunnel-agent@0.6.0 | `-- uuid@3.1.0 +-- node-sass@4.5.3 | +-- async-foreach@0.1.3 | +-- chalk@1.1.3 | | +-- ansi-styles@2.2.1 | | +-- escape-string-regexp@1.0.5 | | +-- has-ansi@2.0.0 | | | `-- ansi-regex@2.1.1 | | +-- strip-ansi@3.0.1 | | `-- supports-color@2.0.0 | +-- cross-spawn@3.0.1 | +-- gaze@1.1.2 | | `-- globule@1.2.0 | +-- get-stdin@4.0.1 | +-- glob@7.1.2 | | +-- fs.realpath@1.0.0 | | +-- inflight@1.0.6 | | | `-- wrappy@1.0.2 | | `-- once@1.4.0 | +-- in-publish@2.0.0 | +-- lodash.assign@4.2.0 | +-- lodash.clonedeep@4.5.0 | +-- lodash.mergewith@4.6.0 | +-- meow@3.7.0 | | +-- camelcase-keys@2.1.0 | | | `-- camelcase@2.1.1 | | +-- loud-rejection@1.6.0 | | | +-- currently-unhandled@0.4.1 | | | | `-- array-find-index@1.0.2 | | | `-- signal-exit@3.0.2 | | +-- map-obj@1.0.1 | | +-- minimist@1.2.0 | | +-- normalize-package-data@2.4.0 | | | +-- hosted-git-info@2.5.0 | | | +-- is-builtin-module@1.0.0 | | | | `-- builtin-modules@1.1.1 | | | +-- semver@5.4.1 | | | `-- validate-npm-package-license@3.0.1 | | | +-- spdx-correct@1.0.2 | | | | `-- spdx-license-ids@1.2.2 | | | `-- spdx-expression-parse@1.0.4 | | +-- read-pkg-up@1.0.1 | | | +-- find-up@1.1.2 | | | | +-- path-exists@2.1.0 | | | | `-- pinkie-promise@2.0.1 | | | | `-- pinkie@2.0.4 | | | `-- read-pkg@1.1.0 | | | +-- load-json-file@1.1.0 | | | | +-- pify@2.3.0 | | | | `-- strip-bom@2.0.0 | | | | `-- is-utf8@0.2.1 | | | `-- path-type@1.1.0 | | +-- redent@1.0.0 | | | +-- indent-string@2.1.0 | | | `-- strip-indent@1.0.1 | | `-- trim-newlines@1.0.0 | +-- nan@2.7.0 | +-- node-gyp@3.6.2 | | +-- fstream@1.0.11 | | +-- nopt@3.0.6 | | | `-- abbrev@1.1.1 | | +-- osenv@0.1.4 | | +-- rimraf@2.6.2 | | +-- semver@5.3.0 | | +-- tar@2.2.1 | | | `-- block-stream@0.0.9 | | `-- which@1.3.0 | | `-- isexe@2.0.0 | +-- npmlog@4.1.2 | | +-- are-we-there-yet@1.1.4 | | | `-- delegates@1.0.0 | | +-- console-control-strings@1.1.0 | | +-- gauge@2.7.4 | | | +-- aproba@1.2.0 | | | +-- has-unicode@2.0.1 | | | +-- string-width@1.0.2 | | | | +-- code-point-at@1.1.0 | | | | `-- is-fullwidth-code-point@1.0.0 | | | `-- wide-align@1.1.2 | | `-- set-blocking@2.0.0 | +-- request@2.83.0 | | +-- aws-sign2@0.7.0 | | +-- form-data@2.3.1 | | +-- har-validator@5.0.3 | | | `-- har-schema@2.0.0 | | +-- hawk@6.0.2 | | | +-- boom@4.3.1 | | | +-- cryptiles@3.1.2 | | | | `-- boom@5.2.0 | | | +-- hoek@4.2.0 | | | `-- sntp@2.0.2 | | +-- http-signature@1.2.0 | | | `-- assert-plus@1.0.0 | | +-- performance-now@2.1.0 | | `-- qs@6.5.1 | +-- sass-graph@2.2.4 | | +-- scss-tokenizer@0.2.3 | | | `-- source-map@0.4.4 | | | `-- amdefine@1.0.1 | | `-- yargs@7.1.0 | | +-- camelcase@3.0.0 | | +-- os-locale@1.4.0 | | +-- which-module@1.0.0 | | `-- yargs-parser@5.0.0 | `-- stdout-stream@1.4.0 +-- normalize.css@7.0.0 +-- sass-loader@6.0.6 | +-- async@2.5.0 | +-- clone-deep@0.3.0 | | +-- for-own@1.0.0 | | | `-- for-in@1.0.2 | | +-- is-plain-object@2.0.4 | | | `-- isobject@3.0.1 | | +-- kind-of@3.2.2 | | | `-- is-buffer@1.1.5 | | `-- shallow-clone@0.1.2 | | +-- is-extendable@0.1.1 | | +-- kind-of@2.0.1 | | +-- lazy-cache@0.2.7 | | `-- mixin-object@2.0.1 | | `-- for-in@0.1.8 | +-- lodash.tail@4.1.1 | `-- pify@3.0.0 +-- style-loader@0.19.0 +-- url-loader@0.6.2 +-- vue@2.5.2 +-- vue-loader@13.3.0 | +-- consolidate@0.14.5 | | `-- bluebird@3.5.1 | +-- hash-sum@1.0.2 | +-- lru-cache@4.1.1 | | +-- pseudomap@1.0.2 | | `-- yallist@2.1.2 | +-- postcss@6.0.13 | | `-- chalk@2.3.0 | | `-- ansi-styles@3.2.0 | | `-- color-convert@1.9.0 | | `-- color-name@1.1.3 | +-- postcss-load-config@1.2.0 | | +-- cosmiconfig@2.2.2 | | | +-- is-directory@0.3.1 | | | +-- js-yaml@3.10.0 | | | | +-- argparse@1.0.9 | | | | | `-- sprintf-js@1.0.3 | | | | `-- esprima@4.0.0 | | | +-- parse-json@2.2.0 | | | | `-- error-ex@1.3.1 | | | | `-- is-arrayish@0.2.1 | | | `-- require-from-string@1.2.1 | | +-- postcss-load-options@1.2.0 | | `-- postcss-load-plugins@2.3.0 | +-- postcss-selector-parser@2.2.3 | | +-- flatten@1.0.2 | | +-- indexes-of@1.0.1 | | `-- uniq@1.0.1 | +-- prettier@1.7.4 | +-- resolve@1.5.0 | | `-- path-parse@1.0.5 | +-- source-map@0.6.1 | +-- vue-hot-reload-api@2.2.0 | +-- vue-style-loader@3.0.3 | `-- vue-template-es2015-compiler@1.6.0 +-- vue-router@3.0.1 +-- vue-template-compiler@2.5.2 | +-- de-indent@1.0.2 | `-- he@1.1.1 `-- webpack@3.8.1 +-- acorn@5.1.2 +-- acorn-dynamic-import@2.0.2 | `-- acorn@4.0.13 +-- ajv@5.3.0 | +-- co@4.6.0 | +-- fast-deep-equal@1.0.0 | +-- fast-json-stable-stringify@2.0.0 | `-- json-schema-traverse@0.3.1 +-- ajv-keywords@2.1.0 +-- enhanced-resolve@3.4.1 +-- escope@3.6.0 | +-- es6-map@0.1.5 | | +-- d@1.0.0 | | +-- es5-ext@0.10.35 | | +-- es6-iterator@2.0.3 | | +-- es6-set@0.1.5 | | +-- es6-symbol@3.1.1 | | `-- event-emitter@0.3.5 | +-- es6-weak-map@2.0.2 | +-- esrecurse@4.2.0 | `-- estraverse@4.2.0 +-- interpret@1.0.4 +-- json-loader@0.5.7 +-- loader-runner@2.3.0 +-- memory-fs@0.4.1 +-- node-libs-browser@2.0.0 | +-- assert@1.4.1 | +-- browserify-zlib@0.1.4 | | `-- pako@0.2.9 | +-- buffer@4.9.1 | | +-- base64-js@1.2.1 | | `-- ieee754@1.1.8 | +-- console-browserify@1.1.0 | | `-- date-now@0.1.4 | +-- constants-browserify@1.0.0 | +-- crypto-browserify@3.11.1 | | +-- browserify-cipher@1.0.0 | | | +-- browserify-aes@1.1.1 | | | | `-- buffer-xor@1.0.3 | | | +-- browserify-des@1.0.0 | | | | `-- des.js@1.0.0 | | | `-- evp_bytestokey@1.0.3 | | | `-- md5.js@1.3.4 | | | `-- hash-base@3.0.4 | | +-- browserify-sign@4.0.4 | | | +-- bn.js@4.11.8 | | | +-- browserify-rsa@4.0.1 | | | +-- elliptic@6.4.0 | | | | +-- brorand@1.1.0 | | | | +-- hash.js@1.1.3 | | | | +-- hmac-drbg@1.0.1 | | | | +-- minimalistic-assert@1.0.0 | | | | `-- minimalistic-crypto-utils@1.0.1 | | | `-- parse-asn1@5.1.0 | | | `-- asn1.js@4.9.1 | | +-- create-ecdh@4.0.0 | | +-- create-hash@1.1.3 | | | +-- cipher-base@1.0.4 | | | +-- ripemd160@2.0.1 | | | | `-- hash-base@2.0.2 | | | `-- sha.js@2.4.9 | | +-- create-hmac@1.1.6 | | +-- diffie-hellman@5.0.2 | | | `-- miller-rabin@4.0.1 | | +-- pbkdf2@3.0.14 | | +-- public-encrypt@4.0.0 | | `-- randombytes@2.0.5 | +-- domain-browser@1.1.7 | +-- events@1.1.1 | +-- https-browserify@0.0.1 | +-- os-browserify@0.2.1 | +-- path-browserify@0.0.0 | +-- process@0.11.10 | +-- punycode@1.4.1 | +-- querystring-es3@0.2.1 | +-- stream-browserify@2.0.1 | +-- stream-http@2.7.2 | | +-- builtin-status-codes@3.0.0 | | +-- to-arraybuffer@1.0.1 | | `-- xtend@4.0.1 | +-- string_decoder@0.10.31 | +-- timers-browserify@2.0.4 | | `-- setimmediate@1.0.5 | +-- tty-browserify@0.0.0 | +-- url@0.11.0 | | +-- punycode@1.3.2 | | `-- querystring@0.2.0 | +-- util@0.10.3 | | `-- inherits@2.0.1 | `-- vm-browserify@0.0.4 | `-- indexof@0.0.1 +-- supports-color@4.5.0 | `-- has-flag@2.0.0 +-- tapable@0.2.8 +-- uglifyjs-webpack-plugin@0.4.6 | `-- uglify-js@2.8.29 | +-- uglify-to-browserify@1.0.2 | `-- yargs@3.10.0 | +-- camelcase@1.2.1 | +-- cliui@2.1.0 | | +-- center-align@0.1.3 | | | +-- align-text@0.1.4 | | | | +-- longest@1.0.1 | | | | `-- repeat-string@1.6.1 | | | `-- lazy-cache@1.0.4 | | +-- right-align@0.1.3 | | `-- wordwrap@0.0.2 | `-- window-size@0.1.0 +-- watchpack@1.4.0 | `-- chokidar@1.7.0 | +-- anymatch@1.3.2 | | +-- micromatch@2.3.11 | | | +-- arr-diff@2.0.0 | | | | `-- arr-flatten@1.1.0 | | | +-- array-unique@0.2.1 | | | +-- braces@1.8.5 | | | | +-- expand-range@1.8.2 | | | | | `-- fill-range@2.2.3 | | | | | +-- is-number@2.1.0 | | | | | +-- isobject@2.1.0 | | | | | `-- randomatic@1.1.7 | | | | | +-- is-number@3.0.0 | | | | | | `-- kind-of@3.2.2 | | | | | `-- kind-of@4.0.0 | | | | +-- preserve@0.2.0 | | | | `-- repeat-element@1.1.2 | | | +-- expand-brackets@0.1.5 | | | | `-- is-posix-bracket@0.1.1 | | | +-- extglob@0.3.2 | | | +-- filename-regex@2.0.1 | | | +-- object.omit@2.0.1 | | | | `-- for-own@0.1.5 | | | +-- parse-glob@3.0.4 | | | | +-- glob-base@0.3.0 | | | | `-- is-dotfile@1.0.3 | | | `-- regex-cache@0.4.4 | | | `-- is-equal-shallow@0.1.3 | | | `-- is-primitive@2.0.0 | | `-- normalize-path@2.1.1 | | `-- remove-trailing-separator@1.1.0 | +-- async-each@1.0.1 | +-- UNMET OPTIONAL DEPENDENCY fsevents@^1.0.0 | +-- glob-parent@2.0.0 | +-- is-binary-path@1.0.1 | | `-- binary-extensions@1.10.0 | +-- is-glob@2.0.1 | | `-- is-extglob@1.0.0 | `-- readdirp@2.1.0 | `-- set-immediate-shim@1.0.1 +-- webpack-sources@1.0.1 `-- yargs@8.0.2 +-- camelcase@4.1.0 +-- cliui@3.2.0 | `-- wrap-ansi@2.1.0 +-- get-caller-file@1.0.2 +-- os-locale@2.1.0 | +-- execa@0.7.0 | | +-- cross-spawn@5.1.0 | | | `-- shebang-command@1.2.0 | | | `-- shebang-regex@1.0.0 | | +-- get-stream@3.0.0 | | +-- is-stream@1.1.0 | | +-- npm-run-path@2.0.2 | | | `-- path-key@2.0.1 | | +-- p-finally@1.0.0 | | `-- strip-eof@1.0.0 | +-- lcid@1.0.0 | | `-- invert-kv@1.0.0 | `-- mem@1.1.0 | `-- mimic-fn@1.1.0 +-- read-pkg-up@2.0.0 | `-- read-pkg@2.0.0 | +-- load-json-file@2.0.0 | | `-- strip-bom@3.0.0 | `-- path-type@2.0.0 +-- require-directory@2.1.1 +-- require-main-filename@1.0.1 +-- string-width@2.1.1 | +-- is-fullwidth-code-point@2.0.0 | `-- strip-ansi@4.0.0 | `-- ansi-regex@3.0.0 +-- which-module@2.0.0 +-- y18n@3.2.1 `-- yargs-parser@7.0.0 ```
fridgerator commented 6 years ago

I was getting the same error only with fsevents, the env variable workaround worked for me

whphhg commented 6 years ago

I am getting the same error for jquery with antd@2.13.11, which has it listed as a peerDependency, but it is not used by any React component I'm importing from antd.

After installing (-save-dev) jquery the build is successful.

$ npm ls --prod ``` ├─┬ antd@2.13.11 │ ├── array-tree-filter@1.0.1 │ ├─┬ babel-runtime@6.26.0 │ │ ├── core-js@2.5.1 │ │ └── regenerator-runtime@0.11.0 │ ├── classnames@2.2.5 │ ├─┬ create-react-class@15.6.2 │ │ ├── fbjs@0.8.16 deduped │ │ ├── loose-envify@1.3.1 deduped │ │ └── object-assign@4.1.1 deduped │ ├─┬ css-animation@1.4.1 │ │ ├── babel-runtime@6.26.0 deduped │ │ └─┬ component-classes@1.2.6 │ │ └── component-indexof@0.0.3 │ ├─┬ dom-closest@0.2.0 │ │ └── dom-matches@2.0.0 │ ├── lodash.debounce@4.0.8 │ ├── moment@2.20.1 deduped │ ├─┬ omit.js@1.0.0 │ │ └── babel-runtime@6.26.0 deduped │ ├─┬ prop-types@15.6.0 │ │ ├── fbjs@0.8.16 deduped │ │ ├── loose-envify@1.3.1 deduped │ │ └── object-assign@4.1.1 deduped │ ├─┬ rc-animate@2.4.1 │ │ ├── babel-runtime@6.26.0 deduped │ │ ├── css-animation@1.4.1 deduped │ │ └── prop-types@15.6.0 deduped │ ├─┬ rc-calendar@9.0.4 │ │ ├── babel-runtime@6.26.0 deduped │ │ ├── classnames@2.2.5 deduped │ │ ├── create-react-class@15.6.2 deduped │ │ ├── moment@2.20.1 deduped │ │ ├── prop-types@15.6.0 deduped │ │ ├─┬ rc-trigger@1.11.5 │ │ │ ├── babel-runtime@6.26.0 deduped │ │ │ ├── create-react-class@15.6.2 deduped │ │ │ ├── prop-types@15.6.0 deduped │ │ │ ├─┬ rc-align@2.3.5 │ │ │ │ ├── babel-runtime@6.26.0 deduped │ │ │ │ ├── dom-align@1.6.5 │ │ │ │ ├── prop-types@15.6.0 deduped │ │ │ │ └── rc-util@4.3.0 deduped │ │ │ ├── rc-animate@2.4.1 deduped │ │ │ └── rc-util@4.3.0 deduped │ │ └── rc-util@4.3.0 deduped │ ├─┬ rc-cascader@0.11.6 │ │ ├── array-tree-filter@1.0.1 deduped │ │ ├── prop-types@15.6.0 deduped │ │ ├── rc-trigger@1.11.5 deduped │ │ ├── rc-util@4.3.0 deduped │ │ └── shallow-equal@1.0.0 │ ├─┬ rc-checkbox@2.0.3 │ │ ├── babel-runtime@6.26.0 deduped │ │ ├── classnames@2.2.5 deduped │ │ ├── prop-types@15.6.0 deduped │ │ └── rc-util@4.3.0 deduped │ ├─┬ rc-collapse@1.7.6 │ │ ├── classnames@2.2.5 deduped │ │ ├── css-animation@1.4.1 deduped │ │ ├── prop-types@15.6.0 deduped │ │ └── rc-animate@2.4.1 deduped │ ├─┬ rc-dialog@6.5.11 │ │ ├── babel-runtime@6.26.0 deduped │ │ ├── create-react-class@15.6.2 deduped │ │ ├── object-assign@4.1.1 deduped │ │ ├── rc-animate@2.4.1 deduped │ │ └── rc-util@4.3.0 deduped │ ├─┬ rc-dropdown@1.5.1 │ │ ├── prop-types@15.6.0 deduped │ │ └── rc-trigger@1.11.5 deduped │ ├─┬ rc-editor-mention@0.6.13 │ │ ├── classnames@2.2.5 deduped │ │ ├── dom-scroll-into-view@1.2.1 │ │ ├─┬ draft-js@0.10.4 │ │ │ ├── fbjs@0.8.16 deduped │ │ │ ├── immutable@3.7.6 deduped │ │ │ └── object-assign@4.1.1 deduped │ │ ├── immutable@3.7.6 │ │ ├── prop-types@15.6.0 deduped │ │ ├── rc-animate@2.4.1 deduped │ │ └─┬ rc-editor-core@0.7.9 │ │ ├── draft-js@0.10.4 deduped │ │ ├── immutable@3.7.6 deduped │ │ ├── lodash@4.17.4 deduped │ │ ├── prop-types@15.6.0 deduped │ │ └── setimmediate@1.0.5 deduped │ ├─┬ rc-form@1.4.8 │ │ ├─┬ async-validator@1.8.1 │ │ │ └── babel-runtime@6.26.0 deduped │ │ ├── babel-runtime@6.26.0 deduped │ │ ├── create-react-class@15.6.2 deduped │ │ ├── dom-scroll-into-view@1.2.1 deduped │ │ ├── hoist-non-react-statics@1.2.0 │ │ ├── lodash@4.17.4 deduped │ │ └── warning@3.0.0 deduped │ ├─┬ rc-input-number@3.6.10 │ │ ├── babel-runtime@6.26.0 deduped │ │ ├── classnames@2.2.5 deduped │ │ ├── create-react-class@15.6.2 deduped │ │ ├── prop-types@15.6.0 deduped │ │ └─┬ rc-touchable@1.2.3 │ │ └── babel-runtime@6.26.0 deduped │ ├─┬ rc-menu@5.0.14 │ │ ├── babel-runtime@6.26.0 deduped │ │ ├── classnames@2.2.5 deduped │ │ ├── create-react-class@15.6.2 deduped │ │ ├── dom-scroll-into-view@1.2.1 deduped │ │ ├── prop-types@15.6.0 deduped │ │ ├── rc-animate@2.4.1 deduped │ │ └── rc-util@4.3.0 deduped │ ├─┬ rc-notification@2.0.6 │ │ ├── babel-runtime@6.26.0 deduped │ │ ├── classnames@2.2.5 deduped │ │ ├── prop-types@15.6.0 deduped │ │ ├── rc-animate@2.4.1 deduped │ │ └── rc-util@4.3.0 deduped │ ├─┬ rc-pagination@1.12.11 │ │ ├── babel-runtime@6.26.0 deduped │ │ └── prop-types@15.6.0 deduped │ ├─┬ rc-progress@2.2.5 │ │ ├── babel-runtime@6.26.0 deduped │ │ └── prop-types@15.6.0 deduped │ ├─┬ rc-rate@2.1.1 │ │ ├── classnames@2.2.5 deduped │ │ └── prop-types@15.6.0 deduped │ ├─┬ rc-select@6.9.7 │ │ ├── babel-runtime@6.26.0 deduped │ │ ├── classnames@2.2.5 deduped │ │ ├── component-classes@1.2.6 deduped │ │ ├── dom-scroll-into-view@1.2.1 deduped │ │ ├── prop-types@15.6.0 deduped │ │ ├── rc-animate@2.4.1 deduped │ │ ├── rc-menu@5.0.14 deduped │ │ ├── rc-trigger@1.11.5 deduped │ │ ├── rc-util@4.3.0 deduped │ │ └── warning@3.0.0 deduped │ ├─┬ rc-slider@8.3.5 │ │ ├── babel-runtime@6.26.0 deduped │ │ ├── classnames@2.2.5 deduped │ │ ├── prop-types@15.6.0 deduped │ │ ├── rc-tooltip@3.4.9 deduped │ │ ├── rc-util@4.3.0 deduped │ │ ├── shallowequal@1.0.2 deduped │ │ └── warning@3.0.0 deduped │ ├─┬ rc-steps@2.5.2 │ │ ├── classnames@2.2.5 deduped │ │ ├── lodash.debounce@4.0.8 deduped │ │ └── prop-types@15.6.0 deduped │ ├─┬ rc-switch@1.5.3 │ │ ├── babel-runtime@6.26.0 deduped │ │ ├── classnames@2.2.5 deduped │ │ └── prop-types@15.6.0 deduped │ ├─┬ rc-table@5.6.13 │ │ ├── babel-runtime@6.26.0 deduped │ │ ├── component-classes@1.2.6 deduped │ │ ├── lodash.get@4.4.2 │ │ ├── prop-types@15.6.0 deduped │ │ ├── rc-util@4.3.0 deduped │ │ ├─┬ shallowequal@0.2.2 │ │ │ └─┬ lodash.keys@3.1.2 │ │ │ ├── lodash._getnative@3.9.1 │ │ │ ├── lodash.isarguments@3.1.0 │ │ │ └── lodash.isarray@3.0.4 │ │ └── warning@3.0.0 deduped │ ├─┬ rc-tabs@9.1.10 │ │ ├── babel-runtime@6.26.0 deduped │ │ ├── classnames@2.2.5 deduped │ │ ├── create-react-class@15.6.2 deduped │ │ ├── lodash.debounce@4.0.8 deduped │ │ ├── prop-types@15.6.0 deduped │ │ ├─┬ rc-hammerjs@0.6.9 │ │ │ ├── babel-runtime@6.26.0 deduped │ │ │ ├── hammerjs@2.0.8 │ │ │ └── prop-types@15.6.0 deduped │ │ ├── rc-util@4.3.0 deduped │ │ └── warning@3.0.0 deduped │ ├─┬ rc-time-picker@2.4.1 │ │ ├── babel-runtime@6.26.0 deduped │ │ ├── classnames@2.2.5 deduped │ │ ├── moment@2.20.1 deduped │ │ ├── prop-types@15.6.0 deduped │ │ └── rc-trigger@1.11.5 deduped │ ├─┬ rc-tooltip@3.4.9 │ │ ├── babel-runtime@6.26.0 deduped │ │ ├── prop-types@15.6.0 deduped │ │ └── rc-trigger@1.11.5 deduped │ ├─┬ rc-tree@1.7.10 │ │ ├── babel-runtime@6.26.0 deduped │ │ ├── classnames@2.2.5 deduped │ │ ├── prop-types@15.6.0 deduped │ │ ├── rc-animate@2.4.1 deduped │ │ ├── rc-util@4.3.0 deduped │ │ └── warning@3.0.0 deduped │ ├─┬ rc-tree-select@1.10.13 │ │ ├── babel-runtime@6.26.0 deduped │ │ ├── classnames@2.2.5 deduped │ │ ├── object-assign@4.1.1 deduped │ │ ├── prop-types@15.6.0 deduped │ │ ├── rc-animate@2.4.1 deduped │ │ ├── rc-tree@1.7.10 deduped │ │ ├── rc-trigger@1.11.5 deduped │ │ └── rc-util@4.3.0 deduped │ ├─┬ rc-upload@2.4.4 │ │ ├── babel-runtime@6.26.0 deduped │ │ ├── classnames@2.2.5 deduped │ │ ├── prop-types@15.6.0 deduped │ │ └─┬ warning@2.1.0 │ │ └── loose-envify@1.3.1 deduped │ ├─┬ rc-util@4.3.0 │ │ ├─┬ add-dom-event-listener@1.0.2 │ │ │ └── object-assign@4.1.1 deduped │ │ ├── babel-runtime@6.26.0 deduped │ │ ├── prop-types@15.6.0 deduped │ │ └─┬ shallowequal@0.2.2 │ │ └── lodash.keys@3.1.2 deduped │ ├─┬ react-lazy-load@3.0.13 │ │ ├── eventlistener@0.0.1 │ │ ├── lodash.debounce@4.0.8 deduped │ │ ├── lodash.throttle@4.1.1 │ │ └── prop-types@15.6.0 deduped │ ├─┬ react-slick@0.15.4 │ │ ├── can-use-dom@0.1.0 │ │ ├── classnames@2.2.5 deduped │ │ ├── create-react-class@15.6.2 deduped │ │ ├── enquire.js@2.1.6 │ │ ├── UNMET PEER DEPENDENCY jquery@>=1.8.0 │ │ ├─┬ json2mq@0.2.0 │ │ │ └── string-convert@0.2.1 │ │ ├── object-assign@4.1.1 deduped │ │ └── slick-carousel@1.8.1 │ ├── shallowequal@1.0.2 │ └─┬ warning@3.0.0 │ └── loose-envify@1.3.1 deduped ├── i18next@10.2.2 ├─┬ i18next-node-fs-backend@1.0.0 │ ├─┬ js-yaml@3.5.4 │ │ ├─┬ argparse@1.0.9 │ │ │ └── sprintf-js@1.0.3 │ │ └── esprima@2.7.3 │ └── json5@0.5.0 ├── mobx@3.4.1 ├── mobx-logger@0.6.0 ├─┬ mobx-react@4.3.5 │ └── hoist-non-react-statics@2.3.1 ├── moment@2.20.1 ├─┬ react@15.6.2 │ ├── create-react-class@15.6.2 deduped │ ├─┬ fbjs@0.8.16 │ │ ├── core-js@1.2.7 │ │ ├─┬ isomorphic-fetch@2.2.1 │ │ │ ├─┬ node-fetch@1.7.3 │ │ │ │ ├─┬ encoding@0.1.12 │ │ │ │ │ └── iconv-lite@0.4.19 │ │ │ │ └── is-stream@1.1.0 │ │ │ └── whatwg-fetch@2.0.3 │ │ ├── loose-envify@1.3.1 deduped │ │ ├── object-assign@4.1.1 deduped │ │ ├─┬ promise@7.3.1 │ │ │ └── asap@2.0.6 │ │ ├── setimmediate@1.0.5 │ │ └── ua-parser-js@0.7.17 │ ├─┬ loose-envify@1.3.1 │ │ └── js-tokens@3.0.2 │ ├── object-assign@4.1.1 │ └── prop-types@15.6.0 deduped ├─┬ react-dom@15.6.2 │ ├── fbjs@0.8.16 deduped │ ├── loose-envify@1.3.1 deduped │ ├── object-assign@4.1.1 deduped │ └── prop-types@15.6.0 deduped ├─┬ react-i18next@7.3.1 │ ├── hoist-non-react-statics@2.3.1 │ ├─┬ html-parse-stringify2@2.0.1 │ │ └── void-elements@2.0.1 │ └── prop-types@15.6.0 deduped ├─┬ react-list@0.8.8 │ └── prop-types@15.6.0 deduped ├─┬ react-router-dom@4.2.2 │ ├─┬ history@4.7.2 │ │ ├── invariant@2.2.2 deduped │ │ ├── loose-envify@1.3.1 deduped │ │ ├── resolve-pathname@2.2.0 │ │ ├── value-equal@0.4.0 │ │ └── warning@3.0.0 deduped │ ├─┬ invariant@2.2.2 │ │ └── loose-envify@1.3.1 deduped │ ├── loose-envify@1.3.1 deduped │ ├── prop-types@15.6.0 deduped │ ├─┬ react-router@4.2.0 │ │ ├── history@4.7.2 deduped │ │ ├── hoist-non-react-statics@2.3.1 │ │ ├── invariant@2.2.2 deduped │ │ ├── loose-envify@1.3.1 deduped │ │ ├─┬ path-to-regexp@1.7.0 │ │ │ └── isarray@0.0.1 │ │ ├── prop-types@15.6.0 deduped │ │ └── warning@3.0.0 deduped │ └── warning@3.0.0 deduped ├─┬ recharts@0.22.4 │ ├── classnames@2.2.5 deduped │ ├── core-js@2.4.1 │ ├─┬ d3-scale@1.0.4 │ │ ├── d3-array@1.2.1 │ │ ├── d3-collection@1.0.4 │ │ ├── d3-color@1.0.3 │ │ ├── d3-format@1.2.0 │ │ ├─┬ d3-interpolate@1.1.5 │ │ │ └── d3-color@1.0.3 deduped │ │ ├── d3-time@1.0.7 │ │ └─┬ d3-time-format@2.1.0 │ │ └── d3-time@1.0.7 deduped │ ├─┬ d3-shape@1.0.4 │ │ └── d3-path@1.0.5 │ ├── lodash@4.17.4 │ ├─┬ prop-types@15.5.10 │ │ ├── fbjs@0.8.16 deduped │ │ └── loose-envify@1.3.1 deduped │ ├─┬ react-resize-detector@0.4.1 │ │ └── prop-types@15.6.0 deduped │ ├─┬ react-smooth@0.3.0 │ │ ├── lodash@4.17.4 deduped │ │ ├── prop-types@15.6.0 deduped │ │ ├─┬ raf@3.4.0 │ │ │ └── performance-now@2.1.0 │ │ └─┬ react-transition-group@1.2.1 │ │ ├── chain-function@1.0.0 │ │ ├── dom-helpers@3.2.1 │ │ ├── loose-envify@1.3.1 deduped │ │ ├── prop-types@15.6.0 deduped │ │ └── warning@3.0.0 deduped │ ├── recharts-scale@0.3.0 │ └─┬ reduce-css-calc@1.3.0 │ ├── balanced-match@0.4.2 │ ├── math-expression-evaluator@1.2.17 │ └─┬ reduce-function-call@1.0.2 │ └── balanced-match@0.4.2 deduped └─┬ ssh2@0.5.5 └─┬ ssh2-streams@0.1.20 ├── asn1@0.2.3 ├── semver@5.4.1 └── streamsearch@0.1.2 npm ERR! peer dep missing: jquery@>=1.8.0, required by slick-carousel@1.8.1 ```
tuanh18051993 commented 6 years ago

I was getting the same error Unresolved node modules: node-pre-gyp, create-react-class, prop-types, react-onclickoutside, moment, react, react-dom

npm ls --prod > +-- auto-launch@5.0.1 | +-- applescript@1.0.0 | +-- path-is-absolute@1.0.1 | +-- untildify@3.0.2 | `-- winreg@1.2.2 +-- big-integer@1.6.23 +-- browser-sync@2.14.0 | +-- browser-sync-client@2.5.1 | | +-- etag@1.8.0 | | `-- fresh@0.3.0 | +-- browser-sync-ui@0.6.0 | | +-- async-each-series@0.1.1 | | +-- connect-history-api-fallback@1.3.0 | | +-- stream-throttle@0.1.3 | | | `-- limiter@1.1.2 | | `-- weinre@2.0.0-pre-I0Z7U9OV | | +-- express@2.5.11 | | | +-- connect@1.9.2 | | | | `-- formidable@1.0.17 | | | +-- mime@1.2.4 | | | +-- mkdirp@0.3.0 | | | `-- qs@0.4.2 | | `-- underscore@1.7.0 | +-- bs-recipes@1.2.2 | +-- chokidar@1.5.1 | | +-- anymatch@1.3.0 | | | `-- arrify@1.0.1 | | +-- async-each@1.0.1 | | +-- UNMET OPTIONAL DEPENDENCY fsevents@^1.0.0 | | +-- glob-parent@2.0.0 | | +-- inherits@2.0.3 | | +-- is-binary-path@1.0.1 | | | `-- binary-extensions@1.8.0 | | +-- is-glob@2.0.1 | | `-- readdirp@2.1.0 | | `-- set-immediate-shim@1.0.1 | +-- connect@3.4.1 | | +-- debug@2.2.0 | | | `-- ms@0.7.1 | | +-- finalhandler@0.4.1 | | | +-- on-finished@2.3.0 | | | | `-- ee-first@1.1.1 | | | `-- unpipe@1.0.0 | | +-- parseurl@1.3.1 | | `-- utils-merge@1.0.0 | +-- dev-ip@1.0.1 | +-- easy-extender@2.3.2 | | `-- lodash@3.10.1 | +-- eazy-logger@3.0.2 | | `-- tfunk@3.1.0 | | `-- object-path@0.9.2 | +-- emitter-steward@1.0.0 | +-- fs-extra@0.26.7 | | +-- jsonfile@2.4.0 | | `-- klaw@1.3.1 | +-- http-proxy@1.13.3 | | +-- eventemitter3@1.2.0 | | `-- requires-port@1.0.0 | +-- immutable@3.8.1 | +-- localtunnel@1.8.1 | | +-- openurl@1.1.0 | | +-- request@2.65.0 | | | +-- bl@1.0.3 | | | | `-- readable-stream@2.0.6 | | | | `-- string_decoder@0.10.31 | | | +-- form-data@1.0.1 | | | | `-- async@2.5.0 | | | | `-- lodash@4.17.4 | | | +-- http-signature@0.11.0 | | | | +-- asn1@0.1.11 | | | | +-- assert-plus@0.1.5 | | | | `-- ctype@0.5.3 | | | +-- node-uuid@1.4.8 | | | +-- qs@5.2.1 | | | `-- tough-cookie@2.2.2 | | `-- yargs@3.29.0 | | +-- camelcase@1.2.1 | | `-- window-size@0.1.4 | +-- micromatch@2.3.8 | | +-- arr-diff@2.0.0 | | | `-- arr-flatten@1.1.0 | | +-- array-unique@0.2.1 | | +-- braces@1.8.5 | | | +-- expand-range@1.8.2 | | | | `-- fill-range@2.2.3 | | | | +-- is-number@2.1.0 | | | | +-- isobject@2.1.0 | | | | +-- randomatic@1.1.7 | | | | | +-- is-number@3.0.0 | | | | | | `-- kind-of@3.2.2 | | | | | `-- kind-of@4.0.0 | | | | `-- repeat-string@1.6.1 | | | +-- preserve@0.2.0 | | | `-- repeat-element@1.1.2 | | +-- expand-brackets@0.1.5 | | | `-- is-posix-bracket@0.1.1 | | +-- extglob@0.3.2 | | +-- filename-regex@2.0.1 | | +-- is-extglob@1.0.0 | | +-- kind-of@3.2.2 | | | `-- is-buffer@1.1.5 | | +-- normalize-path@2.1.1 | | | `-- remove-trailing-separator@1.0.2 | | +-- object.omit@2.0.1 | | | +-- for-own@0.1.5 | | | | `-- for-in@1.0.2 | | | `-- is-extendable@0.1.1 | | +-- parse-glob@3.0.4 | | | +-- glob-base@0.3.0 | | | `-- is-dotfile@1.0.3 | | `-- regex-cache@0.4.3 | | +-- is-equal-shallow@0.1.3 | | `-- is-primitive@2.0.0 | +-- opn@3.0.3 | +-- portscanner@1.2.0 | | `-- async@1.5.2 | +-- qs@6.2.0 | +-- resp-modifier@6.0.2 | | `-- minimatch@3.0.4 | | `-- brace-expansion@1.1.8 | | +-- balanced-match@1.0.0 | | `-- concat-map@0.0.1 | +-- rx@4.1.0 | +-- serve-index@1.7.3 | | +-- accepts@1.2.13 | | | `-- negotiator@0.5.3 | | +-- batch@0.5.3 | | +-- escape-html@1.0.3 | | `-- http-errors@1.3.1 | | `-- statuses@1.3.1 | +-- serve-static@1.10.3 | | `-- send@0.13.2 | | +-- depd@1.1.0 | | +-- destroy@1.0.4 | | +-- etag@1.7.0 | | +-- mime@1.3.4 | | +-- range-parser@1.0.3 | | `-- statuses@1.2.1 | +-- server-destroy@1.0.1 | +-- socket.io@1.4.6 | | +-- engine.io@1.6.9 | | | +-- accepts@1.1.4 | | | | +-- mime-types@2.0.14 | | | | | `-- mime-db@1.12.0 | | | | `-- negotiator@0.4.9 | | | +-- base64id@0.1.0 | | | +-- engine.io-parser@1.2.4 | | | | +-- after@0.8.1 | | | | +-- arraybuffer.slice@0.0.6 | | | | +-- base64-arraybuffer@0.1.2 | | | | +-- blob@0.0.4 | | | | +-- has-binary@0.1.6 | | | | | `-- isarray@0.0.1 | | | | `-- utf8@2.1.0 | | | `-- ws@1.0.1 | | | +-- options@0.0.6 | | | `-- ultron@1.0.2 | | +-- has-binary@0.1.7 | | | `-- isarray@0.0.1 | | +-- socket.io-adapter@0.4.0 | | | `-- socket.io-parser@2.2.2 | | | +-- debug@0.7.4 | | | +-- isarray@0.0.1 | | | `-- json3@3.2.6 | | +-- socket.io-client@1.4.6 | | | +-- backo2@1.0.2 | | | +-- component-bind@1.0.0 | | | +-- component-emitter@1.2.0 | | | +-- engine.io-client@1.6.9 | | | | +-- component-inherit@0.0.3 | | | | +-- has-cors@1.1.0 | | | | +-- parsejson@0.0.1 | | | | +-- parseqs@0.0.2 | | | | +-- xmlhttprequest-ssl@1.5.1 | | | | `-- yeast@0.1.2 | | | +-- indexof@0.0.1 | | | +-- object-component@0.0.3 | | | +-- parseuri@0.0.4 | | | | `-- better-assert@1.0.2 | | | | `-- callsite@1.0.0 | | | `-- to-array@0.1.4 | | `-- socket.io-parser@2.2.6 | | +-- benchmark@1.0.0 | | +-- component-emitter@1.1.2 | | +-- isarray@0.0.1 | | `-- json3@3.3.2 | +-- ua-parser-js@0.7.10 | `-- yargs@4.7.1 | +-- camelcase@3.0.0 | +-- cliui@3.2.0 | | +-- strip-ansi@3.0.1 | | | `-- ansi-regex@2.1.1 | | `-- wrap-ansi@2.1.0 | +-- decamelize@1.2.0 | +-- lodash.assign@4.2.0 | +-- os-locale@1.4.0 | | `-- lcid@1.0.0 | | `-- invert-kv@1.0.0 | +-- pkg-conf@1.1.3 | | +-- find-up@1.1.2 | | | `-- path-exists@2.1.0 | | +-- load-json-file@1.1.0 | | | +-- parse-json@2.2.0 | | | | `-- error-ex@1.3.1 | | | | `-- is-arrayish@0.2.1 | | | `-- strip-bom@2.0.0 | | | `-- is-utf8@0.2.1 | | `-- symbol@0.2.3 | +-- read-pkg-up@1.0.1 | | `-- read-pkg@1.1.0 | | +-- normalize-package-data@2.4.0 | | | +-- hosted-git-info@2.5.0 | | | +-- is-builtin-module@1.0.0 | | | | `-- builtin-modules@1.1.1 | | | `-- validate-npm-package-license@3.0.1 | | | +-- spdx-correct@1.0.2 | | | | `-- spdx-license-ids@1.2.2 | | | `-- spdx-expression-parse@1.0.4 | | `-- path-type@1.1.0 | +-- require-main-filename@1.0.1 | +-- set-blocking@1.0.0 | +-- string-width@1.0.2 | | +-- code-point-at@1.1.0 | | `-- is-fullwidth-code-point@1.0.0 | | `-- number-is-nan@1.0.1 | +-- window-size@0.2.0 | +-- y18n@3.2.1 | `-- yargs-parser@2.4.1 | `-- camelcase@3.0.0 +-- crypto-js@3.1.8 +-- decompress@4.2.0 | +-- decompress-tar@4.1.1 | | +-- file-type@5.2.0 | | +-- is-stream@1.1.0 | | `-- tar-stream@1.5.4 | | +-- end-of-stream@1.4.0 | | `-- xtend@4.0.1 | +-- decompress-tarbz2@4.1.1 | | +-- file-type@6.2.0 | | +-- seek-bzip@1.0.5 | | | `-- commander@2.8.1 | | | `-- graceful-readlink@1.0.1 | | `-- unbzip2-stream@1.2.5 | | +-- buffer@3.6.0 | | | +-- base64-js@0.0.8 | | | `-- ieee754@1.1.8 | | `-- through@2.3.8 | +-- decompress-targz@4.1.1 | +-- decompress-unzip@4.0.1 | | +-- file-type@3.9.0 | | +-- get-stream@2.3.1 | | `-- yauzl@2.9.1 | | +-- buffer-crc32@0.2.13 | | `-- fd-slicer@1.0.1 | | `-- pend@1.2.0 | +-- graceful-fs@4.1.11 | +-- make-dir@1.0.0 | +-- pify@2.3.0 | `-- strip-dirs@2.1.0 | `-- is-natural-number@4.0.1 +-- dropbox@2.5.9 | +-- es6-promise@4.1.1 | +-- superagent@3.6.3 | | +-- component-emitter@1.2.1 | | +-- cookiejar@2.1.1 | | +-- debug@3.1.0 | | | `-- ms@2.0.0 | | +-- form-data@2.3.1 | | +-- formidable@1.1.1 | | +-- methods@1.1.2 | | +-- mime@1.4.1 | | +-- qs@6.5.1 | | `-- readable-stream@2.3.3 | | `-- string_decoder@1.0.3 | `-- superagent-proxy@1.0.2 | `-- proxy-agent@2.1.0 | +-- agent-base@2.1.1 | | `-- semver@5.0.3 | +-- http-proxy-agent@1.0.0 | +-- https-proxy-agent@1.0.0 | +-- lru-cache@2.6.5 | +-- pac-proxy-agent@2.0.0 | | +-- debug@2.6.9 | | | `-- ms@2.0.0 | | +-- get-uri@2.0.1 | | | +-- data-uri-to-buffer@1.2.0 | | | +-- file-uri-to-path@1.0.0 | | | `-- ftp@0.3.10 | | | +-- readable-stream@1.1.14 | | | | +-- isarray@0.0.1 | | | | `-- string_decoder@0.10.31 | | | `-- xregexp@2.0.0 | | +-- pac-resolver@3.0.0 | | | +-- degenerator@1.0.4 | | | | +-- ast-types@0.9.14 | | | | +-- escodegen@1.8.1 | | | | | +-- esprima@2.7.3 | | | | | +-- estraverse@1.9.3 | | | | | +-- esutils@2.0.2 | | | | | +-- optionator@0.8.2 | | | | | | +-- deep-is@0.1.3 | | | | | | +-- fast-levenshtein@2.0.6 | | | | | | +-- levn@0.3.0 | | | | | | +-- prelude-ls@1.1.2 | | | | | | +-- type-check@0.3.2 | | | | | | `-- wordwrap@1.0.0 | | | | | `-- source-map@0.2.0 | | | | | `-- amdefine@1.0.1 | | | | `-- esprima@3.1.3 | | | +-- ip@1.1.5 | | | +-- netmask@1.0.6 | | | `-- thunkify@2.1.2 | | +-- raw-body@2.3.2 | | | +-- bytes@3.0.0 | | | +-- http-errors@1.6.2 | | | | +-- depd@1.1.1 | | | | `-- setprototypeof@1.0.3 | | | `-- iconv-lite@0.4.19 | | `-- socks-proxy-agent@3.0.1 | | `-- agent-base@4.1.1 | | `-- es6-promisify@5.0.0 | | `-- es6-promise@4.1.1 | `-- socks-proxy-agent@2.1.1 | `-- socks@1.1.10 | `-- smart-buffer@1.1.15 +-- electron-config@0.2.1 | `-- conf@0.11.2 | +-- dot-prop@3.0.0 | | `-- is-obj@1.0.1 | +-- env-paths@0.3.1 | `-- pkg-up@1.0.0 +-- electron-dl@1.9.0 | `-- pupa@1.0.0 +-- electron-log@1.3.0 +-- electron-updater@2.18.2 | +-- bluebird-lst@1.0.5 | | `-- bluebird@3.5.1 | +-- builder-util-runtime@4.0.1 | | +-- bluebird-lst@1.0.5 | | | `-- bluebird@3.5.1 | | +-- debug@3.1.0 | | | `-- ms@2.0.0 | | +-- fs-extra-p@4.5.0 | | | `-- fs-extra@5.0.0 | | | `-- jsonfile@4.0.0 | | `-- sax@1.2.4 | +-- electron-is-dev@0.3.0 | +-- fs-extra-p@4.5.0 | | `-- fs-extra@5.0.0 | | +-- jsonfile@4.0.0 | | `-- universalify@0.1.1 | +-- js-yaml@3.10.0 | +-- lazy-val@1.0.3 | +-- lodash.isequal@4.5.0 | +-- semver@5.4.1 | `-- source-map-support@0.5.0 | `-- source-map@0.6.1 +-- es6-promise@3.2.1 +-- isomorphic-fetch@2.2.1 | +-- node-fetch@1.7.1 | | `-- encoding@0.1.12 | | `-- iconv-lite@0.4.18 | `-- whatwg-fetch@2.0.3 +-- js-yaml@3.9.0 | +-- argparse@1.0.9 | | `-- sprintf-js@1.0.3 | `-- esprima@4.0.0 +-- jszip@3.1.3 | +-- core-js@2.3.0 | +-- es6-promise@3.0.2 | +-- lie@3.1.1 | | `-- immediate@3.0.6 | +-- pako@1.0.5 | `-- readable-stream@2.0.6 | +-- core-util-is@1.0.2 | +-- isarray@1.0.0 | +-- process-nextick-args@1.0.7 | +-- string_decoder@0.10.31 | `-- util-deprecate@1.0.2 +-- libphonenumber-js@0.4.18 | +-- babel-runtime@6.23.0 | | +-- core-js@2.4.1 | | `-- regenerator-runtime@0.10.5 | +-- bluebird@3.5.0 | +-- minimist@1.2.0 | `-- xml2js@0.4.17 | `-- xmlbuilder@4.2.1 | `-- lodash@4.17.4 +-- lz-string@1.4.4 +-- microm@0.2.4 | +-- extend@3.0.0 | `-- rsvp@3.6.2 +-- mkdirp@0.5.1 | `-- minimist@0.0.8 +-- moment@2.18.1 +-- node-pre-gyp@0.6.36 invalid | +-- nopt@4.0.1 | | +-- abbrev@1.1.0 | | `-- osenv@0.1.4 | | `-- os-homedir@1.0.2 | +-- npmlog@4.1.2 | | +-- are-we-there-yet@1.1.4 | | | `-- delegates@1.0.0 | | +-- console-control-strings@1.1.0 | | +-- gauge@2.7.4 | | | +-- aproba@1.1.2 | | | +-- has-unicode@2.0.1 | | | +-- signal-exit@3.0.2 | | | `-- wide-align@1.1.2 | | `-- set-blocking@2.0.0 | +-- rc@1.2.1 | | +-- deep-extend@0.4.2 | | +-- ini@1.3.4 | | +-- minimist@1.2.0 | | `-- strip-json-comments@2.0.1 | +-- request@2.81.0 | | +-- caseless@0.12.0 | | +-- form-data@2.1.4 | | +-- har-validator@4.2.1 | | | +-- ajv@4.11.8 | | | | +-- co@4.6.0 | | | | `-- json-stable-stringify@1.0.1 | | | | `-- jsonify@0.0.0 | | | `-- har-schema@1.0.5 | | +-- http-signature@1.1.1 | | | `-- assert-plus@0.2.0 | | +-- performance-now@0.2.0 | | +-- qs@6.4.0 | | +-- safe-buffer@5.1.1 | | `-- tunnel-agent@0.6.0 | +-- rimraf@2.6.1 | +-- semver@5.3.0 | +-- tar@2.2.1 | | +-- block-stream@0.0.9 | | `-- fstream@1.0.11 | `-- tar-pack@3.4.0 | +-- fstream-ignore@1.0.5 | +-- once@1.4.0 | | `-- wrappy@1.0.2 | `-- uid-number@0.0.6 +-- prop-types@15.5.10 | +-- fbjs@0.8.12 | | +-- core-js@1.2.7 | | +-- promise@7.3.1 | | | `-- asap@2.0.6 | | `-- setimmediate@1.0.5 | `-- loose-envify@1.3.1 | `-- js-tokens@3.0.2 +-- UNMET PEER DEPENDENCY react@16.2.0 | +-- fbjs@0.8.16 | | `-- core-js@1.2.7 | +-- object-assign@4.1.1 | `-- prop-types@15.6.0 +-- react-custom-scrollbars@4.1.2 | +-- dom-css@2.1.0 | | +-- add-px-to-style@1.0.0 | | +-- prefix-style@2.0.1 | | `-- to-camel-case@1.0.0 | | `-- to-space-case@1.0.0 | | `-- to-no-case@1.0.2 | `-- raf@3.3.2 | `-- performance-now@2.1.0 +-- react-datetime@2.10.1 | +-- create-react-class@15.6.0 | +-- object-assign@3.0.0 | `-- react-onclickoutside@5.11.1 +-- UNMET PEER DEPENDENCY react-dom@16.2.0 | +-- fbjs@0.8.16 | | `-- core-js@1.2.7 | `-- prop-types@15.6.0 +-- react-input-range@1.2.1 | `-- autobind-decorator@1.4.3 +-- react-motion@0.5.0 | `-- performance-now@0.2.0 +-- react-redux@5.0.6 | +-- hoist-non-react-statics@2.3.1 | +-- invariant@2.2.2 | +-- lodash@4.17.4 | `-- lodash-es@4.17.4 +-- react-router-redux@4.0.8 +-- react-virtualized@9.9.0 | +-- classnames@2.2.5 | `-- dom-helpers@3.2.1 +-- redux@3.7.2 | +-- lodash@4.17.4 | `-- symbol-observable@1.0.4 +-- redux-api@0.9.17 | +-- fast-apply@0.0.3 | `-- qs@5.2.0 +-- request@2.79.0 | +-- aws-sign2@0.6.0 | +-- aws4@1.6.0 | +-- caseless@0.11.0 | +-- combined-stream@1.0.5 | | `-- delayed-stream@1.0.0 | +-- extend@3.0.1 | +-- forever-agent@0.6.1 | +-- form-data@2.1.4 | | `-- asynckit@0.4.0 | +-- har-validator@2.0.6 | | +-- chalk@1.1.3 | | | +-- ansi-styles@2.2.1 | | | +-- escape-string-regexp@1.0.5 | | | +-- has-ansi@2.0.0 | | | `-- supports-color@2.0.0 | | +-- commander@2.11.0 | | +-- is-my-json-valid@2.16.0 | | | +-- generate-function@2.0.0 | | | +-- generate-object-property@1.2.0 | | | | `-- is-property@1.0.2 | | | `-- jsonpointer@4.0.1 | | `-- pinkie-promise@2.0.1 | | `-- pinkie@2.0.4 | +-- hawk@3.1.3 | | +-- boom@2.10.1 | | +-- cryptiles@2.0.5 | | +-- hoek@2.16.3 | | `-- sntp@1.0.9 | +-- http-signature@1.1.1 | | +-- assert-plus@0.2.0 | | +-- jsprim@1.4.0 | | | +-- assert-plus@1.0.0 | | | +-- extsprintf@1.0.2 | | | +-- json-schema@0.2.3 | | | `-- verror@1.3.6 | | `-- sshpk@1.13.1 | | +-- asn1@0.2.3 | | +-- assert-plus@1.0.0 | | +-- bcrypt-pbkdf@1.0.1 | | +-- dashdash@1.14.1 | | | `-- assert-plus@1.0.0 | | +-- ecc-jsbn@0.1.1 | | +-- getpass@0.1.7 | | | `-- assert-plus@1.0.0 | | +-- jsbn@0.1.1 | | `-- tweetnacl@0.14.5 | +-- is-typedarray@1.0.0 | +-- isstream@0.1.2 | +-- json-stringify-safe@5.0.1 | +-- mime-types@2.1.15 | | `-- mime-db@1.27.0 | +-- oauth-sign@0.8.2 | +-- qs@6.3.2 | +-- stringstream@0.0.5 | `-- tunnel-agent@0.4.3 +-- rimraf@2.5.4 | `-- glob@7.1.2 | +-- fs.realpath@1.0.0 | `-- inflight@1.0.6 +-- spark-md5@3.0.0 +-- sqlite3@3.1.8 | +-- nan@2.4.0 | `-- node-pre-gyp@0.6.39 | +-- detect-libc@1.0.2 | +-- hawk@3.1.3 | | +-- boom@2.10.1 | | +-- cryptiles@2.0.5 | | +-- hoek@2.16.3 | | `-- sntp@1.0.9 | +-- mkdirp@0.5.1 | | `-- minimist@0.0.8 | +-- nopt@4.0.1 | | +-- abbrev@1.1.1 | | `-- osenv@0.1.4 | | +-- os-homedir@1.0.2 | | `-- os-tmpdir@1.0.2 | +-- npmlog@4.1.2 | | +-- are-we-there-yet@1.1.4 | | | `-- delegates@1.0.0 | | +-- console-control-strings@1.1.0 | | +-- gauge@2.7.4 | | | +-- aproba@1.2.0 | | | +-- has-unicode@2.0.1 | | | +-- object-assign@4.1.1 | | | +-- signal-exit@3.0.2 | | | +-- string-width@1.0.2 | | | | +-- code-point-at@1.1.0 | | | | `-- is-fullwidth-code-point@1.0.0 | | | | `-- number-is-nan@1.0.1 | | | +-- strip-ansi@3.0.1 | | | | `-- ansi-regex@2.1.1 | | | `-- wide-align@1.1.2 | | `-- set-blocking@2.0.0 | +-- rc@1.2.2 | | +-- deep-extend@0.4.2 | | +-- ini@1.3.4 | | +-- minimist@1.2.0 | | `-- strip-json-comments@2.0.1 | +-- request@2.81.0 | | +-- aws-sign2@0.6.0 | | +-- aws4@1.6.0 | | +-- caseless@0.12.0 | | +-- combined-stream@1.0.5 | | | `-- delayed-stream@1.0.0 | | +-- extend@3.0.1 | | +-- forever-agent@0.6.1 | | +-- form-data@2.1.4 | | | `-- asynckit@0.4.0 | | +-- har-validator@4.2.1 | | | +-- ajv@4.11.8 | | | | +-- co@4.6.0 | | | | `-- json-stable-stringify@1.0.1 | | | | `-- jsonify@0.0.0 | | | `-- har-schema@1.0.5 | | +-- http-signature@1.1.1 | | | +-- assert-plus@0.2.0 | | | +-- jsprim@1.4.1 | | | | +-- assert-plus@1.0.0 | | | | +-- extsprintf@1.3.0 | | | | +-- json-schema@0.2.3 | | | | `-- verror@1.10.0 | | | | `-- assert-plus@1.0.0 | | | `-- sshpk@1.13.1 | | | +-- asn1@0.2.3 | | | +-- assert-plus@1.0.0 | | | +-- bcrypt-pbkdf@1.0.1 | | | +-- dashdash@1.14.1 | | | | `-- assert-plus@1.0.0 | | | +-- ecc-jsbn@0.1.1 | | | +-- getpass@0.1.7 | | | | `-- assert-plus@1.0.0 | | | +-- jsbn@0.1.1 | | | `-- tweetnacl@0.14.5 | | +-- is-typedarray@1.0.0 | | +-- isstream@0.1.2 | | +-- json-stringify-safe@5.0.1 | | +-- mime-types@2.1.17 | | | `-- mime-db@1.30.0 | | +-- oauth-sign@0.8.2 | | +-- performance-now@0.2.0 | | +-- qs@6.4.0 | | +-- safe-buffer@5.1.1 | | +-- stringstream@0.0.5 | | +-- tough-cookie@2.3.3 | | | `-- punycode@1.4.1 | | +-- tunnel-agent@0.6.0 | | `-- uuid@3.1.0 | +-- rimraf@2.6.2 | | `-- glob@7.1.2 | | +-- fs.realpath@1.0.0 | | +-- inflight@1.0.6 | | +-- minimatch@3.0.4 | | | `-- brace-expansion@1.1.8 | | | +-- balanced-match@1.0.0 | | | `-- concat-map@0.0.1 | | `-- path-is-absolute@1.0.1 | +-- semver@5.4.1 | +-- tar@2.2.1 | | +-- block-stream@0.0.9 | | +-- fstream@1.0.11 | | | `-- graceful-fs@4.1.11 | | `-- inherits@2.0.3 | `-- tar-pack@3.4.1 | +-- debug@2.6.9 | | `-- ms@2.0.0 | +-- fstream-ignore@1.0.5 | +-- once@1.4.0 | | `-- wrappy@1.0.2 | +-- readable-stream@2.3.3 | | +-- core-util-is@1.0.2 | | +-- isarray@1.0.0 | | +-- process-nextick-args@1.0.7 | | +-- string_decoder@1.0.3 | | `-- util-deprecate@1.0.2 | `-- uid-number@0.0.6 +-- stackblur-canvas@1.4.0 | `-- grunt-cli@1.2.0 | +-- findup-sync@0.3.0 | | `-- glob@5.0.15 | +-- grunt-known-options@1.1.0 | +-- nopt@3.0.6 | `-- resolve@1.1.7 +-- tmp@0.0.31 | `-- os-tmpdir@1.0.2 +-- tough-cookie@2.3.2 | `-- punycode@1.4.1 +-- unused-filename@0.1.0 | +-- modify-filename@1.1.0 | `-- path-exists@3.0.0 +-- uuid@3.1.0
ClementParis016 commented 6 years ago

@develar I'm not sure if this workaround actually fixes the problem? I have unresolved modules which appear to be sub-dependencies and are truly needed in the final build, so what's the root of this issue?

develar commented 6 years ago

@ClementParis016 Please try 20.9.2 If error still occurred, please npm ls --prod

xxyyzz2050 commented 5 years ago

Set env ELECTRON_BUILDER_ALLOW_UNRESOLVED_DEPENDENCIES=true as workaround.

Please ˋnpm ls --prodˋ

how to set electron env?

mrn06ody commented 5 years ago

Set env ELECTRON_BUILDER_ALLOW_UNRESOLVED_DEPENDENCIES=true as workaround. Please ˋnpm ls --prodˋ

how to set electron env?

run in cmd: set ELECTRON_BUILDER_ALLOW_UNRESOLVED_DEPENDENCIES=true