Development Environment

I have set up a development environment and have a consistent error when running the basic test provided. I have backed out and gone through the set-up instructions a couple times.

Below is the error and information received regarding the token:
(PERCY_TOKEN environment variable is missing).

build-storybook && PERCY_TOKEN=$STORYBOOK_PERCY_TOKEN PERCY_PROJECT=$STORYBOOK_PERCY_PROJECT percy-storybook --widths=375,1280

@storybook/react v3.2.12

=> Loading custom .babelrc
=> Loading custom addons config.
=> Loading custom webpack config (extending mode).
Building storybook …
(node:28539) DeprecationWarning: loaderUtils.parseQuery() received a non-string value which can be problematic, see https://github.com/webpack/loader-utils/issues/56
parseQuery() will be replaced with getOptions() in the next major version of loader-utils.
Error: Error: The PERCY_TOKEN environment variable is missing.
at Object._callee$ (/Users/baileyweathers/code/sentry/node_modules/@percy-io/react-percy-storybook/lib/cli.js:68:19)
at tryCatch (/Users/baileyweathers/code/sentry/node_modules/regenerator-runtime/runtime.js:65:40)
at Generator.invoke [as _invoke] (/Users/baileyweathers/code/sentry/node_modules/regenerator-runtime/runtime.js:299:22)
at Generator.prototype.(anonymous function) [as next] (/Users/baileyweathers/code/sentry/node_modules/regenerator-runtime/runtime.js:117:21)
at step (/Users/baileyweathers/code/sentry/node_modules/babel-runtime/helpers/asyncToGenerator.js:17:30)
at /Users/baileyweathers/code/sentry/node_modules/babel-runtime/helpers/asyncToGenerator.js:35:14
at Promise ()
at F (/Users/baileyweathers/code/sentry/node_modules/core-js/library/modules/_export.js:35:28)
at Object. (/Users/baileyweathers/code/sentry/node_modules/babel-runtime/helpers/asyncToGenerator.js:14:12)
at Object.run (/Users/baileyweathers/code/sentry/node_modules/@percy-io/react-percy-storybook/lib/cli.js:115:17)
at Object. (/Users/baileyweathers/code/sentry/node_modules/@percy-io/react-percy-storybook/bin/percy-storybook.js:4:4)
at Module._compile (module.js:624:30)
at Object.Module._extensions…js (module.js:635:10)
at Module.load (module.js:545:32)
at tryModuleLoad (module.js:508:12)
at Function.Module._load (module.js:500:3)
at Function.Module.runMain (module.js:665:10)
at startup (bootstrap_node.js:187:16)
at bootstrap_node.js:607:3
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! Sentry@0.0.0 snapshot: build-storybook && PERCY_TOKEN=$STORYBOOK_PERCY_TOKEN PERCY_PROJECT=$STORYBOOK_PERCY_PROJECT percy-storybook --widths=375,1280
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the Sentry@0.0.0 snapshot script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! /Users/baileyweathers/.npm/_logs/2017-10-17T19_04_38_013Z-debug.log
make: *** [test-js] Error 1

Thanks for reporting this! I have a PR to fix this issue here: https://github.com/getsentry/sentry/pull/6359