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
Hello, I get an error when I try to run node app.js in the terminal:
I am on Ubuntu 20.04.2 LTS.
EDIT: this was caused by an older version of node.js on the Ubuntu Software store.
/local_api/node_modules/@small-tech/jsdb/lib/JSDB.js:30
static #isBeingInstantiatedByFactoryMethod = false
^
SyntaxError: Invalid or unexpected token
at Module._compile (internal/modules/cjs/loader.js:723:23)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
at Module.require (internal/modules/cjs/loader.js:692:17)
at require (internal/modules/cjs/helpers.js:25:18)
at Object.<anonymous> (/home/XXXXX/Public/JsonboxReplacer/local_api/node_modules/@small-tech/jsdb/index.js:36:18)
at Module._compile (internal/modules/cjs/loader.js:778:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
The text was updated successfully, but these errors were encountered:
Hello, I get an error when I try to run
node app.js
in the terminal:I am on Ubuntu 20.04.2 LTS.
EDIT: this was caused by an older version of node.js on the Ubuntu Software store.
The text was updated successfully, but these errors were encountered: