Created
May 28, 2025 06:33
-
-
Save bikash119/bf77aeef9d886d3fcf68796a8ae9a0a1 to your computer and use it in GitHub Desktop.
Error thrown while trying to create a npm project
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Tried creating new npm project using cloudflare@latest | |
`npm create cloudflare@latest new-prj -- --framework=react-router` | |
--- 2025-05-28T06:01:29.031Z debug | |
πͺ΅ Writing logs to "/Users/boredmgr/Library/Preferences/.wrangler/logs/wrangler-2025-05-28_06-01-28_851.log" | |
--- | |
--- 2025-05-28T06:01:29.031Z debug | |
Metrics dispatcher: Posting data {"deviceId":"a5847bd1-ae19-4037-847d-da6b141f9944","event":"wrangler command started","timestamp":1748412089031,"properties":{"amplitude_session_id":1748412089025,"amplitude_event_id":0,"wranglerVersion":"4.17.0","osPlatform":"Mac OS","osVersion":"Darwin Kernel Version 21.6.0: Mon Jun 24 00:56:10 PDT 2024; root:xnu-8020.240.18.709.2~1/RELEASE_X86_64","nodeVersion":22,"packageManager":"npm","isFirstUsage":false,"configFileType":"jsonc","isCI":false,"isPagesCI":false,"isWorkersCI":false,"isInteractive":true,"hasAssets":false,"argsUsed":[],"argsCombination":"","command":"wrangler types","args":{"xJsonConfig":true,"j":true,"envInterface":"<REDACTED>","includeRuntime":true,"includeEnv":true,"strictVars":true,"path":"worker-configuration.d.ts"}}} | |
--- | |
--- 2025-05-28T06:01:29.041Z debug | |
.env file not found at ".env". Continuing... For more details, refer to https://developers.cloudflare.com/workers/wrangler/system-environment-variables/ | |
--- | |
--- 2025-05-28T06:01:29.103Z log | |
β οΈ wrangler 4.17.0 | |
[38;2;255;136;0mβββββββββββββββββββ[39m | |
--- | |
--- 2025-05-28T06:01:29.132Z log | |
Generating project types... | |
--- | |
--- 2025-05-28T06:01:29.134Z debug | |
.env file not found at ".dev.vars". Continuing... For more details, refer to https://developers.cloudflare.com/workers/wrangler/system-environment-variables/ | |
--- | |
--- 2025-05-28T06:01:29.135Z log | |
[2mdeclare namespace Cloudflare {[22m | |
[2m interface Env {[22m | |
[2m VALUE_FROM_CLOUDFLARE: "Hello from Cloudflare";[22m | |
[2m }[22m | |
[2m}[22m | |
[2minterface Env extends Cloudflare.Env {}[22m | |
[2m[22m | |
--- | |
--- 2025-05-28T06:01:29.135Z log | |
Generating runtime types... | |
--- | |
--- 2025-05-28T06:01:30.503Z log | |
--- | |
--- 2025-05-28T06:01:30.565Z error | |
[31mβ [41;31m[[41;97mERROR[41;31m][0m [1mwrite EPIPE[0m | |
--- | |
--- 2025-05-28T06:01:30.565Z debug | |
Error: write EPIPE | |
at WriteWrap.onWriteComplete [as oncomplete] (node:internal/stream_base_commons:87:19) | |
at WriteWrap.callbackTrampoline (node:internal/async_hooks:130:17) | |
--- | |
--- 2025-05-28T06:01:30.566Z log | |
[32mIf you think this is a bug then please create an issue at https://github.com/cloudflare/workers-sdk/issues/new/choose[0m | |
--- | |
--- 2025-05-28T06:01:36.702Z debug | |
Sentry: Capturing exception Error: write EPIPE | |
--- | |
--- 2025-05-28T06:01:36.708Z debug | |
Metrics dispatcher: Posting data {"deviceId":"a5847bd1-ae19-4037-847d-da6b141f9944","event":"wrangler command errored","timestamp":1748412096708,"properties":{"amplitude_session_id":1748412089025,"amplitude_event_id":1,"wranglerVersion":"4.17.0","osPlatform":"Mac OS","osVersion":"Darwin Kernel Version 21.6.0: Mon Jun 24 00:56:10 PDT 2024; root:xnu-8020.240.18.709.2~1/RELEASE_X86_64","nodeVersion":22,"packageManager":"npm","isFirstUsage":false,"configFileType":"jsonc","isCI":false,"isPagesCI":false,"isWorkersCI":false,"isInteractive":true,"hasAssets":false,"argsUsed":[],"argsCombination":"","command":"wrangler types","args":{"xJsonConfig":true,"j":true,"envInterface":"<REDACTED>","includeRuntime":true,"includeEnv":true,"strictVars":true,"path":"worker-configuration.d.ts"},"durationMs":7705,"durationSeconds":7.705,"durationMinutes":0.12841666666666668,"errorType":"Error"}} | |
--- |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment