Date: Sun, 27 Nov 2022 06:31:27 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 268010] www/csso: TypeError: print is not a function Message-ID: <bug-268010-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D268010 Bug ID: 268010 Summary: www/csso: TypeError: print is not a function Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: nivit@FreeBSD.org Reporter: portmaster@bsdforge.com Flags: maintainer-feedback?(nivit@FreeBSD.org) Assignee: nivit@FreeBSD.org I'm unable to use www/csso in any capacity. All attempts to use it return the following: $ csso --help /usr/local/share/csso/lib/csso.js:69 print(fs.readFileSync(__dirname.slice(0, __dirname.lastIndexOf('/')) + = '/' + filename).toString()); ^ TypeError: print is not a function at printFile (/usr/local/share/csso/lib/csso.js:69:5) at Object.<anonymous> (/usr/local/share/csso/lib/csso.js:28:5) at Module._compile (internal/modules/cjs/loader.js:1236:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:1257:1= 0) at Module.load (internal/modules/cjs/loader.js:1085:32) at Function.Module._load (internal/modules/cjs/loader.js:950:14) at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:60:12) at internal/main/run_main_module.js:17:47 www/csso is built against www/node16. node works as expected. Whereas csso does not. Thank you for all your time and attention to this. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-268010-7788>