-
Notifications
You must be signed in to change notification settings - Fork 122
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TypeError: process.pid is undefined #77
Comments
You can see that webpack is trying to use node-cuid.js instead of the browser build. I assume you're seeing this error in the browser? |
Yes, I am seeing this error in the browser. |
Tell Webpack to use the browser build (see the "browser" key in |
Hm, it worked when I added this to my
Not sure why it was broken. I have |
Can you create a PR? |
Didn't update any package or system environment, but today when I call
cuid()
I getTypeError: process.pid is undefined
nodePrint
[path to my react component]
cuid
webpack:///./~/cuid/dist/node-cuid.js?:49:23
Using
cuid: 1.3.8
webpack: 2.2.0
webpack-dev-server: 2.2.0
node v6.9.4
npm v3.10.10
yarn 0.20.3
Tried on cuid@1.2.0, got the same result.
The text was updated successfully, but these errors were encountered: