nerv-server error: navigator is not defined
i-like-robots opened this issue · 0 comments
i-like-robots commented
When attempting to use nerv-server
v1.3.12 in a Node environment it throws immediately:
require('nerv-server')
// throws ReferenceError: navigator is not defined
The issue is being thrown by the following line:
nerv/packages/nerv-utils/src/next-tick.ts
Lines 4 to 5 in 5d69c49
Removing this function (it does not appear to be used) resolves the issue.