Auth0 error on build of project

时间:2018-08-24 15:11:48

标签: node.js reactjs auth0

I am working with legacy code which uses Node.js and React.

npm start gives me the following warnings:

./src/containers/Wrapper/index.js Line 32: Unexpected console statement no-console Line 40: Unexpected console statement no-console

and

Could not open routes.js in the editor.

http://localhost:5501/ displays the following errors (I can expand the collapsed stack frames upon request)

Error: A clientID string must be provided as first argument.

  30 |   { ...this.options, allowedConnections: ['box'] },
  31 | );
  32 | 
> 33 | constructor() {
  34 |   super();
  35 |   this.setSession = this.setSession.bind(this);
  36 |   this.handleAuthentication();

View compiled Object.webpack_exports.a src/routes.js:32

  29 | import Admin from './containers/Admin/Admin';
  30 | import BlocMaps from './containers/BlocMaps/Maps';
  31 | 
> 32 | const auth = new Auth();
  33 | 
  34 | export default (
  35 |   <Route path="/" component={Wrapper}>

0 个答案:

没有答案