Nathan Sandy
Nathan Sandy
CDCloudflare Developers
Created by Nathan Sandy on 11/2/2024 in #workers-help
I cannot get my worker working
I got it to work, THANKYOU SO MUCH
39 replies
CDCloudflare Developers
Created by Nathan Sandy on 11/2/2024 in #workers-help
I cannot get my worker working
what is the preview id?
39 replies
CDCloudflare Developers
Created by Nathan Sandy on 11/2/2024 in #workers-help
I cannot get my worker working
its working now, but I am getting OIDC ERROR: Failed to exchange code for token. Make sure the client secret is correct. undefined from cloudflare
39 replies
CDCloudflare Developers
Created by Nathan Sandy on 11/2/2024 in #workers-help
I cannot get my worker working
thankyou I did that and the worker is working, but when i try to login all i get is Bad request.
39 replies
CDCloudflare Developers
Created by Nathan Sandy on 11/2/2024 in #workers-help
I cannot get my worker working
Thankyou so much for helping!
39 replies
CDCloudflare Developers
Created by Nathan Sandy on 11/2/2024 in #workers-help
I cannot get my worker working
I ran it in a normal terminal window and this was the result npm error code ENOENT npm error syscall open npm error path C:\Users\Nathan\package.json npm error errno -4058 npm error enoent Could not read package.json: Error: ENOENT: no such file or directory, open 'C:\Users\Nathan\package.json' npm error enoent This is related to npm not being able to find a file. npm error enoent
39 replies
CDCloudflare Developers
Created by Nathan Sandy on 11/2/2024 in #workers-help
I cannot get my worker working
npm error code ENOENT npm error syscall open npm error path C:\Windows\system32\package.json npm error errno -4058 npm error enoent Could not read package.json: Error: ENOENT: no such file or directory, open 'C:\Windows\system32\package.json' npm error enoent This is related to npm not being able to find a file. npm error enoent
39 replies
CDCloudflare Developers
Created by Nathan Sandy on 11/2/2024 in #workers-help
I cannot get my worker working
X [ERROR] Build failed with 2 errors: X [ERROR] Could not resolve "hono" ../discord-oidc-worker-main/discord-oidc-worker-main/worker.js:2:21: 2 │ import { Hono } from 'hono' ╵ ~~ You can mark the path "hono" as external to exclude it from the bundle, which will remove this error. X [ERROR] Could not resolve "jose" ../discord-oidc-worker-main/discord-oidc-worker-main/worker.js:3:22: 3 │ import * as jose from 'jose' ╵ ~~ You can mark the path "jose" as external to exclude it from the bundle, which will remove this error.
39 replies
CDCloudflare Developers
Created by Nathan Sandy on 11/2/2024 in #workers-help
I cannot get my worker working
'git' is not recognized as an internal or external command, operable program or batch file.
39 replies
CDCloudflare Developers
Created by Nathan Sandy on 11/2/2024 in #workers-help
I cannot get my worker working
Should I be using Linux?
39 replies
CDCloudflare Developers
Created by Nathan Sandy on 11/2/2024 in #workers-help
I cannot get my worker working
when i was doing them on my computer it was just giving me error messages in the terminal for most of the commands
39 replies
CDCloudflare Developers
Created by Nathan Sandy on 11/2/2024 in #workers-help
I cannot get my worker working
No description
39 replies
CDCloudflare Developers
Created by Nathan Sandy on 11/2/2024 in #workers-help
I cannot get my worker working
No description
39 replies
CDCloudflare Developers
Created by Nathan Sandy on 11/2/2024 in #workers-help
I cannot get my worker working
I uploaded it to the github repository I have cloudflare using but it does not show it in github on the web
39 replies
CDCloudflare Developers
Created by Nathan Sandy on 11/2/2024 in #workers-help
I cannot get my worker working
✘ [ERROR] Could not resolve "./config.json" 18:24:51.619
18:24:51.620 worker.js:1:24: 18:24:51.620 1 │ import * as config from './config.json' 18:24:51.620 ╵ ~~~ 18:24:51.620
18:24:51.620
18:24:51.621 ✘ [ERROR] Build failed with 1 error: 18:24:51.621
18:24:51.622 worker.js:1:24: ERROR: Could not resolve "./config.json" 18:24:51.622
18:24:51.622
18:24:51.651 Failed: Error while executing user command. Exited with error code: 1 18:24:51.662 Failed: build command exited with code: 1 18:24:52.556 Failed: error occurred while running build command
39 replies
CDCloudflare Developers
Created by Nathan Sandy on 11/2/2024 in #workers-help
I cannot get my worker working
now I am getting
39 replies
CDCloudflare Developers
Created by Nathan Sandy on 11/2/2024 in #workers-help
I cannot get my worker working
ok
39 replies
CDCloudflare Developers
Created by Nathan Sandy on 11/2/2024 in #workers-help
I cannot get my worker working
✘ [ERROR] Build failed with 1 error: 18:17:28.623
18:17:28.623 worker.js:1:24: ERROR: Could not resolve "./config.json" 18:17:28.623
18:17:28.623
18:17:28.647 node:events:652 18:17:28.648 return this.listener.apply(this.target, arguments); 18:17:28.648 ^ 18:17:28.648
18:17:28.649 q [Error]: Error while executing user command. Exited with error code: 1 18:17:28.649 at ChildProcess.<anonymous> (/snapshot/dist/run-build.js) 18:17:28.649 at Object.onceWrapper (node:events:652:26) 18:17:28.649 at ChildProcess.emit (node:events:537:28) 18:17:28.649 at ChildProcess._handle.onexit (node:internal/child_process:291:12) 18:17:28.649
18:17:28.649 Node.js v18.5.0 18:17:28.659 Failed: build command exited with code: 1 18:17:29.503 Failed: error occurred while running build command
39 replies
CDCloudflare Developers
Created by Nathan Sandy on 11/2/2024 in #workers-help
I cannot get my worker working
@Erisa Whenever I try to upload it to cloudflare it does not save, any idea why?
39 replies
CDCloudflare Developers
Created by Nathan Sandy on 11/2/2024 in #workers-help
I cannot get my worker working
is it possable
39 replies