Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to uninstall React Storybook? #979

Closed
dfrho opened this issue Apr 30, 2017 · 11 comments
Closed

How to uninstall React Storybook? #979

dfrho opened this issue Apr 30, 2017 · 11 comments

Comments

@dfrho
Copy link

dfrho commented Apr 30, 2017

npm uninstall --save -dev @kadira/storybook leaves a bunch of extra files. Here's the error message, and thanks in advance:

`npm WARN gentlyRm not removing /Users/davidrhodes/Desktop/biblio/node_modules/@kadira/storybook/node_modules/.bin/webpack as it wasn't installed by /Users/davidrhodes/Desktop/biblio/node_modules/@kadira/storybook/node_modules/webpack

  • qs@6.3.0 node_modules/@kadira/storybook-ui/node_modules/qs
  • acorn@3.3.0 node_modules/@kadira/storybook/node_modules/acorn
  • async@1.5.2 node_modules/@kadira/storybook/node_modules/async
  • camelcase@1.2.1 node_modules/@kadira/storybook/node_modules/camelcase
  • cliui@2.1.0 node_modules/@kadira/storybook/node_modules/cliui
  • crypto-browserify@3.3.0 node_modules/@kadira/storybook/node_modules/crypto-browserify
  • memory-fs@0.2.0 node_modules/@kadira/storybook/node_modules/enhanced-resolve/node_modules/memory-fs
  • interpret@0.6.6 node_modules/@kadira/storybook/node_modules/interpret
  • memory-fs@0.3.0 node_modules/@kadira/storybook/node_modules/memory-fs
  • node-libs-browser@0.7.0 node_modules/@kadira/storybook/node_modules/node-libs-browser
  • tapable@0.1.10 node_modules/@kadira/storybook/node_modules/tapable
  • enhanced-resolve@0.9.1 node_modules/@kadira/storybook/node_modules/enhanced-resolve
  • async@0.2.10 node_modules/@kadira/storybook/node_modules/uglify-js/node_modules/async
  • async@0.9.2 node_modules/@kadira/storybook/node_modules/watchpack/node_modules/async
  • watchpack@0.2.9 node_modules/@kadira/storybook/node_modules/watchpack
  • yargs@3.10.0 node_modules/@kadira/storybook/node_modules/yargs
  • uglify-js@2.7.5 node_modules/@kadira/storybook/node_modules/uglify-js
  • webpack@1.15.0 node_modules/@kadira/storybook/node_modules/webpack
  • es-abstract@1.7.0 node_modules/array-includes/node_modules/es-abstract
  • lodash@4.17.4 node_modules/babel-plugin-react-docgen/node_modules/lodash
  • babylon@6.17.0 node_modules/babel-preset-es2016/node_modules/babylon
  • core-js@2.4.1 node_modules/babel-preset-es2016/node_modules/core-js
  • babel-runtime@6.23.0 node_modules/babel-preset-es2016/node_modules/babel-runtime
  • babel-messages@6.23.0 node_modules/babel-preset-es2016/node_modules/babel-messages
  • js-tokens@3.0.1 node_modules/babel-preset-es2016/node_modules/js-tokens
  • babel-code-frame@6.22.0 node_modules/babel-preset-es2016/node_modules/babel-code-frame
  • lodash@4.17.4 node_modules/babel-preset-es2016/node_modules/lodash
  • babel-types@6.24.1 node_modules/babel-preset-es2016/node_modules/babel-types
  • ms@0.7.2 node_modules/babel-preset-es2016/node_modules/ms
  • debug@2.3.2 node_modules/babel-preset-es2016/node_modules/debug
  • babel-traverse@6.24.1 node_modules/babel-preset-es2016/node_modules/babel-traverse
  • babel-helper-explode-assignable-expression@6.24.1 node_modules/babel-preset-es2016/node_modules/babel-helper-explode-assignable-expression
  • babel-helper-builder-binary-assignment-operator-visitor@6.24.1 node_modules/babel-preset-es2016/node_modules/babel-helper-builder-binary-assignment-operator-visitor
  • babel-plugin-transform-exponentiation-operator@6.24.1 node_modules/babel-preset-es2016/node_modules/babel-plugin-transform-exponentiation-operator
  • babel-plugin-syntax-trailing-function-commas@6.22.0 node_modules/babel-preset-es2017/node_modules/babel-plugin-syntax-trailing-function-commas
  • babylon@6.17.0 node_modules/babel-preset-es2017/node_modules/babel-traverse/node_modules/babylon
  • core-js@2.4.1 node_modules/babel-preset-es2017/node_modules/core-js
  • babel-runtime@6.23.0 node_modules/babel-preset-es2017/node_modules/babel-runtime
  • babel-messages@6.23.0 node_modules/babel-preset-es2017/node_modules/babel-messages
  • js-tokens@3.0.1 node_modules/babel-preset-es2017/node_modules/js-tokens
  • babel-code-frame@6.22.0 node_modules/babel-preset-es2017/node_modules/babel-code-frame
  • lodash@4.17.4 node_modules/babel-preset-es2017/node_modules/lodash
  • babel-types@6.24.1 node_modules/babel-preset-es2017/node_modules/babel-types
  • babel-helper-get-function-arity@6.24.1 node_modules/babel-preset-es2017/node_modules/babel-helper-get-function-arity
  • ms@0.7.2 node_modules/babel-preset-es2017/node_modules/ms
  • debug@2.3.2 node_modules/babel-preset-es2017/node_modules/debug
  • babel-traverse@6.24.1 node_modules/babel-preset-es2017/node_modules/babel-traverse
  • babel-template@6.24.1 node_modules/babel-preset-es2017/node_modules/babel-template
  • babel-helper-function-name@6.24.1 node_modules/babel-preset-es2017/node_modules/babel-helper-function-name
  • babel-helper-remap-async-to-generator@6.24.1 node_modules/babel-preset-es2017/node_modules/babel-helper-remap-async-to-generator
  • babel-plugin-transform-async-to-generator@6.24.1 node_modules/babel-preset-es2017/node_modules/babel-plugin-transform-async-to-generator
  • regenerator-runtime@0.10.1 node_modules/babel-preset-react-app/node_modules/babel-plugin-transform-class-properties/node_modules/regenerator-runtime
  • regenerator-runtime@0.10.1 node_modules/babel-preset-react-app/node_modules/babel-plugin-transform-es2015-destructuring/node_modules/regenerator-runtime
  • regenerator-runtime@0.10.1 node_modules/babel-preset-react-app/node_modules/babel-plugin-transform-es2015-parameters/node_modules/regenerator-runtime
  • regenerator-runtime@0.10.1 node_modules/babel-preset-react-app/node_modules/babel-plugin-transform-regenerator/node_modules/regenerator-runtime
  • core-js@2.4.1 node_modules/babel-preset-react-app/node_modules/core-js
  • babel-runtime@6.20.0 node_modules/babel-preset-react-app/node_modules/babel-plugin-transform-class-properties/node_modules/babel-runtime
  • babel-plugin-transform-class-properties@6.16.0 node_modules/babel-preset-react-app/node_modules/babel-plugin-transform-class-properties
  • babel-runtime@6.20.0 node_modules/babel-preset-react-app/node_modules/babel-plugin-transform-es2015-destructuring/node_modules/babel-runtime
  • babel-plugin-transform-es2015-destructuring@6.16.0 node_modules/babel-preset-react-app/node_modules/babel-plugin-transform-es2015-destructuring
  • babel-runtime@6.20.0 node_modules/babel-preset-react-app/node_modules/babel-plugin-transform-es2015-parameters/node_modules/babel-runtime
  • babel-plugin-transform-es2015-parameters@6.17.0 node_modules/babel-preset-react-app/node_modules/babel-plugin-transform-es2015-parameters
  • babel-runtime@6.20.0 node_modules/babel-preset-react-app/node_modules/babel-plugin-transform-regenerator/node_modules/babel-runtime
  • babel-plugin-transform-regenerator@6.16.1 node_modules/babel-preset-react-app/node_modules/babel-plugin-transform-regenerator
  • regenerator-runtime@0.9.6 node_modules/babel-preset-react-app/node_modules/regenerator-runtime
  • babel-runtime@6.11.6 node_modules/babel-preset-react-app/node_modules/babel-runtime
  • caniuse-db@1.0.30000656 node_modules/caniuse-db
  • case-sensitive-paths-webpack-plugin@1.1.4 node_modules/case-sensitive-paths-webpack-plugin
  • clap@1.1.3 node_modules/clap
  • color-name@1.1.2 node_modules/color-name
  • color-convert@1.9.0 node_modules/color-convert
  • color-string@0.3.0 node_modules/color-string
  • color@0.11.4 node_modules/color
  • colors@1.1.2 node_modules/colors
  • common-tags@1.4.0 node_modules/common-tags
  • object-assign@4.1.0 node_modules/create-react-class/node_modules/fbjs/node_modules/object-assign
  • fbjs@0.8.12 node_modules/create-react-class/node_modules/fbjs
  • object-assign@4.1.1 node_modules/create-react-class/node_modules/object-assign
  • create-react-class@15.5.2 node_modules/create-react-class
  • css-color-names@0.0.4 node_modules/css-color-names
  • colormin@1.1.2 node_modules/colormin
  • loader-utils@1.1.0 node_modules/css-loader/node_modules/loader-utils
  • regexpu-core@1.0.0 node_modules/css-selector-tokenizer/node_modules/regexpu-core
  • cssesc@0.1.0 node_modules/cssesc
  • csso@2.3.2 node_modules/csso
  • deep-equal@1.0.1 node_modules/deep-equal
  • defined@1.0.0 node_modules/defined
  • doctrine@2.0.0 node_modules/doctrine
  • electron-to-chromium@1.3.5 node_modules/electron-to-chromium
  • browserslist@1.7.7 node_modules/browserslist
  • element-class@0.2.2 node_modules/element-class
  • es5-shim@4.5.9 node_modules/es5-shim
  • es6-shim@0.35.3 node_modules/es6-shim
  • esprima@3.1.3 node_modules/esprima
  • exenv@1.2.0 node_modules/exenv
  • fastparse@1.1.1 node_modules/fastparse
  • css-selector-tokenizer@0.7.0 node_modules/css-selector-tokenizer
  • file-loader@0.9.0 node_modules/file-loader
  • flatten@1.0.2 node_modules/flatten
  • fuse.js@2.6.2 node_modules/fuse.js
  • fuzzysearch@1.0.3 node_modules/fuzzysearch
  • html-comment-regex@1.1.1 node_modules/html-comment-regex
  • html-entities@1.2.0 node_modules/html-entities
  • icss-replace-symbols@1.0.2 node_modules/icss-replace-symbols
  • immutable@3.8.1 node_modules/immutable
  • indexes-of@1.0.1 node_modules/indexes-of
  • is-absolute-url@2.1.0 node_modules/is-absolute-url
  • is-dom@1.0.9 node_modules/is-dom
  • is-obj@1.0.1 node_modules/is-obj
  • dot-prop@3.0.0 node_modules/dot-prop
  • configstore@2.1.0 node_modules/configstore
  • is-svg@2.1.0 node_modules/is-svg
  • js-base64@2.1.9 node_modules/js-base64
  • js-yaml@3.8.3 node_modules/js-yaml
  • lodash.camelcase@4.3.0 node_modules/lodash.camelcase
  • lodash.memoize@4.1.2 node_modules/lodash.memoize
  • lodash.sortby@4.7.0 node_modules/lodash.sortby
  • lodash.uniq@4.5.0 node_modules/lodash.uniq
  • caniuse-api@1.6.1 node_modules/caniuse-api
  • macaddress@0.2.8 node_modules/macaddress
  • core-js@2.4.1 node_modules/mantra-core/node_modules/core-js
  • babel-runtime@6.23.0 node_modules/mantra-core/node_modules/babel-runtime
  • math-expression-evaluator@1.2.16 node_modules/math-expression-evaluator
  • mobx@2.7.0 node_modules/mobx
  • node-dir@0.1.16 node_modules/node-dir
  • normalize-range@0.1.2 node_modules/normalize-range
  • num2fraction@1.2.2 node_modules/num2fraction
  • es-abstract@1.7.0 node_modules/object.getownpropertydescriptors/node_modules/es-abstract
  • object.getownpropertydescriptors@2.0.3 node_modules/object.getownpropertydescriptors
  • path-parse@1.0.5 node_modules/path-parse
  • podda@1.2.2 node_modules/podda
  • postcss-message-helpers@2.0.0 node_modules/postcss-message-helpers
  • regexpu-core@1.0.0 node_modules/postcss-modules-local-by-default/node_modules/regexpu-core
  • css-selector-tokenizer@0.6.0 node_modules/postcss-modules-local-by-default/node_modules/css-selector-tokenizer
  • regexpu-core@1.0.0 node_modules/postcss-modules-scope/node_modules/regexpu-core
  • css-selector-tokenizer@0.6.0 node_modules/postcss-modules-scope/node_modules/css-selector-tokenizer
  • postcss-value-parser@3.3.0 node_modules/postcss-value-parser
  • supports-color@3.2.3 node_modules/postcss/node_modules/supports-color
  • postcss@5.2.17 node_modules/postcss
  • postcss-colormin@2.2.2 node_modules/postcss-colormin
  • postcss-convert-values@2.6.1 node_modules/postcss-convert-values
  • postcss-discard-comments@2.0.4 node_modules/postcss-discard-comments
  • postcss-discard-duplicates@2.1.0 node_modules/postcss-discard-duplicates
  • postcss-discard-empty@2.1.0 node_modules/postcss-discard-empty
  • postcss-discard-overridden@0.1.1 node_modules/postcss-discard-overridden
  • postcss-merge-idents@2.1.7 node_modules/postcss-merge-idents
  • postcss-merge-longhand@2.0.2 node_modules/postcss-merge-longhand
  • postcss-minify-font-values@1.0.5 node_modules/postcss-minify-font-values
  • postcss-minify-gradients@1.0.5 node_modules/postcss-minify-gradients
  • postcss-modules-extract-imports@1.0.1 node_modules/postcss-modules-extract-imports
  • postcss-modules-local-by-default@1.1.1 node_modules/postcss-modules-local-by-default
  • postcss-modules-scope@1.0.2 node_modules/postcss-modules-scope
  • postcss-modules-values@1.2.2 node_modules/postcss-modules-values
  • postcss-normalize-charset@1.1.1 node_modules/postcss-normalize-charset
  • postcss-ordered-values@2.2.3 node_modules/postcss-ordered-values
  • postcss-reduce-idents@2.4.0 node_modules/postcss-reduce-idents
  • postcss-reduce-initial@1.0.1 node_modules/postcss-reduce-initial
  • postcss-reduce-transforms@1.0.4 node_modules/postcss-reduce-transforms
  • q@1.5.0 node_modules/q
  • coa@1.0.1 node_modules/coa
  • babylon@5.8.38 node_modules/react-docgen/node_modules/babylon
  • react-fuzzy@0.3.3 node_modules/react-fuzzy
  • react-inspector@1.1.2 node_modules/react-inspector
  • lodash.assign@4.2.0 node_modules/react-modal/node_modules/lodash.assign
  • react-modal@1.7.7 node_modules/react-modal
  • core-js@2.4.1 node_modules/react-simple-di/node_modules/core-js
  • babel-runtime@6.23.0 node_modules/react-simple-di/node_modules/babel-runtime
  • react-simple-di@1.2.0 node_modules/react-simple-di
  • react-stubber@1.0.0 node_modules/react-stubber
  • recast@0.11.23 node_modules/recast
  • react-docgen@2.14.1 node_modules/react-docgen
  • reduce-function-call@1.0.2 node_modules/reduce-function-call
  • reduce-css-calc@1.3.0 node_modules/reduce-css-calc
  • postcss-calc@5.3.1 node_modules/postcss-calc
  • require-from-string@1.2.1 node_modules/require-from-string
  • cosmiconfig@2.1.1 node_modules/cosmiconfig
  • postcss-load-options@1.2.0 node_modules/postcss-load-options
  • postcss-load-plugins@2.3.0 node_modules/postcss-load-plugins
  • postcss-load-config@1.2.0 node_modules/postcss-load-config
  • postcss-loader@1.1.0 node_modules/postcss-loader
  • resolve@1.3.3 node_modules/resolve
  • rechoir@0.6.2 node_modules/rechoir
  • sax@1.2.2 node_modules/sax
  • etag@1.8.0 node_modules/serve-favicon/node_modules/etag
  • fresh@0.5.0 node_modules/serve-favicon/node_modules/fresh
  • ms@1.0.0 node_modules/serve-favicon/node_modules/ms
  • serve-favicon@2.4.2 node_modules/serve-favicon
  • shallowequal@0.2.2 node_modules/shallowequal
  • react-komposer@1.13.1 node_modules/mantra-core/node_modules/react-komposer
  • mantra-core@1.7.0 node_modules/mantra-core
  • react-komposer@2.0.0 node_modules/react-komposer
  • shelljs@0.7.7 node_modules/shelljs
  • sort-keys@1.1.2 node_modules/sort-keys
  • normalize-url@1.9.1 node_modules/normalize-url
  • postcss-normalize-url@3.0.8 node_modules/postcss-normalize-url
  • sprintf-js@1.0.3 node_modules/sprintf-js
  • es-abstract@1.7.0 node_modules/string.prototype.padend/node_modules/es-abstract
  • string.prototype.padend@3.0.0 node_modules/string.prototype.padend
  • es-abstract@1.7.0 node_modules/string.prototype.padstart/node_modules/es-abstract
  • string.prototype.padstart@3.0.0 node_modules/string.prototype.padstart
  • style-loader@0.13.1 node_modules/style-loader
  • esprima@2.7.3 node_modules/svgo/node_modules/esprima
  • js-yaml@3.7.0 node_modules/svgo/node_modules/js-yaml
  • uniq@1.0.1 node_modules/uniq
  • postcss-selector-parser@2.2.3 node_modules/postcss-selector-parser
  • postcss-minify-selectors@2.1.1 node_modules/postcss-minify-selectors
  • uniqid@4.1.1 node_modules/uniqid
  • postcss-filter-plugins@2.0.2 node_modules/postcss-filter-plugins
  • uniqs@2.0.0 node_modules/uniqs
  • postcss-discard-unused@2.2.3 node_modules/postcss-discard-unused
  • postcss-minify-params@1.2.2 node_modules/postcss-minify-params
  • postcss-unique-selectors@2.0.2 node_modules/postcss-unique-selectors
  • postcss-zindex@2.2.0 node_modules/postcss-zindex
  • loader-utils@1.1.0 node_modules/url-loader/node_modules/loader-utils
  • url-loader@0.5.8 node_modules/url-loader
  • vendors@1.0.1 node_modules/vendors
  • postcss-merge-rules@2.1.2 node_modules/postcss-merge-rules
  • webpack-dev-middleware@1.10.1 node_modules/webpack-dev-middleware
  • acorn@3.3.0 node_modules/webpack-dev-middleware/node_modules/acorn
  • async@1.5.2 node_modules/webpack-dev-middleware/node_modules/async
  • camelcase@1.2.1 node_modules/webpack-dev-middleware/node_modules/camelcase
  • cliui@2.1.0 node_modules/webpack-dev-middleware/node_modules/cliui
  • crypto-browserify@3.3.0 node_modules/webpack-dev-middleware/node_modules/crypto-browserify
  • memory-fs@0.2.0 node_modules/webpack-dev-middleware/node_modules/enhanced-resolve/node_modules/memory-fs
  • interpret@0.6.6 node_modules/webpack-dev-middleware/node_modules/interpret
  • node-libs-browser@0.7.0 node_modules/webpack-dev-middleware/node_modules/node-libs-browser
  • tapable@0.1.10 node_modules/webpack-dev-middleware/node_modules/tapable
  • enhanced-resolve@0.9.1 node_modules/webpack-dev-middleware/node_modules/enhanced-resolve
  • async@0.2.10 node_modules/webpack-dev-middleware/node_modules/uglify-js/node_modules/async
  • async@0.9.2 node_modules/webpack-dev-middleware/node_modules/watchpack/node_modules/async
  • watchpack@0.2.9 node_modules/webpack-dev-middleware/node_modules/watchpack
  • memory-fs@0.3.0 node_modules/webpack-dev-middleware/node_modules/webpack/node_modules/memory-fs
  • yargs@3.10.0 node_modules/webpack-dev-middleware/node_modules/yargs
  • uglify-js@2.7.5 node_modules/webpack-dev-middleware/node_modules/uglify-js
  • webpack-hot-middleware@2.18.0 node_modules/webpack-hot-middleware
  • whet.extend@0.9.9 node_modules/whet.extend
  • svgo@0.7.2 node_modules/svgo
  • postcss-svgo@2.1.6 node_modules/postcss-svgo
  • cssnano@3.10.0 node_modules/cssnano
  • css-loader@0.26.4 node_modules/css-loader
    @kadira/react-split-pane@1.4.7 node_modules/@kadira/react-split-pane -> node_modules/@kadira/react-split-pane
    @kadira/storybook@2.35.3 node_modules/@kadira/storybook -> node_modules/@kadira/storybook
    @kadira/storybook-addon-actions@1.1.3 node_modules/@kadira/storybook-addon-actions -> node_modules/@kadira/storybook-addon-actions
    @kadira/storybook-addon-links@1.0.1 node_modules/@kadira/storybook-addon-links -> node_modules/@kadira/storybook-addon-links
    @kadira/storybook-addons@1.6.1 node_modules/@kadira/storybook-addons -> node_modules/@kadira/storybook-addons
    @kadira/storybook-channel@1.1.0 node_modules/@kadira/storybook-channel -> node_modules/@kadira/storybook-channel
    @kadira/storybook-channel-postmsg@2.0.1 node_modules/@kadira/storybook-channel-postmsg -> node_modules/@kadira/storybook-channel-postmsg
    @kadira/storybook-ui@3.11.0 node_modules/@kadira/storybook-ui -> node_modules/@kadira/storybook-ui
    airbnb-js-shims@1.1.1 node_modules/airbnb-js-shims -> node_modules/airbnb-js-shims
    alphanum-sort@1.0.2 node_modules/alphanum-sort -> node_modules/alphanum-sort
    ansi-html@0.0.7 node_modules/ansi-html -> node_modules/ansi-html
    argparse@1.0.9 node_modules/argparse -> node_modules/argparse
    array-includes@3.0.3 node_modules/array-includes -> node_modules/array-includes
    ast-types@0.9.6 node_modules/ast-types -> node_modules/ast-types
    autoprefixer@6.7.7 node_modules/autoprefixer -> node_modules/autoprefixer
    babel-plugin-react-docgen@1.4.2 node_modules/babel-plugin-react-docgen -> node_modules/babel-plugin-react-docgen
    babel-plugin-transform-object-rest-spread@6.16.0 node_modules/babel-plugin-transform-object-rest-spread -> node_modules/babel-plugin-transform-object-rest-spread
    babel-plugin-transform-react-constant-elements@6.9.1 node_modules/babel-plugin-transform-react-constant-elements -> node_modules/babel-plugin-transform-react-constant-elements
    babel-plugin-transform-runtime@6.15.0 node_modules/babel-plugin-transform-runtime -> node_modules/babel-plugin-transform-runtime
    babel-preset-env@0.0.6 node_modules/babel-preset-env -> node_modules/babel-preset-env
    babel-preset-es2016@6.24.1 node_modules/babel-preset-es2016 -> node_modules/babel-preset-es2016
    babel-preset-es2017@6.24.1 node_modules/babel-preset-es2017 -> node_modules/babel-preset-es2017
    babel-preset-latest@6.16.0 node_modules/babel-preset-latest -> node_modules/babel-preset-latest
    babel-preset-react-app@1.0.0 node_modules/babel-preset-react-app -> node_modules/babel-preset-react-app
  • webpack@1.15.0 node_modules/webpack-dev-middleware/node_modules/webpack
    npm WARN @kadira/storybook-addon-actions@1.1.3 requires a peer of @kadira/storybook-addons@^1.3.0 but none was installed.
    npm WARN @kadira/storybook-addon-links@1.0.1 requires a peer of @kadira/storybook-addons@^1.3.0 but none was installed.
    npm WARN url-loader@0.5.8 requires a peer of file-loader@* but none was installed.
    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @kadira/react-split-pane@1.4.7 (node_modules/@kadira/react-split-pane):
    npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/Users/davidrhodes/Desktop/biblio/node_modules/@kadira/react-split-pane' -> '/Users/davidrhodes/Desktop/biblio/node_modules/@kadira/react-split-pane'
    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @kadira/storybook@2.35.3 (node_modules/@kadira/storybook):
    npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/Users/davidrhodes/Desktop/biblio/node_modules/@kadira/storybook' -> '/Users/davidrhodes/Desktop/biblio/node_modules/@kadira/storybook'
    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @kadira/storybook-addon-actions@1.1.3 (node_modules/@kadira/storybook-addon-actions):
    npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/Users/davidrhodes/Desktop/biblio/node_modules/@kadira/storybook-addon-actions' -> '/Users/davidrhodes/Desktop/biblio/node_modules/@kadira/storybook-addon-actions'
    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @kadira/storybook-addon-links@1.0.1 (node_modules/@kadira/storybook-addon-links):
    npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/Users/davidrhodes/Desktop/biblio/node_modules/@kadira/storybook-addon-links' -> '/Users/davidrhodes/Desktop/biblio/node_modules/@kadira/storybook-addon-links'
    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @kadira/storybook-addons@1.6.1 (node_modules/@kadira/storybook-addons):
    npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/Users/davidrhodes/Desktop/biblio/node_modules/@kadira/storybook-addons' -> '/Users/davidrhodes/Desktop/biblio/node_modules/@kadira/storybook-addons'
    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @kadira/storybook-channel@1.1.0 (node_modules/@kadira/storybook-channel):
    npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/Users/davidrhodes/Desktop/biblio/node_modules/@kadira/storybook-channel' -> '/Users/davidrhodes/Desktop/biblio/node_modules/@kadira/storybook-channel'
    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @kadira/storybook-channel-postmsg@2.0.1 (node_modules/@kadira/storybook-channel-postmsg):
    npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/Users/davidrhodes/Desktop/biblio/node_modules/@kadira/storybook-channel-postmsg' -> '/Users/davidrhodes/Desktop/biblio/node_modules/@kadira/storybook-channel-postmsg'
    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @kadira/storybook-ui@3.11.0 (node_modules/@kadira/storybook-ui):
    npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/Users/davidrhodes/Desktop/biblio/node_modules/@kadira/storybook-ui' -> '/Users/davidrhodes/Desktop/biblio/node_modules/@kadira/storybook-ui'
    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: airbnb-js-shims@1.1.1 (node_modules/airbnb-js-shims):
    npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/Users/davidrhodes/Desktop/biblio/node_modules/airbnb-js-shims' -> '/Users/davidrhodes/Desktop/biblio/node_modules/airbnb-js-shims'
    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: alphanum-sort@1.0.2 (node_modules/alphanum-sort):
    npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/Users/davidrhodes/Desktop/biblio/node_modules/alphanum-sort' -> '/Users/davidrhodes/Desktop/biblio/node_modules/alphanum-sort'
    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: ansi-html@0.0.7 (node_modules/ansi-html):
    npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/Users/davidrhodes/Desktop/biblio/node_modules/ansi-html' -> '/Users/davidrhodes/Desktop/biblio/node_modules/ansi-html'
    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: argparse@1.0.9 (node_modules/argparse):
    npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/Users/davidrhodes/Desktop/biblio/node_modules/argparse' -> '/Users/davidrhodes/Desktop/biblio/node_modules/argparse'
    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: array-includes@3.0.3 (node_modules/array-includes):
    npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/Users/davidrhodes/Desktop/biblio/node_modules/array-includes' -> '/Users/davidrhodes/Desktop/biblio/node_modules/array-includes'
    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: ast-types@0.9.6 (node_modules/ast-types):
    npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/Users/davidrhodes/Desktop/biblio/node_modules/ast-types' -> '/Users/davidrhodes/Desktop/biblio/node_modules/ast-types'
    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: autoprefixer@6.7.7 (node_modules/autoprefixer):
    npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/Users/davidrhodes/Desktop/biblio/node_modules/autoprefixer' -> '/Users/davidrhodes/Desktop/biblio/node_modules/autoprefixer'
    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: babel-plugin-react-docgen@1.4.2 (node_modules/babel-plugin-react-docgen):
    npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/Users/davidrhodes/Desktop/biblio/node_modules/babel-plugin-react-docgen' -> '/Users/davidrhodes/Desktop/biblio/node_modules/babel-plugin-react-docgen'
    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: babel-plugin-transform-object-rest-spread@6.16.0 (node_modules/babel-plugin-transform-object-rest-spread):
    npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/Users/davidrhodes/Desktop/biblio/node_modules/babel-plugin-transform-object-rest-spread' -> '/Users/davidrhodes/Desktop/biblio/node_modules/babel-plugin-transform-object-rest-spread'
    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: babel-plugin-transform-react-constant-elements@6.9.1 (node_modules/babel-plugin-transform-react-constant-elements):
    npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/Users/davidrhodes/Desktop/biblio/node_modules/babel-plugin-transform-react-constant-elements' -> '/Users/davidrhodes/Desktop/biblio/node_modules/babel-plugin-transform-react-constant-elements'
    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: babel-plugin-transform-runtime@6.15.0 (node_modules/babel-plugin-transform-runtime):
    npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/Users/davidrhodes/Desktop/biblio/node_modules/babel-plugin-transform-runtime' -> '/Users/davidrhodes/Desktop/biblio/node_modules/babel-plugin-transform-runtime'
    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: babel-preset-env@0.0.6 (node_modules/babel-preset-env):
    npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/Users/davidrhodes/Desktop/biblio/node_modules/babel-preset-env' -> '/Users/davidrhodes/Desktop/biblio/node_modules/babel-preset-env'
    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: babel-preset-es2016@6.24.1 (node_modules/babel-preset-es2016):
    npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/Users/davidrhodes/Desktop/biblio/node_modules/babel-preset-es2016' -> '/Users/davidrhodes/Desktop/biblio/node_modules/babel-preset-es2016'
    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: babel-preset-es2017@6.24.1 (node_modules/babel-preset-es2017):
    npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/Users/davidrhodes/Desktop/biblio/node_modules/babel-preset-es2017' -> '/Users/davidrhodes/Desktop/biblio/node_modules/babel-preset-es2017'
    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: babel-preset-latest@6.16.0 (node_modules/babel-preset-latest):
    npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/Users/davidrhodes/Desktop/biblio/node_modules/babel-preset-latest' -> '/Users/davidrhodes/Desktop/biblio/node_modules/babel-preset-latest'
    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: babel-preset-react-app@1.0.0 (node_modules/babel-preset-react-app):
    npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/Users/davidrhodes/Desktop/biblio/node_modules/babel-preset-react-app' -> '/Users/davidrhodes/Desktop/biblio/node_modules/babel-preset-react-app'`
