redwoodjs / redwood

The App Framework for Startups
https://redwoodjs.com
MIT License
17.33k stars 994 forks source link

[Bug]: Running `yarn create redwood-app test-project -y` displays a Telemetry error in the output #11532

Open ahaywood opened 2 months ago

ahaywood commented 2 months ago

What's not working?

Getting a Telemetry error when creating a new project:

Telemetry error
TT [OTLPExporterError]
    at IncomingMessage.<anonymous> (file:///Users/amydutton/.yarn/berry/cache/create-redwood-app-npm-8.1.0-549a525fa1-8.zip/node_modules/create-redwood-app/dist/create-redwood-app.js:147:72228)
    at IncomingMessage.emit (node:events:523:35)
    at endReadableNT (node:internal/streams/readable:1367:12)
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
  data: 'error code: 526',
  code: 526
}

The project still gets installed correctly.

How do we reproduce the bug?

Within the Terminal, I tried started a new project by running yarn create redwood-app test-project -y.

I got a Telemetry error within the output: CleanShot 2024-09-11 at 15 54 51

What's your environment? (If it applies)

System:
    OS: macOS 14.4.1
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 20.3.0 - /private/var/folders/f4/q5j7cnt15hvftx0cp3w8h8nr0000gn/T/xfs-cc1cbbb6/node
    Yarn: 4.4.0 - /private/var/folders/f4/q5j7cnt15hvftx0cp3w8h8nr0000gn/T/xfs-cc1cbbb6/yarn
  Databases:
    SQLite: 3.43.2 - /usr/bin/sqlite3
  Browsers:
    Chrome: 128.0.6613.137
    Edge: 128.0.2739.67
    Safari: 17.4.1
  npmPackages:
    @redwoodjs/core: 8.1.0 => 8.1.0
    @redwoodjs/project-config: 8.1.0 => 8.1.0
  redwood.toml:
    [web]
      title = "Redwood App"
      port = 8910
      apiUrl = "/.redwood/functions" # You can customize graphql and dbauth urls individually too: see https://redwoodjs.com/docs/app-configuration-redwood-toml#api-paths
      includeEnvironmentVariables = [
        # Add any ENV vars that should be available to the web side to this array
        # See https://redwoodjs.com/docs/environment-variables#web
      ]
    [api]
      port = 8911
    [browser]
      open = true
    [notifications]
      versionUpdates = ["latest"]

Are you interested in working on this?

ahaywood commented 2 months ago

I already talked to @Josh-Walker-GM about this issue. He's getting ready to revisit telemetry and will look at this bug at the same time.

ahaywood commented 2 months ago

Looks like this is getting displayed regardless of whether you use -y or not

wesbos commented 2 months ago

Also getting this - thought I did ignore the Node 21.0.0 being too high error