You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[ ] bug report => check the README and search github for a similar issue or PR before submitting
[x] support request => check the README and search github for a similar issue or PR before submitting
[ ] feature request
After importing auth0-js in a component I'm receiving the following error after building and serving via express. SPA mode works fine however.
Import: import auth0 from 'auth0-js'; Run:
npm run build:universal-dev
npm run serve Error:
/.server/server.js:134432
var crypto = require('crypto');
^
TypeError: require is not a function
The text was updated successfully, but these errors were encountered:
ghost
changed the title
importing auth0 breaks universal
Importing auth0 breaks universal
Jul 10, 2017
@vanaio it seems like an issue with module resolution. Is it possible for you to share a codepen url, or upload to a repository on github (so that we'll be able to reproduce the issue and see what's wrong)?
I'm trying to use a preboot js to help manage the transition of state , and I understand require is ignored in source code below (inline.preboot.code.ts)
I'm submitting a ... (check one with "x")
After importing auth0-js in a component I'm receiving the following error after building and serving via express. SPA mode works fine however.
Import:
import auth0 from 'auth0-js';
Run:
npm run build:universal-dev
npm run serve
Error:
The text was updated successfully, but these errors were encountered: