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
Calling csso-cli from command line I got this error. Downgrade to 3.0.0 fix the poroblem
(function (exports, require, module, __filename, __dirname) { import { basename, extname } from 'path';
^
SyntaxError: Unexpected token {
at new Script (vm.js:84:7)
at createScript (vm.js:264:10)
at Object.runInThisContext (vm.js:312:10)
at Module._compile (internal/modules/cjs/loader.js:696:28)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:747:10)
at Module.load (internal/modules/cjs/loader.js:628:32)
at tryModuleLoad (internal/modules/cjs/loader.js:568:12)
at Function.Module._load (internal/modules/cjs/loader.js:560:3)
at Module.require (internal/modules/cjs/loader.js:665:17)
at require (internal/modules/cjs/helpers.js:20:18)
Activity
lahmatiy commentedon Feb 28, 2023
Not enough details to understand what the problem is. What version of nodejs are you using?
jyotir07 commentedon Sep 20, 2023
You might just be missing a semi-colon(;)
But js automatically adds this in the end of the line so it can be something else too