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
Running into the following when trying to use rrule with Node 14:
import { RRule } from 'rrule';
^^^^^
SyntaxError: The requested module 'rrule' is expected to be of type CommonJS, which does not support named exports. CommonJS modules can be imported by importing the default export.
For example:
import pkg from 'rrule';
const { RRule } = pkg;
at ModuleJob._instantiate (internal/modules/esm/module_job.js:98:21)
at async ModuleJob.run (internal/modules/esm/module_job.js:137:5)
at async Loader.import (internal/modules/esm/loader.js:165:24)
at async Object.loadESM (internal/process/esm_loader.js:68:5)
Running into the following when trying to use rrule with Node 14:
See this Stack Overflow post for details.
I think this is the same issue as reported for lodash had here: lodash/lodash#4800 which was resolved in this PR: lodash/lodash#4826
rrule version: 2.6.6
OS: Ubuntu
The text was updated successfully, but these errors were encountered: