tholian-network / stealth

:rocket: Stealth - Secure, Peer-to-Peer, Private and Automateable Web Browser/Scraper/Proxy
GNU General Public License v3.0
1.04k stars 301 forks source link

node ./make.mjs ……reports an error #91

Open orwithout opened 1 year ago

orwithout commented 1 year ago

[root@c stealth]# node ./make.mjs (L) (L) clean() (L) (I) base: clean("$PWD") (I) browser: clean("$PWD") (I) covert: clean("$PWD") (I) stealth: clean("$PWD") (L) (L) build() (L) (I) base: build("$PWD") (I) browser: build("$PWD") (W) base: build("$PWD"): skip (I) covert: build("$PWD") (W) base: build("$PWD"): skip (I) stealth: build("$PWD") (W) base: build("$PWD"): skip (W) browser: build("$PWD"): skip (W) stealth: build("$PWD"): skip (L) (L) lint() (L) (node:16572) [DEP0147] DeprecationWarning: In future versions of Node.js, fs.rmdir(path, { recursive: true }) will be removed. Use fs.rm(path, { recursive: true }) instead (Use node --trace-deprecation ... to show where the warning was created) (E) > /stealth/source/connection/DNS.mjs#L557:if (URL.isURL(url) !== true) { (E) > /stealth/source/connection/MDNS.mjs#L629:if (URL.isURL(url) !== true) { (W) > /stealth/source/language/Parser.mjs#L216:return types.includes(token.type) || token.type === null; (W) > /stealth/source/optimizer/CSS.mjs#L18:if (path !== null && path.endsWith('.css')) { (W) > /stealth/source/optimizer/CSS.mjs#L27:if (path !== null && path.endsWith('.css')) { (W) > /stealth/source/optimizer/HTML.mjs#L18:if (path !== null && path.endsWith('.html')) { (W) > /stealth/source/optimizer/HTML.mjs#L27:if (path !== null && path.endsWith('.html')) { (W) > /stealth/source/packet/HTTP.mjs#L345:let check = range.split('=').pop().split(',').map((r) => r.trim()).filter((r) => r.includes('-')); (W) > /stealth/source/server/Peerer.mjs#L765:peer.domain.endsWith('.tholian.local') (W) > /stealth/source/server/Webproxy.mjs#L122:response.headers['content-type'].startsWith('audio/') (W) > /stealth/source/server/Webproxy.mjs#L123:|| response.headers['content-type'].startsWith('video/') (W) > /stealth/source/server/Webserver.mjs#L124:response.headers['content-type'].startsWith('audio/') (W) > /stealth/source/server/Webserver.mjs#L125:|| response.headers['content-type'].startsWith('video/') (W) > /stealth/source/server/Webserver.mjs#L470:|| (packet.headers['@url'] || '').startsWith('/browser') (W) > /stealth/source/server/service/Blocker.mjs#L124:blocker = this.stealth.settings.blockers.find((b) => domain.endsWith('.' + b.domain)) || null;

OS: Rocky-Linux-9 node version : v16.18.1

image

image

Also, on windows, I have no success running

What should i do?