-
Notifications
You must be signed in to change notification settings - Fork 12k
Closed
Labels
High priorityCreated by Linear-GitHub SyncCreated by Linear-GitHub SyncStale🐛 bugSomething isn't workingSomething isn't working
Description
Issue Summary
Atoms are not working in non-next.js context. The Credits and
Steps to Reproduce
- Make a normal non-next.js project.
- Import the CalProvider
- The app crashes with
Uncaught ReferenceError: process is not defined.
The error is because process is only accessible in node.js environements and not present in browser environments.
The documentation states that the library should work both in Next.js and React.js
Actual Results
- The app is crashing with:
Uncaught ReferenceError: process is not defined
Expected Results
- Atoms are working in browser environment.
Technical details
- React version: 19.1.2
- "@calcom/atoms": "^1.1.1"
Evidence
Point of issue in the library:

- Tested by importing @calcom/atoms and using the provider.
Error in the compiled code:
The issue is from the Icon component.

Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
High priorityCreated by Linear-GitHub SyncCreated by Linear-GitHub SyncStale🐛 bugSomething isn't workingSomething isn't working