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

Bug: incompatibilities with CloudFlare workers #424

Open
nirga opened this issue Aug 23, 2024 · 0 comments
Open

Bug: incompatibilities with CloudFlare workers #424

nirga opened this issue Aug 23, 2024 · 0 comments

Comments

@nirga
Copy link
Member

nirga commented Aug 23, 2024

✘ [ERROR] Could not resolve "os"

../node_modules/@traceloop/node-server-sdk/dist/index.js:9:17:
  9 │ var os = require('os');
    ╵                  ~~~~

The package "os" wasn't found on the file system but is built into node. Are you trying to bundle
for node? You can use "platform: 'node'" to do that, which will remove this error.

✘ [ERROR] Could not resolve "fs"

../node_modules/@traceloop/node-server-sdk/dist/index.js:10:17:
  10 │ var fs = require('fs');
     ╵                  ~~~~

The package "fs" wasn't found on the file system but is built into node. Are you trying to bundle
for node? You can use "platform: 'node'" to do that, which will remove this error.

✘ [ERROR] Could not resolve "fs"

../node_modules/@opentelemetry/otlp-grpc-exporter-base/build/src/util.js:24:19:
  24 │ const fs = require("fs");
     ╵                    ~~~~

The package "fs" wasn't found on the file system but is built into node. Are you trying to bundle
for node? You can use "platform: 'node'" to do that, which will remove this error.

✘ [ERROR] Could not resolve "net"

../node_modules/@grpc/grpc-js/build/src/resolver-ip.js:19:22:
  19 │ const net_1 = require("net");
     ╵                       ~~~~~

The package "net" wasn't found on the file system but is built into node. Are you trying to bundle
for node? You can use "platform: 'node'" to do that, which will remove this error.

✘ [ERROR] Could not resolve "http2"

../node_modules/@grpc/grpc-js/build/src/server.js:54:22:
  54 │ const http2 = require("http2");
     ╵                       ~~~~~~~
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant