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
serialize-javascript: 3.1.0 and higher (3.1.0 - 5.1.0)
Use
import serialize from 'serialize-javascript'
...
const var1 = serialize(value)
Error
The application crashes on startup with an error:
Unable to resolve module buffer from node_modules/safe-buffer/index.js: buffer could not be found within the project
Found a solution (in App.js): npm install -S buffer
import { Buffer } from 'buffer';
global.Buffer = Buffer; // very important
But that doesn't work either and throws another error:
ERROR Error: Secure random number generation is not supported by this browser.
Use Chrome, Firefox or Internet Explorer 11
ERROR Invariant Violation: Module AppRegistry is not a registered callable module (calling runApplication)
The text was updated successfully, but these errors were encountered:
Packages
Use
Error
The application crashes on startup with an error:
Unable to resolve module
buffer
fromnode_modules/safe-buffer/index.js
: buffer could not be found within the projectFound a solution (in App.js):
npm install -S buffer
But that doesn't work either and throws another error:
Use Chrome, Firefox or Internet Explorer 11
The text was updated successfully, but these errors were encountered: