Skip to content

bug: When deploying cloudflare workers meth1 #112

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
6 of 7 tasks
Ryann-Devv opened this issue Mar 9, 2025 · 0 comments
Open
6 of 7 tasks

bug: When deploying cloudflare workers meth1 #112

Ryann-Devv opened this issue Mar 9, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@Ryann-Devv
Copy link

Deployment Method

Cloudflare Workers

Addon Version

V1.13.8

Bug Area

Deploying

Device/Browser/OS/Stremio Version

Browser when deploying

Bug Description / Steps to Reproduce

I just forked the repo following instructions in cloudflare workers method 1 and am met with this wrangler error

Expected Behavior

Log :
2025-03-09T10:45:25.918Z Initializing build environment...
2025-03-09T10:45:35.371Z Success: Finished initializing build environment
2025-03-09T10:45:35.473Z Cloning repository...
2025-03-09T10:45:36.714Z Detected the following tools from environment: npm@10.8.3, nodejs@22.9.0
2025-03-09T10:45:36.715Z Installing project dependencies: npm clean-install --progress=false
2025-03-09T10:45:40.409Z npm warn deprecated sourcemap-codec@1.4.8: Please use @jridgewell/sourcemap-codec instead
2025-03-09T10:45:40.452Z npm warn deprecated rollup-plugin-inject@3.0.2: This package has been deprecated and is no longer maintained. Please use @rollup/plugin-inject.
2025-03-09T10:45:40.497Z npm warn deprecated rimraf@2.7.1: Rimraf versions prior to v4 are no longer supported
2025-03-09T10:45:41.292Z npm warn deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
2025-03-09T10:45:41.609Z npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported
2025-03-09T10:46:09.241Z
2025-03-09T10:46:09.241Z added 580 packages, and audited 590 packages in 32s
2025-03-09T10:46:09.242Z
2025-03-09T10:46:09.243Z 149 packages are looking for funding
2025-03-09T10:46:09.244Z run npm fund for details
2025-03-09T10:46:09.285Z
2025-03-09T10:46:09.285Z 7 vulnerabilities (4 moderate, 3 critical)
2025-03-09T10:46:09.285Z
2025-03-09T10:46:09.285Z To address issues that do not require attention, run:
2025-03-09T10:46:09.286Z npm audit fix
2025-03-09T10:46:09.286Z
2025-03-09T10:46:09.287Z To address all issues possible, run:
2025-03-09T10:46:09.287Z npm audit fix --force
2025-03-09T10:46:09.288Z
2025-03-09T10:46:09.288Z Some issues need review, and may require choosing
2025-03-09T10:46:09.288Z a different dependency.
2025-03-09T10:46:09.288Z
2025-03-09T10:46:09.289Z Run npm audit for details.
2025-03-09T10:46:09.339Z Executing user build command: npm install | npm run build
2025-03-09T10:46:09.625Z
2025-03-09T10:46:09.625Z > aiostreams@1.14.1 build
2025-03-09T10:46:09.625Z > npm -w packages/types run build && npm -w packages/utils run build && npm -w packages/parser run build && npm -w packages/formatters run build && npm -w packages/wrappers run build && npm -w packages/addon run build && npm -w packages/frontend run build
2025-03-09T10:46:09.625Z
2025-03-09T10:46:09.889Z
2025-03-09T10:46:09.889Z > @aiostreams/types@1.14.1 build
2025-03-09T10:46:09.889Z > tsc
2025-03-09T10:46:09.889Z
2025-03-09T10:46:12.720Z
2025-03-09T10:46:12.720Z > @aiostreams/utils@1.14.1 build
2025-03-09T10:46:12.720Z > tsc
2025-03-09T10:46:12.720Z
2025-03-09T10:46:15.275Z
2025-03-09T10:46:15.275Z > @aiostreams/parser@1.14.1 build
2025-03-09T10:46:15.275Z > tsc
2025-03-09T10:46:15.275Z
2025-03-09T10:46:17.390Z
2025-03-09T10:46:17.392Z > @aiostreams/formatters@1.14.1 build
2025-03-09T10:46:17.392Z > tsc
2025-03-09T10:46:17.398Z
2025-03-09T10:46:19.444Z
2025-03-09T10:46:19.445Z > @aiostreams/wrappers@1.14.1 build
2025-03-09T10:46:19.445Z > tsc
2025-03-09T10:46:19.445Z
2025-03-09T10:46:21.896Z src/base.ts(9,50): error TS1005: 'from' expected.
2025-03-09T10:46:21.897Z src/base.ts(9,59): error TS1005: ';' expected.
2025-03-09T10:46:21.897Z src/base.ts(9,63): error TS1005: ';' expected.
2025-03-09T10:46:21.897Z src/base.ts(9,74): error TS1146: Declaration expected.
2025-03-09T10:46:21.925Z npm error Lifecycle script build failed with error:
2025-03-09T10:46:21.926Z npm error code 2
2025-03-09T10:46:21.926Z npm error path /opt/buildhome/repo/packages/wrappers
2025-03-09T10:46:21.926Z npm error workspace @aiostreams/wrappers@1.14.1
2025-03-09T10:46:21.926Z npm error location /opt/buildhome/repo/packages/wrappers
2025-03-09T10:46:21.926Z npm error command failed
2025-03-09T10:46:21.927Z npm error command sh -c tsc
2025-03-09T10:46:21.949Z Failed: error occurred while running build command

Screenshots

No response

Debugging Checklist

  • If applicable, I have included server logs
  • If applicable, I have included MediaFlow logs

Issue Checklist

  • I have written a short but informative title that clearly describes the issue.
  • I have given clear and descriptive steps to reproduce the issue.
  • I have checked open and closed issues and confirmed that this is not a duplicate of another issue.
  • I have filled out all of the requested information adequately.
  • I am using the latest version.
@Ryann-Devv Ryann-Devv added the bug Something isn't working label Mar 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant