Closed eatyourgreens closed 2 years ago
That error message is thrown by the old JS client. I'm not sure why it's showing up on new projects. The auth client, maybe? https://github.com/zooniverse/panoptes-javascript-client/blob/49e3a9e17784f29a09810357a80b6ab84141bd9b/lib/config.js#L65-L68
Package
lib-panoptes-js
Describe the bug
This error message is wrong:
staging
is an invalid value forNODE_ENV
. Valid values areproduction
,development
ornone
. See the Webpack mode docs for detailsTo Reproduce
Make a typo in the
env
query param eg.?env=stging
.Expected behavior
The client should ask for a valid Node environment.