Skip to content
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

Does not build on Cloudflare pages. #1048

Open
jonasfroeller opened this issue Dec 14, 2024 · 0 comments
Open

Does not build on Cloudflare pages. #1048

jonasfroeller opened this issue Dec 14, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@jonasfroeller
Copy link

jonasfroeller commented Dec 14, 2024

Describe the bug

Expected behavior

Current behavior

2024-12-14T23:22:54.502413Z	Cloning repository...
2024-12-14T23:22:55.203133Z	From https://github.com/xxx/xxx
2024-12-14T23:22:55.203563Z	 * branch            accb356ae07345fc81bf345ba922585ecfe57fa6 -> FETCH_HEAD
2024-12-14T23:22:55.203668Z	
2024-12-14T23:22:55.24815Z	HEAD is now at accb356 updates docusaurus and improves ux
2024-12-14T23:22:55.248619Z	
2024-12-14T23:22:55.324865Z	
2024-12-14T23:22:55.325312Z	Using v2 root directory strategy
2024-12-14T23:22:55.344778Z	Success: Finished cloning repository files
2024-12-14T23:22:56.727922Z	Checking for configuration in a Wrangler configuration file (BETA)
2024-12-14T23:22:56.728612Z	
2024-12-14T23:22:56.824559Z	No wrangler.toml file found. Continuing.
2024-12-14T23:22:56.977933Z	Detected the following tools from environment: [email protected], [email protected]
2024-12-14T23:22:56.97841Z	Installing project dependencies: npm clean-install --progress=false
2024-12-14T23:23:05.853894Z	npm WARN deprecated [email protected]: Legacy versions of mkdirp are no longer supported. Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
2024-12-14T23:23:06.316791Z	npm WARN deprecated [email protected]: This package is no longer supported.
2024-12-14T23:23:18.08146Z	npm WARN deprecated @faker-js/[email protected]: Please update to a newer version.
2024-12-14T23:23:22.312293Z	npm ERR! code 1
2024-12-14T23:23:22.318187Z	npm ERR! path /opt/buildhome/repo/node_modules/postman-code-generators
2024-12-14T23:23:22.324531Z	npm ERR! command failed
2024-12-14T23:23:22.329766Z	npm ERR! command sh -c node npm/deepinstall.js
2024-12-14T23:23:22.334694Z	npm ERR! Detected package manager: yarn
2024-12-14T23:23:22.33975Z	npm ERR! Detected yarn version: 3.6.3
2024-12-14T23:23:22.340027Z	npm ERR! Running pre-package script
2024-12-14T23:23:22.341741Z	npm ERR! Run successful languages.js saved in lib/assets
2024-12-14T23:23:22.34672Z	npm ERR! csharp-httpclient: touch yarn.lock && yarn workspaces focus --all --production
2024-12-14T23:23:22.351786Z	npm ERR! csharp-restsharp: touch yarn.lock && yarn workspaces focus --all --production
2024-12-14T23:23:22.35678Z	npm ERR! Failed to run yarn install on codegen csharp-httpclient, here is the error:
2024-12-14T23:23:22.361488Z	npm ERR! Failed to run yarn install on codegen csharp-restsharp, here is the error:
2024-12-14T23:23:22.366531Z	npm ERR! /opt/buildhome/repo/node_modules/postman-code-generators/node_modules/async/dist/async.js:324
2024-12-14T23:23:22.371435Z	npm ERR!             if (fn === null) throw new Error("Callback was already called.");
2024-12-14T23:23:22.376471Z	npm ERR!                                    ^
2024-12-14T23:23:22.380272Z	npm ERR! 
2024-12-14T23:23:22.385197Z	npm ERR! Error: Callback was already called.
2024-12-14T23:23:22.390636Z	npm ERR!     at /opt/buildhome/repo/node_modules/postman-code-generators/node_modules/async/dist/async.js:324:36
2024-12-14T23:23:22.395517Z	npm ERR!     at /opt/buildhome/repo/node_modules/postman-code-generators/node_modules/async/dist/async.js:3646:17
2024-12-14T23:23:22.400501Z	npm ERR!     at /opt/buildhome/repo/node_modules/postman-code-generators/npm/deepinstall.js:82:16
2024-12-14T23:23:22.40552Z	npm ERR!     at Array.forEach (<anonymous>)
2024-12-14T23:23:22.410123Z	npm ERR!     at /opt/buildhome/repo/node_modules/postman-code-generators/npm/deepinstall.js:71:14
2024-12-14T23:23:22.418789Z	npm ERR!     at /opt/buildhome/repo/node_modules/postman-code-generators/node_modules/async/dist/async.js:3641:28
2024-12-14T23:23:22.419465Z	npm ERR!     at replenish (/opt/buildhome/repo/node_modules/postman-code-generators/node_modules/async/dist/async.js:446:21)
2024-12-14T23:23:22.421185Z	npm ERR!     at iterateeCallback (/opt/buildhome/repo/node_modules/postman-code-generators/node_modules/async/dist/async.js:430:21)
2024-12-14T23:23:22.421614Z	npm ERR!     at /opt/buildhome/repo/node_modules/postman-code-generators/node_modules/async/dist/async.js:327:20
2024-12-14T23:23:22.422932Z	npm ERR!     at /opt/buildhome/repo/node_modules/postman-code-generators/node_modules/async/dist/async.js:3646:17
2024-12-14T23:23:22.423398Z	npm ERR! 
2024-12-14T23:23:22.423543Z	npm ERR! Node.js v18.17.1
2024-12-14T23:23:22.426152Z	
2024-12-14T23:23:22.431445Z	npm ERR! A complete log of this run can be found in: /opt/buildhome/.npm/_logs/2024-12-14T23_22_57_637Z-debug-0.log
2024-12-14T23:23:22.433774Z	Error: Exit with error code: 1
2024-12-14T23:23:22.438801Z	    at ChildProcess.<anonymous> (/snapshot/dist/run-build.js)
2024-12-14T23:23:22.443925Z	    at Object.onceWrapper (node:events:652:26)
2024-12-14T23:23:22.449575Z	    at ChildProcess.emit (node:events:537:28)
2024-12-14T23:23:22.454492Z	    at ChildProcess._handle.onexit (node:internal/child_process:291:12)
2024-12-14T23:23:22.45968Z	Failed: build command exited with code: 1
2024-12-14T23:23:23.255711Z	Failed: error occurred while running build command

Possible solution

Steps to reproduce

  1. Deploy to cloudflare pages.

Screenshots

Context

Your Environment

  • Version used: 4.3.0
  • Environment name and version (e.g. Chrome 59, node.js 5.4, python 3.7.3): [email protected], [email protected]
  • Operating System and version (desktop or mobile): some linux
  • Link to your project: /
@jonasfroeller jonasfroeller added the bug Something isn't working label Dec 14, 2024
jonasfroeller added a commit to neptun-software/neptun.tools.docs that referenced this issue Dec 14, 2024
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