[Bug 268010] www/csso: TypeError: print is not a function
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 27 Nov 2022 06:31:27 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=268010 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:10) 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. -- You are receiving this mail because: You are the assignee for the bug.