Package Details: cncjs 1.10.3-1

Git Clone URL: https://aur.archlinux.org/cncjs.git (read-only, click to copy)
Package Base: cncjs
Description: Web-based interface for CNC controllers running Grbl, Marlin, Smoothieware, or TinyG.
Upstream URL: https://github.com/cncjs/cncjs
Licenses: MIT
Submitter: Jake
Maintainer: Jake
Last Packager: Jake
Votes: 2
Popularity: 0.003857
First Submitted: 2018-05-22 21:44 (UTC)
Last Updated: 2023-07-23 10:02 (UTC)

Latest Comments

Jake commented on 2022-11-12 23:04 (UTC)

@gpunk Yep, arch recently switched to openssl 3.0 (from 1.1 before) with node 19.0.0-3. webpack still uses md4 hashes, this now considered legacy and disabled by default in openssl. In webpack 5 they "fixed" it by including md4 webasm module.

I have now added a flag to make it work again (no pkgrel change, package is fine if already built).

gpunk commented on 2022-11-11 05:09 (UTC)

fyi

Done in 200.34s. yarn run v1.22.19 $ npm run package-sync && bash scripts/prebuild-prod.sh

cncjs@1.9.27 package-sync node scripts/package-sync.js

~/.cache/yay/cncjs/src/cncjs-1.9.28/src ~/.cache/yay/cncjs/src/cncjs-1.9.28 Successfully compiled 2 files with Babel. Successfully compiled 7 files with Babel. ~/.cache/yay/cncjs/src/cncjs-1.9.28 $ concurrently --names "build-app-prod,build-server-prod" "npm run build-app-prod" "npm run build-server-prod" [build-server-prod] [build-server-prod] > cncjs@1.9.27 build-server-prod [build-server-prod] > babel -d dist/cncjs/server src/server && npm run build-server-i18n [build-server-prod] [build-app-prod] [build-app-prod] > cncjs@1.9.27 build-app-prod [build-app-prod] > cross-env NODE_ENV=production webpack-cli --config webpack.config.production.js && npm run build-app-i18n [build-app-prod] [build-server-prod] Successfully compiled 103 files with Babel. [build-server-prod] [build-server-prod] > cncjs@1.9.27 build-server-i18n [build-server-prod] > i18next-scanner --config i18next-scanner.server.config.js "src/server//*.{html,js,jsx}" "!src/server/i18n/" "!/node_modules/" [build-server-prod] [build-server-prod] i18next-scanner: Unable to parse I18n component from "/home/gpunk/.cache/yay/cncjs/src/cncjs-1.9.28/src/server/controllers/Marlin/MarlinLineParserResultTemperature.js" [build-server-prod] SyntaxError: Unexpected token (57:69) [build-server-prod] npm run build-server-prod exited with code 0 [build-app-prod] (node:6459) Warning: Accessing non-existent property 'lineno' of module exports inside circular dependency [build-app-prod] (Use node --trace-warnings ... to show where the warning was created) [build-app-prod] (node:6459) Warning: Accessing non-existent property 'column' of module exports inside circular dependency [build-app-prod] (node:6459) Warning: Accessing non-existent property 'filename' of module exports inside circular dependency [build-app-prod] (node:6459) Warning: Accessing non-existent property 'lineno' of module exports inside circular dependency [build-app-prod] (node:6459) Warning: Accessing non-existent property 'column' of module exports inside circular dependency [build-app-prod] (node:6459) Warning: Accessing non-existent property 'filename' of module exports inside circular dependency [build-app-prod] (node:6459) DeprecationWarning: Tapable.plugin is deprecated. Use new API on .hooks instead [build-app-prod] Error: error:0308010C:digital envelope routines::unsupported [build-app-prod] at new Hash (node:internal/crypto/hash:71:19) [build-app-prod] at Object.createHash (node:crypto:140:10) [build-app-prod] at module.exports (/home/gpunk/.cache/yay/cncjs/src/cncjs-1.9.28/node_modules/webpack/lib/util/createHash.js:90:53) [build-app-prod] at NormalModule._initBuildHash (/home/gpunk/.cache/yay/cncjs/src/cncjs-1.9.28/node_modules/webpack/lib/NormalModule.js:401:16) [build-app-prod] at handleParseError (/home/gpunk/.cache/yay/cncjs/src/cncjs-1.9.28/node_modules/webpack/lib/NormalModule.js:449:10) [build-app-prod] at /home/gpunk/.cache/yay/cncjs/src/cncjs-1.9.28/node_modules/webpack/lib/NormalModule.js:481:5 [build-app-prod] at /home/gpunk/.cache/yay/cncjs/src/cncjs-1.9.28/node_modules/webpack/lib/NormalModule.js:342:12 [build-app-prod] at /home/gpunk/.cache/yay/cncjs/src/cncjs-1.9.28/node_modules/loader-runner/lib/LoaderRunner.js:373:3 [build-app-prod] at iterateNormalLoaders (/home/gpunk/.cache/yay/cncjs/src/cncjs-1.9.28/node_modules/loader-runner/lib/LoaderRunner.js:214:10) [build-app-prod] at iterateNormalLoaders (/home/gpunk/.cache/yay/cncjs/src/cncjs-1.9.28/node_modules/loader-runner/lib/LoaderRunner.js:221:10) [build-app-prod] at /home/gpunk/.cache/yay/cncjs/src/cncjs-1.9.28/node_modules/loader-runner/lib/LoaderRunner.js:236:3 [build-app-prod] at runSyncOrAsync (/home/gpunk/.cache/yay/cncjs/src/cncjs-1.9.28/node_modules/loader-runner/lib/LoaderRunner.js:130:11) [build-app-prod] at iterateNormalLoaders (/home/gpunk/.cache/yay/cncjs/src/cncjs-1.9.28/node_modules/loader-runner/lib/LoaderRunner.js:232:2) [build-app-prod] at Array.<anonymous> (/home/gpunk/.cache/yay/cncjs/src/cncjs-1.9.28/node_modules/loader-runner/lib/LoaderRunner.js:205:4) [build-app-prod] at Storage.finished (/home/gpunk/.cache/yay/cncjs/src/cncjs-1.9.28/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:55:16) [build-app-prod] at /home/gpunk/.cache/yay/cncjs/src/cncjs-1.9.28/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:91:9 [build-app-prod] at /home/gpunk/.cache/yay/cncjs/src/cncjs-1.9.28/node_modules/graceful-fs/graceful-fs.js:123:16 [build-app-prod] at FSReqCallback.readFileAfterClose [as oncomplete] (node:internal/fs/read_file_context:68:3) [build-app-prod] node:internal/crypto/hash:71 [build-app-prod] this[kHandle] = new _Hash(algorithm, xofLen); [build-app-prod] ^ [build-app-prod] [build-app-prod] Error: error:0308010C:digital envelope routines::unsupported [build-app-prod] at new Hash (node:internal/crypto/hash:71:19) [build-app-prod] at Object.createHash (node:crypto:140:10) [build-app-prod] at module.exports (/home/gpunk/.cache/yay/cncjs/src/cncjs-1.9.28/node_modules/webpack/lib/util/createHash.js:90:53) [build-app-prod] at NormalModule._initBuildHash (/home/gpunk/.cache/yay/cncjs/src/cncjs-1.9.28/node_modules/webpack/lib/NormalModule.js:401:16) [build-app-prod] at handleParseError (/home/gpunk/.cache/yay/cncjs/src/cncjs-1.9.28/node_modules/webpack/lib/NormalModule.js:449:10) [build-app-prod] at /home/gpunk/.cache/yay/cncjs/src/cncjs-1.9.28/node_modules/webpack/lib/NormalModule.js:481:5 [build-app-prod] at /home/gpunk/.cache/yay/cncjs/src/cncjs-1.9.28/node_modules/webpack/lib/NormalModule.js:342:12 [build-app-prod] at /home/gpunk/.cache/yay/cncjs/src/cncjs-1.9.28/node_modules/loader-runner/lib/LoaderRunner.js:373:3 [build-app-prod] at iterateNormalLoaders (/home/gpunk/.cache/yay/cncjs/src/cncjs-1.9.28/node_modules/loader-runner/lib/LoaderRunner.js:214:10) [build-app-prod] at Array.<anonymous> (/home/gpunk/.cache/yay/cncjs/src/cncjs-1.9.28/node_modules/loader-runner/lib/LoaderRunner.js:205:4) [build-app-prod] at Storage.finished (/home/gpunk/.cache/yay/cncjs/src/cncjs-1.9.28/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:55:16) [build-app-prod] at /home/gpunk/.cache/yay/cncjs/src/cncjs-1.9.28/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:91:9 [build-app-prod] at /home/gpunk/.cache/yay/cncjs/src/cncjs-1.9.28/node_modules/graceful-fs/graceful-fs.js:123:16 [build-app-prod] at FSReqCallback.readFileAfterClose [as oncomplete] (node:internal/fs/read_file_context:68:3) { [build-app-prod] opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ], [build-app-prod] library: 'digital envelope routines', [build-app-prod] reason: 'unsupported', [build-app-prod] code: 'ERR_OSSL_EVP_UNSUPPORTED' [build-app-prod] } [build-app-prod] [build-app-prod] Node.js v19.0.1 [build-app-prod] npm run build-app-prod exited with code 1 error Command failed with exit code 1. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. ==> ERREUR : Une erreur s’est produite dans build(). Abandon… -> erreur lors de la construction : cncjs  user     1 

Bonnee commented on 2022-08-01 12:35 (UTC)

It's giving me this error:

error: could not find all required packages:
    nodejs<13 (wanted by: cncjs)

Jake commented on 2020-12-30 23:54 (UTC)

@nerux: Sure, done.

nerux commented on 2020-12-29 15:24 (UTC)

Could you add npm as depend ?

Jake commented on 2020-07-20 17:08 (UTC)

Note: You have to manually userdel cncjs before installation of this update, to get the changed home directory for working systemd integration.

Jake commented on 2019-05-17 23:30 (UTC)

@rp68: cncjs does a DNS lookup for your hostname with default config, to display the real local IP on startup. Most router DNS servers can provide that, but yours apparently does not.

Starting cncjs specifically with the --host option set to something else than 0.0.0.0 should skip that lookup. Or just add your hostname (ArchA-home) to /etc/hosts with the local IP.

rp68 commented on 2019-05-06 17:52 (UTC)

Hi. I have this error : "error init Can't resolve host name: { Error: getaddrinfo ENOTFOUND ArchA-home at GetAddrInfoReqWrap.onlookupall [as oncomplete] (dns.js:70:26" an idea ? Thanks