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
$ node --version ## result: v16.16.0
$ yarn add symbology
$ node quick_start_symbology.js
file:///.../quick_start_symbology.js:3
EncodingMode,
^^^^^^^^^^^^
SyntaxError: Named export 'EncodingMode' not found. The requested module 'symbology' is a CommonJS module, which may not support all module.exports as named exports.
CommonJS modules can always be imported via the default export, for example using:
import pkg from 'symbology';
at ModuleJob._instantiate (node:internal/modules/esm/module_job:128:21)
at async ModuleJob.run (node:internal/modules/esm/module_job:194:5)
at async Promise.all (index 0)
at async ESMLoader.import (node:internal/modules/esm/loader:385:24)
at async loadESM (node:internal/process/esm_loader:88:5)
at async handleMainPromise (node:internal/modules/run_main:61:12)
Am I doing something wrong?
The text was updated successfully, but these errors were encountered:
Using quick start example:
Results in error message:
Am I doing something wrong?
The text was updated successfully, but these errors were encountered: