Closed aflabhay closed 5 months ago
Sigh... you just copied your old issue into this new one, and added "Max OS" (which doesn't exist).
You didn't use the GitHub issue template like I asked. Including details really helps me troubleshoot your issue. That's why the GitHub issue template exists, and why it asks you specific questions.
I'm trying very hard to help you here, but you're not giving me much to go on.
Platform: Max OS
It's "macOS", and I need to know the version, and the architecture. Are you on Sonoma (14.4.1) or an older version of macOS? What architecture? Apple Silicon, or Intel x86? What hardware are you using? Mac Mini? MacBook Pro?
Are you running the commands as root?
Please include your full terminal output. Like this:
bash-3.2#
bash-3.2# system_profiler SPSoftwareDataType SPHardwareDataType
Software:
System Software Overview:
System Version: macOS 12.3.1 (21E258)
Kernel Version: Darwin 21.4.0
Boot Volume: Macintosh HD
Boot Mode: Normal
Computer Name: mini
User Name: System Administrator (root)
Secure Virtual Memory: Enabled
System Integrity Protection: Enabled
Time since boot: 43 days 14:08
Hardware:
Hardware Overview:
Model Name: Mac mini
Model Identifier: Macmini8,1
Processor Name: Quad-Core Intel Core i3
Processor Speed: 3.6 GHz
Number of Processors: 1
Total Number of Cores: 4
L2 Cache (per Core): 256 KB
L3 Cache: 6 MB
Memory: 16 GB
System Firmware Version: 1731.100.130.0.0 (iBridge: 19.16.14243.0.0,0)
OS Loader Version: 540.100.7~23
Activation Lock Status: Disabled
bash-3.2#
bash-3.2# node --version
v20.13.1
bash-3.2#
bash-3.2# id
uid=0(root) gid=0(wheel) groups=0(wheel),1(daemon),2(kmem),3(sys),4(tty),5(operator),8(procview),9(procmod),12(everyone),20(staff),29(certusers),61(localaccounts),80(admin),701(com.apple.sharepoint.group.1),33(_appstore),98(_lpadmin),100(_lpoperator),204(_developer),250(_analyticsusers),395(com.apple.access_ftp),398(com.apple.access_screensharing),399(com.apple.access_ssh),400(com.apple.access_remote_ae)
bash-3.2#
bash-3.2# mkdir -p /opt/cronicle
bash-3.2#
bash-3.2# cd /opt/cronicle
bash-3.2#
bash-3.2# curl -L https://github.com/jhuckaby/Cronicle/archive/v0.9.51.tar.gz | tar zxvf - --strip-components 1
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
x .github/
x .github/issue_template.md
x .github/pull_request_template.md
x .npmignore
x LICENSE.md
x README.md
x bin/
x bin/build-tools.js
x bin/build.js
x bin/control.sh
x bin/cronicled.init
x bin/debug.sh
x bin/install.js
x bin/run-detached.js
x bin/shell-plugin.js
x bin/storage-cli.js
x bin/storage-migrate.js
x bin/storage-repair.js
x bin/test-plugin.js
x bin/url-plugin.js
x docs/
x docs/APIReference.md
x docs/CommandLine.md
x docs/Configuration.md
x docs/Development.md
x docs/InnerWorkings.md
x docs/Plugins.md
x docs/Setup.md
x docs/WebUI.md
x htdocs/
x htdocs/blank.html
x htdocs/css/
x htdocs/css/style.css
x htdocs/favicon.ico
x htdocs/images/
x htdocs/images/clock-bkgnd.png
x htdocs/images/clock-hour.png
x htdocs/images/clock-minute.png
x htdocs/images/clock-second.png
x htdocs/images/loading-16.gif
x htdocs/images/loading-24.gif
x htdocs/images/loading.gif
x htdocs/images/logo-1024.png
x htdocs/images/logo-128.png
x htdocs/images/logo-256.png
x htdocs/images/logo-512.png
x htdocs/images/logo-64.png
x htdocs/index-dev.html
x htdocs/js/
x htdocs/js/app.js
x htdocs/js/home-worker.js
x htdocs/js/pages/
x htdocs/js/pages/Admin.class.js
x htdocs/js/pages/Base.class.js
x htdocs/js/pages/History.class.js
x htdocs/js/pages/Home.class.js
x htdocs/js/pages/JobDetails.class.js
x htdocs/js/pages/Login.class.js
x htdocs/js/pages/MyAccount.class.js
x htdocs/js/pages/Schedule.class.js
x htdocs/js/pages/admin/
x htdocs/js/pages/admin/APIKeys.js
x htdocs/js/pages/admin/Activity.js
x htdocs/js/pages/admin/Categories.js
x htdocs/js/pages/admin/Plugins.js
x htdocs/js/pages/admin/Servers.js
x htdocs/js/pages/admin/Users.js
x lib/
x lib/api.js
x lib/api/
x lib/api/admin.js
x lib/api/apikey.js
x lib/api/category.js
x lib/api/config.js
x lib/api/event.js
100 333k 0 333k 0 0 488k 0 --:--:-- --:--:-- --:--:-- 488k
x lib/api/job.js
x lib/api/plugin.js
x lib/comm.js
x lib/discovery.js
x lib/engine.js
x lib/job.js
x lib/main.js
x lib/queue.js
x lib/scheduler.js
x lib/test.js
x package-lock.json
x package.json
x sample_conf/
x sample_conf/config.json
x sample_conf/emails/
x sample_conf/emails/changed_password.txt
x sample_conf/emails/event_error.txt
x sample_conf/emails/job_fail.txt
x sample_conf/emails/job_success.txt
x sample_conf/emails/recover_password.txt
x sample_conf/emails/welcome_new_user.txt
x sample_conf/setup.json
x sample_conf/ssl.crt
x sample_conf/ssl.key
bash-3.2#
bash-3.2# npm install
> Cronicle@0.9.51 postinstall
> pixl-boot install
Installing startup service: Cronicle...OK.
Successfully registered startup service.
removed 15 packages, changed 61 packages, and audited 248 packages in 2s
8 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
bash-3.2#
bash-3.2# node bin/build.js dist
Welcome to Cronicle!
First time installing? You should configure your settings in '/opt/cronicle/conf/config.json'.
Next, if this is a master server, type: '/opt/cronicle/bin/control.sh setup' to init storage.
Then, to start the service, type: '/opt/cronicle/bin/control.sh start'.
For full docs, please visit: http://github.com/jhuckaby/Cronicle
Enjoy!
bash-3.2#
bash-3.2#
Things to notice here:
system_profiler SPSoftwareDataType SPHardwareDataType
to identify the OS and other vital information about the Mac.id
to identify that I am running as root.This is how you help an open source maintainer troubleshoot your issue. Provide lots and lots of details 😊
Getting below while running last command. node bin/build.js dist.
Build Error: Error: Could not locate match in HTML source: undefined: COMBINE_SCRIPT
mkdir -p /opt/cronicle cd /opt/cronicle curl -L https://github.com/jhuckaby/Cronicle/archive/v0.9.51.tar.gz | tar zxvf - --strip-components 1 npm install node bin/build.js dist
Platform: Max OS Node version v20.13.1 NPM version 10.5.2 @jhuckaby Can you help with this?