@usulpro
Copy link
Member

usulpro commented May 1, 2017

@dfrho could you give more details how to reproduce this issue:

Which way did you install Storybook into your project?

@ndelangen
Copy link
Member

We're release a new version real soon. You can try it already.

In a react project directory:

npm i @storybook/cli@alpha
getstorybook

@susheelachoudry
Copy link

susheelachoudry commented Aug 28, 2019

How to uninstall storybook from the react project ?
what is the command to uninstall storybook.
npm uninstall -g @storybook/cli isn't seem to work as expected.

@ndelangen
Copy link
Member

  • delete your stories
  • delete the .storybook folder
  • delete the scripts added to package.json
  • delete all storybook related dependencies from package.json
  • run yarn or npm to update the lockfile

We don't have a cli command to automate this.

Storybook doesn't know where your stories are until runtime, so it's hard to know exactly what to delete. Also users sometimes have multiple storybooks in 1 repo, so overall it's rather complicated. Adding files is usually safer then removing... we might remove something that the user can't recover from.

I understand it's a chore to follow the above list of steps manually. I agree.

I'm open to debating this, if you have a suggestion on how to approach this in a safe manner, I'm all ears.

@shiseru
Copy link

shiseru commented Jul 20, 2020

Hi ndelangen, Thanks for your great description for removing storybook. Here I would like to provide more specific details.

  1. delete your stories

  2. delete the .storybook folder

  3. delete scripts and dependencies from package.json (usually, delete every single line which contains 'storybook')

  4. run npm install (*this is important. Don't run npm update as npm update updates every single dependencies that might break the dependency graph of the project and cause error when you run project)

@krishnadevz
Copy link

  • delete your stories

  • delete the .storybook folder

  • delete scripts and dependencies from package.json (usually, delete every single line which contains 'storybook')
    and then
    do npx sb init
    and then do npm run storybook good to go

@hanspoo
Copy link

hanspoo commented Jan 10, 2022

Something like:

rm -rf node_modules/
sed -i /storybook/d package.json

this may need to fix trailing comma in package.json.

mv .storybook/ .storybook.bak
mv src/stories/ src/stories.bak

yarn install

finally:

npx sb init

@ilkerkoc
Copy link

ilkerkoc commented Jun 3, 2022

Thank you.

@vijaybaliah
Copy link

we can automate this process using task manager tools like grunt.

@marcodali
Copy link

  • delete your stories
  • delete the .storybook folder
  • delete the scripts added to package.json
  • delete all storybook related dependencies from package.json
  • run yarn or npm to update the lockfile

We don't have a cli command to automate this.

Storybook doesn't know where your stories are until runtime, so it's hard to know exactly what to delete. Also users sometimes have multiple storybooks in 1 repo, so overall it's rather complicated. Adding files is usually safer then removing... we might remove something that the user can't recover from.

I understand it's a chore to follow the above list of steps manually. I agree.

I'm open to debating this, if you have a suggestion on how to approach this in a safe manner, I'm all ears.

what dependencies does storybook add to package.json??

@phocks
Copy link

phocks commented Feb 8, 2023

what dependencies does storybook add to package.json??

I delete these. Can someone let us know if there are any others?

    "@storybook/addon-actions": "^6.5.16",
    "@storybook/addon-essentials": "^6.5.16",
    "@storybook/addon-interactions": "^6.5.16",
    "@storybook/addon-links": "^6.5.16",
    "@storybook/builder-webpack5": "^6.5.16",
    "@storybook/manager-webpack5": "^6.5.16",
    "@storybook/react": "^6.5.16",
    "@storybook/testing-library": "^0.0.13",

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests