Skip to content

Instantly share code, notes, and snippets.

@connelevalsam
Created June 12, 2018 16:15
Show Gist options
  • Save connelevalsam/486b3460f6e27c6836a0a4540277f9dc to your computer and use it in GitHub Desktop.
Save connelevalsam/486b3460f6e27c6836a0a4540277f9dc to your computer and use it in GitHub Desktop.
Error message of 'npm install'
$ npm install
npm WARN prefer global node-gyp@3.7.0 should be installed with -g
> node-sass@4.7.2 install /home/connelblaze/go/src/bitbucket.org/gomarket/go_jessy/node_modules/node-sass
> node scripts/install.js
Cached binary found at /home/connelblaze/.npm/node-sass/4.7.2/linux-x64-48_binding.node
> node-sass@4.7.2 postinstall /home/connelblaze/go/src/bitbucket.org/gomarket/go_jessy/node_modules/node-sass
> node scripts/build.js
module.js:471
throw err;
^
Error: Cannot find module './resolveCommand'
at Function.Module._resolveFilename (module.js:469:15)
at Function.Module._load (module.js:417:25)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (/home/connelblaze/go/src/bitbucket.org/gomarket/go_jessy/node_modules/cross-spawn/lib/parse.js:5:22)
at Module._compile (module.js:570:32)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
buffalo@1.0.0 /home/connelblaze/go/src/bitbucket.org/gomarket/go_jessy
+-- babel-cli@6.26.0
| +-- babel-polyfill@6.26.0
| | `-- regenerator-runtime@0.10.5
| +-- commander@2.15.1
| +-- fs-readdir-recursive@1.1.0
| +-- glob@7.1.2
| | +-- fs.realpath@1.0.0
| | +-- inflight@1.0.6
| | | `-- wrappy@1.0.2
| | `-- once@1.4.0
| +-- output-file-sync@1.1.2
| `-- v8flags@2.1.1
| `-- user-home@1.1.1
+-- babel-loader@7.1.4
| `-- find-cache-dir@1.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.2.0
| `-- p-try@1.0.0
+-- babel-preset-env@1.5.2
| +-- babel-plugin-syntax-trailing-function-commas@6.22.0
| +-- babel-plugin-transform-async-to-generator@6.24.1
| | +-- babel-helper-remap-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
| `-- browserslist@2.11.3
| +-- caniuse-lite@1.0.30000852
| `-- electron-to-chromium@1.3.48
+-- bootstrap-sass@3.3.7
+-- clean-webpack-plugin@0.1.19
| `-- rimraf@2.6.2
+-- copy-webpack-plugin@4.0.1
| +-- bluebird@2.11.0
| +-- fs-extra@0.26.7
| | +-- jsonfile@2.4.0
| | `-- klaw@1.3.1
| +-- glob@6.0.4
| +-- is-glob@3.1.0
| | `-- is-extglob@2.1.1
| +-- loader-utils@0.2.17
| `-- node-dir@0.1.17
+-- css-loader@0.28.11
| +-- 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
| | | +-- caniuse-db@1.0.30000852
| | | +-- normalize-range@0.1.2
| | | `-- num2fraction@1.2.2
| | +-- defined@1.0.0
| | +-- has@1.0.3
| | | `-- 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
| | | `-- balanced-match@0.4.2
| | +-- postcss-colormin@2.2.2
| | | `-- colormin@1.1.2
| | | +-- color@0.11.4
| | | | +-- clone@1.0.4
| | | | +-- color-convert@1.9.2
| | | | | `-- color-name@1.1.1
| | | | `-- 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.3
| | +-- postcss-merge-idents@2.1.7
| | +-- postcss-merge-longhand@2.0.2
| | +-- postcss-merge-rules@2.1.2
| | | +-- browserslist@1.7.7
| | | +-- caniuse-api@1.6.1
| | | | +-- browserslist@1.7.7
| | | | +-- lodash.memoize@4.1.2
| | | | `-- lodash.uniq@4.5.0
| | | +-- postcss-selector-parser@2.2.3
| | | | +-- flatten@1.0.2
| | | | +-- indexes-of@1.0.1
| | | | `-- uniq@1.0.1
| | | `-- vendors@1.0.2
| | +-- 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
| | | +-- js-yaml@3.7.0
| | | | +-- argparse@1.0.10
| | | | | `-- sprintf-js@1.0.3
| | | | `-- 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.22
| | +-- chalk@2.4.1
| | | `-- ansi-styles@3.2.1
| | +-- source-map@0.6.1
| | `-- supports-color@5.4.0
| | `-- has-flag@3.0.0
| +-- lodash.camelcase@4.3.0
| +-- postcss@5.2.18
| | +-- js-base64@2.4.5
| | `-- supports-color@3.2.3
| +-- postcss-modules-extract-imports@1.2.0
| | `-- postcss@6.0.22
| | +-- chalk@2.4.1
| | | `-- ansi-styles@3.2.1
| | +-- source-map@0.6.1
| | `-- supports-color@5.4.0
| | `-- has-flag@3.0.0
| +-- postcss-modules-local-by-default@1.2.0
| | `-- postcss@6.0.22
| | +-- chalk@2.4.1
| | | `-- ansi-styles@3.2.1
| | +-- source-map@0.6.1
| | `-- supports-color@5.4.0
| | `-- has-flag@3.0.0
| +-- postcss-modules-scope@1.1.0
| | `-- postcss@6.0.22
| | +-- chalk@2.4.1
| | | `-- ansi-styles@3.2.1
| | +-- source-map@0.6.1
| | `-- supports-color@5.4.0
| | `-- has-flag@3.0.0
| +-- postcss-modules-values@1.3.0
| | +-- icss-replace-symbols@1.1.0
| | `-- postcss@6.0.22
| | +-- chalk@2.4.1
| | | `-- ansi-styles@3.2.1
| | +-- source-map@0.6.1
| | `-- supports-color@5.4.0
| | `-- has-flag@3.0.0
| `-- postcss-value-parser@3.3.0
+-- expose-loader@0.7.5
+-- extract-text-webpack-plugin@3.0.2
| `-- schema-utils@0.3.0
+-- file-loader@1.1.11
| `-- schema-utils@0.4.5
| `-- UNMET PEER DEPENDENCY ajv@6.5.1
| +-- fast-deep-equal@2.0.1
| +-- json-schema-traverse@0.4.1
| `-- uri-js@4.2.2
| `-- punycode@2.1.1
+-- font-awesome@4.7.0
+-- gopherjs-loader@0.0.1
+-- jquery@3.2.1
+-- jquery-ujs@1.2.2
+-- UNMET DEPENDENCY node-sass@~4.7.2
+-- npm-install-webpack-plugin@4.0.5
| +-- cross-spawn@5.1.0
| `-- resolve@1.7.1
| `-- path-parse@1.0.5
+-- path@0.12.7
+-- sass-loader@6.0.7
| +-- clone-deep@2.0.2
| | +-- for-own@1.0.0
| | +-- is-plain-object@2.0.4
| | | `-- isobject@3.0.1
| | +-- kind-of@6.0.2
| | `-- shallow-clone@1.0.0
| | +-- kind-of@5.1.0
| | `-- mixin-object@2.0.1
| | `-- for-in@0.1.8
| +-- lodash.tail@4.1.1
| `-- neo-async@2.5.1
+-- style-loader@0.20.3
| `-- schema-utils@0.4.5
| `-- UNMET PEER DEPENDENCY ajv@6.5.1
| +-- fast-deep-equal@2.0.1
| `-- json-schema-traverse@0.4.1
+-- uglifyjs-webpack-plugin@0.4.6
| `-- uglify-js@2.8.29
| `-- yargs@3.10.0
| +-- camelcase@1.2.1
| `-- cliui@2.1.0
+-- url-loader@0.6.2
| `-- mime@1.6.0
+-- webpack@3.10.0
| +-- ajv-keywords@2.1.1
| +-- supports-color@4.5.0
| | `-- has-flag@2.0.0
| +-- watchpack@1.5.0
| | `-- chokidar@2.0.3
| | +-- anymatch@2.0.0
| | | `-- micromatch@3.1.10
| | | +-- arr-diff@4.0.0
| | | +-- define-property@2.0.2
| | | | +-- is-descriptor@1.0.2
| | | | | +-- is-accessor-descriptor@1.0.0
| | | | | +-- is-data-descriptor@1.0.0
| | | | | `-- kind-of@6.0.2
| | | | `-- isobject@3.0.1
| | | +-- extend-shallow@3.0.2
| | | | +-- assign-symbols@1.0.0
| | | | `-- is-extendable@1.0.1
| | | +-- extglob@2.0.4
| | | | +-- define-property@1.0.0
| | | | | `-- is-descriptor@1.0.2
| | | | | +-- is-accessor-descriptor@1.0.0
| | | | | `-- is-data-descriptor@1.0.0
| | | | +-- expand-brackets@2.1.4
| | | | | +-- define-property@0.2.5
| | | | | | `-- is-descriptor@0.1.6
| | | | | | +-- is-accessor-descriptor@0.1.6
| | | | | | | `-- kind-of@3.2.2
| | | | | | +-- is-data-descriptor@0.1.4
| | | | | | | `-- kind-of@3.2.2
| | | | | | `-- kind-of@5.1.0
| | | | | +-- extend-shallow@2.0.1
| | | | | `-- posix-character-classes@0.1.1
| | | | `-- extend-shallow@2.0.1
| | | +-- fragment-cache@0.2.1
| | | +-- kind-of@6.0.2
| | | +-- nanomatch@1.2.9
| | | | +-- arr-diff@4.0.0
| | | | +-- array-unique@0.3.2
| | | | +-- is-odd@2.0.0
| | | | | `-- is-number@4.0.0
| | | | +-- is-windows@1.0.2
| | | | `-- kind-of@6.0.2
| | | +-- object.pick@1.3.0
| | | | `-- isobject@3.0.1
| | | `-- regex-not@1.0.2
| | +-- braces@2.3.2
| | | +-- array-unique@0.3.2
| | | +-- extend-shallow@2.0.1
| | | +-- fill-range@4.0.0
| | | | +-- extend-shallow@2.0.1
| | | | +-- is-number@3.0.0
| | | | | `-- kind-of@3.2.2
| | | | `-- to-regex-range@2.1.1
| | | | `-- is-number@3.0.0
| | | +-- isobject@3.0.1
| | | +-- snapdragon@0.8.2
| | | | +-- base@0.11.2
| | | | | +-- cache-base@1.0.1
| | | | | | +-- collection-visit@1.0.0
| | | | | | | +-- map-visit@1.0.0
| | | | | | | `-- object-visit@1.0.1
| | | | | | | `-- isobject@3.0.1
| | | | | | +-- get-value@2.0.6
| | | | | | +-- has-value@1.0.0
| | | | | | | +-- has-values@1.0.0
| | | | | | | | +-- is-number@3.0.0
| | | | | | | | | `-- kind-of@3.2.2
| | | | | | | | `-- kind-of@4.0.0
| | | | | | | `-- isobject@3.0.1
| | | | | | +-- isobject@3.0.1
| | | | | | +-- set-value@2.0.0
| | | | | | | `-- extend-shallow@2.0.1
| | | | | | +-- to-object-path@0.3.0
| | | | | | +-- union-value@1.0.0
| | | | | | | `-- set-value@0.4.3
| | | | | | | `-- extend-shallow@2.0.1
| | | | | | `-- unset-value@1.0.0
| | | | | | +-- has-value@0.3.1
| | | | | | | +-- has-values@0.1.4
| | | | | | | `-- isobject@2.1.0
| | | | | | `-- isobject@3.0.1
| | | | | +-- class-utils@0.3.6
| | | | | | +-- arr-union@3.1.0
| | | | | | +-- define-property@0.2.5
| | | | | | +-- isobject@3.0.1
| | | | | | `-- static-extend@0.1.2
| | | | | | +-- define-property@0.2.5
| | | | | | `-- object-copy@0.1.0
| | | | | | +-- copy-descriptor@0.1.1
| | | | | | `-- define-property@0.2.5
| | | | | +-- component-emitter@1.2.1
| | | | | +-- define-property@1.0.0
| | | | | | `-- is-descriptor@1.0.2
| | | | | | +-- is-accessor-descriptor@1.0.0
| | | | | | +-- is-data-descriptor@1.0.0
| | | | | | `-- kind-of@6.0.2
| | | | | +-- isobject@3.0.1
| | | | | +-- mixin-deep@1.3.1
| | | | | | `-- is-extendable@1.0.1
| | | | | `-- pascalcase@0.1.1
| | | | +-- define-property@0.2.5
| | | | | `-- is-descriptor@0.1.6
| | | | | +-- is-accessor-descriptor@0.1.6
| | | | | +-- is-data-descriptor@0.1.4
| | | | | `-- kind-of@5.1.0
| | | | +-- extend-shallow@2.0.1
| | | | +-- map-cache@0.2.2
| | | | +-- source-map-resolve@0.5.2
| | | | | +-- atob@2.1.1
| | | | | +-- decode-uri-component@0.2.0
| | | | | +-- resolve-url@0.2.1
| | | | | +-- source-map-url@0.4.0
| | | | | `-- urix@0.1.0
| | | | `-- use@3.1.0
| | | | `-- kind-of@6.0.2
| | | +-- snapdragon-node@2.1.1
| | | | +-- define-property@1.0.0
| | | | | `-- is-descriptor@1.0.2
| | | | | +-- is-accessor-descriptor@1.0.0
| | | | | +-- is-data-descriptor@1.0.0
| | | | | `-- kind-of@6.0.2
| | | | +-- isobject@3.0.1
| | | | `-- snapdragon-util@3.0.1
| | | +-- split-string@3.1.0
| | | `-- to-regex@3.0.2
| | | `-- safe-regex@1.1.0
| | | `-- ret@0.1.15
| | +-- glob-parent@3.1.0
| | | +-- is-glob@3.1.0
| | | `-- path-dirname@1.0.2
| | +-- is-glob@4.0.0
| | | `-- is-extglob@2.1.1
| | `-- upath@1.1.0
| `-- yargs@8.0.2
| +-- camelcase@4.1.0
| +-- os-locale@2.1.0
| | `-- execa@0.7.0
| | `-- cross-spawn@5.1.0
| +-- read-pkg-up@2.0.0
| | `-- read-pkg@2.0.0
| | +-- load-json-file@2.0.0
| | | +-- pify@2.3.0
| | | `-- strip-bom@3.0.0
| | +-- normalize-package-data@2.4.0
| | | `-- validate-npm-package-license@3.0.3
| | | `-- spdx-expression-parse@3.0.0
| | | `-- spdx-exceptions@2.1.0
| | `-- path-type@2.0.0
| +-- 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
| `-- yargs-parser@7.0.0
`-- webpack-manifest-plugin@1.2.1
`-- fs-extra@0.30.0
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.1.2 (node_modules/watchpack/node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN ajv-keywords@3.1.0 requires a peer of ajv@^6.0.0 but none was installed.
npm WARN buffalo@1.0.0 No repository field.
npm ERR! Linux 4.4.0-124-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install"
npm ERR! node v6.9.2
npm ERR! npm v3.10.9
npm ERR! code ELIFECYCLE
npm ERR! node-sass@4.7.2 postinstall: `node scripts/build.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the node-sass@4.7.2 postinstall script 'node scripts/build.js'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the node-sass package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node scripts/build.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs node-sass
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls node-sass
npm ERR! There is likely additional logging output above.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment