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

Compile errors in nativescript/angular mobile app #133

Open
eighteight opened this issue Oct 24, 2022 · 1 comment
Open

Compile errors in nativescript/angular mobile app #133

eighteight opened this issue Oct 24, 2022 · 1 comment

Comments

@eighteight
Copy link

eighteight commented Oct 24, 2022

I am copying a working opentelemetry-angular-interceptor setup from a web angular application into a otherwise working nativescript/angular mobile app with the following prerequisites in both cases:

node v18.9.0
angular 14.0.0
typescript 4.7.3

and am getting the following build errors:

ns prepare ios
Preparing project...
assets by path assets/ 1.82 MiB
  assets by path assets/img/ 1.82 MiB 15 assets
  assets by path assets/scss/ 7.46 KiB
    asset assets/scss/components/dialog.scss 2.37 KiB [compared for emit] [from: src/assets/scss/components/dialog.scss] [copied]
    asset assets/scss/components/form-field.scss 2.29 KiB [compared for emit] [from: src/assets/scss/components/form-field.scss] [copied]
    + 4 assets
assets by path *.js 25.2 MiB
  asset vendor.js 24.3 MiB [emitted] (name: vendor) (id hint: defaultVendor)
  asset bundle.js 890 KiB [compared for emit] (name: bundle)
  asset runtime.js 13.7 KiB [compared for emit] (name: runtime)
assets by path fonts/*.ttf 80.3 KiB
  asset fonts/ALSStory-Bold.ttf 40.7 KiB [compared for emit] [from: src/fonts/ALSStory-Bold.ttf] [copied]
  asset fonts/ALS Story.ttf 39.6 KiB [compared for emit] [from: src/fonts/ALS Story.ttf] [copied]
asset tns_modules/inspector_modules.js 1.23 KiB [compared for emit] (name: tns_modules/inspector_modules)
asset index.html 374 bytes [compared for emit]
Entrypoint bundle 25.2 MiB = runtime.js 13.7 KiB vendor.js 24.3 MiB bundle.js 890 KiB
Entrypoint tns_modules/inspector_modules 24.3 MiB = runtime.js 13.7 KiB vendor.js 24.3 MiB tns_modules/inspector_modules.js 1.23 KiB
orphan modules 130 KiB [orphan] 76 modules
runtime modules 2.84 KiB 9 modules
modules by path ./node_modules/ 8.24 MiB
  javascript modules 7.96 MiB
    cacheable modules 7.96 MiB 1175 modules
    + 2 modules
  json modules 285 KiB 9 modules
modules by path ./src/ 248 KiB
  modules by path ./src/app/ 227 KiB 28 modules
  modules by path ./src/*.ts 1.79 KiB
    ./src/polyfills.ts 545 bytes [built] [code generated]
    ./src/main.ts 1.25 KiB [built] [code generated]
  ./src/app.ios.scss 19.8 KiB [built] [code generated]
external "~/package.json" 42 bytes [optional] [built] [code generated]

WARNING in ./node_modules/@opentelemetry/instrumentation/build/esm/platform/node/instrumentation.js 76:37-58
Critical dependency: the request of a dependency is an expression
 @ ./node_modules/@opentelemetry/instrumentation/build/esm/platform/node/index.js 16:0-34 16:0-34
 @ ./node_modules/@opentelemetry/instrumentation/build/esm/platform/index.js 16:0-23 16:0-23
 @ ./node_modules/@opentelemetry/instrumentation/build/esm/index.js 17:0-33 17:0-33
 @ ./node_modules/@jufab/opentelemetry-angular-interceptor/fesm2015/jufab-opentelemetry-angular-interceptor.js 18:0-74 904:8-32
 @ ./src/app/app.module.ts 14:0-139 39:4-24 40:4-29 43:17-55
 @ ./src/main.ts 5:0-45 11:46-55

WARNING in ./node_modules/@opentelemetry/instrumentation/build/esm/platform/node/instrumentation.js 90:26-69
Critical dependency: the request of a dependency is an expression
 @ ./node_modules/@opentelemetry/instrumentation/build/esm/platform/node/index.js 16:0-34 16:0-34
 @ ./node_modules/@opentelemetry/instrumentation/build/esm/platform/index.js 16:0-23 16:0-23
 @ ./node_modules/@opentelemetry/instrumentation/build/esm/index.js 17:0-33 17:0-33
 @ ./node_modules/@jufab/opentelemetry-angular-interceptor/fesm2015/jufab-opentelemetry-angular-interceptor.js 18:0-74 904:8-32
 @ ./src/app/app.module.ts 14:0-139 39:4-24 40:4-29 43:17-55
 @ ./src/main.ts 5:0-45 11:46-55

WARNING in ./node_modules/@opentelemetry/otlp-exporter-base/build/esm/platform/node/util.js 47:24-31
export 'URL' (imported as 'url') was not found in 'url' (possible exports: Url, format, parse, resolve, resolveObject)
 @ ./node_modules/@opentelemetry/otlp-exporter-base/build/esm/platform/node/index.js 17:0-23 17:0-23
 @ ./node_modules/@opentelemetry/otlp-exporter-base/build/esm/platform/index.js 16:0-23 16:0-23
 @ ./node_modules/@opentelemetry/otlp-exporter-base/build/esm/index.js 17:0-27 17:0-27
 @ ./node_modules/@opentelemetry/exporter-trace-otlp-http/build/src/platform/browser/OTLPTraceExporter.js 20:29-73
 @ ./node_modules/@jufab/opentelemetry-angular-interceptor/fesm2015/jufab-opentelemetry-angular-interceptor.js 11:0-121 366:19-36
 @ ./src/app/app.module.ts 14:0-139 39:4-24 40:4-29 43:17-55
 @ ./src/main.ts 5:0-45 11:46-55

WARNING in ./node_modules/@opentelemetry/otlp-exporter-base/build/esm/platform/node/util.js 133:28-35
export 'URL' (imported as 'url') was not found in 'url' (possible exports: Url, format, parse, resolve, resolveObject)
 @ ./node_modules/@opentelemetry/otlp-exporter-base/build/esm/platform/node/index.js 17:0-23 17:0-23
 @ ./node_modules/@opentelemetry/otlp-exporter-base/build/esm/platform/index.js 16:0-23 16:0-23
 @ ./node_modules/@opentelemetry/otlp-exporter-base/build/esm/index.js 17:0-27 17:0-27
 @ ./node_modules/@opentelemetry/exporter-trace-otlp-http/build/src/platform/browser/OTLPTraceExporter.js 20:29-73
 @ ./node_modules/@jufab/opentelemetry-angular-interceptor/fesm2015/jufab-opentelemetry-angular-interceptor.js 11:0-121 366:19-36
 @ ./src/app/app.module.ts 14:0-139 39:4-24 40:4-29 43:17-55
 @ ./src/main.ts 5:0-45 11:46-55

WARNING in ./node_modules/lazy-debug-legacy/src/functions.js 62:15-40
Critical dependency: the request of a dependency is an expression
 @ ./node_modules/lazy-debug-legacy/src/index.js 2:23-62
 @ ./node_modules/debug-fabulous/src/lazy-debug.js 1:16-44
 @ ./node_modules/debug-fabulous/index.js 2:13-40
 @ ./node_modules/gulp-sourcemaps/src/write/index.js 15:14-39
 @ ./node_modules/gulp-sourcemaps/index.js 5:9-31
 @ ./node_modules/vinyl-fs/lib/src/index.js 8:17-43
 @ ./node_modules/vinyl-fs/index.js 4:7-27
 @ ./node_modules/module/dist/index.js 23:15-34
 @ ./node_modules/require-in-the-middle/index.js 4:15-32
 @ ./node_modules/@opentelemetry/instrumentation/build/esm/platform/node/instrumentation.js 43:0-60 178:31-49
 @ ./node_modules/@opentelemetry/instrumentation/build/esm/platform/node/index.js 16:0-34 16:0-34
 @ ./node_modules/@opentelemetry/instrumentation/build/esm/platform/index.js 16:0-23 16:0-23
 @ ./node_modules/@opentelemetry/instrumentation/build/esm/index.js 17:0-33 17:0-33
 @ ./node_modules/@jufab/opentelemetry-angular-interceptor/fesm2015/jufab-opentelemetry-angular-interceptor.js 18:0-74 904:8-32
 @ ./src/app/app.module.ts 14:0-139 39:4-24 40:4-29 43:17-55
 @ ./src/main.ts 5:0-45 11:46-55

WARNING in ./node_modules/lazy-debug-legacy/src/functions.js 87:8-28
Critical dependency: the request of a dependency is an expression
 @ ./node_modules/lazy-debug-legacy/src/index.js 2:23-62
 @ ./node_modules/debug-fabulous/src/lazy-debug.js 1:16-44
 @ ./node_modules/debug-fabulous/index.js 2:13-40
 @ ./node_modules/gulp-sourcemaps/src/write/index.js 15:14-39
 @ ./node_modules/gulp-sourcemaps/index.js 5:9-31
 @ ./node_modules/vinyl-fs/lib/src/index.js 8:17-43
 @ ./node_modules/vinyl-fs/index.js 4:7-27
 @ ./node_modules/module/dist/index.js 23:15-34
 @ ./node_modules/require-in-the-middle/index.js 4:15-32
 @ ./node_modules/@opentelemetry/instrumentation/build/esm/platform/node/instrumentation.js 43:0-60 178:31-49
 @ ./node_modules/@opentelemetry/instrumentation/build/esm/platform/node/index.js 16:0-34 16:0-34
 @ ./node_modules/@opentelemetry/instrumentation/build/esm/platform/index.js 16:0-23 16:0-23
 @ ./node_modules/@opentelemetry/instrumentation/build/esm/index.js 17:0-33 17:0-33
 @ ./node_modules/@jufab/opentelemetry-angular-interceptor/fesm2015/jufab-opentelemetry-angular-interceptor.js 18:0-74 904:8-32
 @ ./src/app/app.module.ts 14:0-139 39:4-24 40:4-29 43:17-55
 @ ./src/main.ts 5:0-45 11:46-55

WARNING in ./node_modules/readable-stream/lib/_stream_readable.js 40:13-35
Module not found: Error: Can't resolve 'stream' in '/Users/eigh_io/genotek/genotek-app/node_modules/readable-stream/lib'

BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default.
This is no longer the case. Verify if you need this module and configure a polyfill for it.

If you want to include a polyfill, you need to:
        - add a fallback 'resolve.fallback: { "stream": require.resolve("stream-browserify") }'
        - install 'stream-browserify'
If you don't want to include a polyfill, you can use an empty module like this:
        resolve.fallback: { "stream": false }
 @ ./node_modules/readable-stream/readable.js 6:10-63
 @ ./node_modules/concat-stream/index.js 1:15-50
 @ ./node_modules/module/dist/index.js 11:20-44
 @ ./node_modules/require-in-the-middle/index.js 4:15-32
 @ ./node_modules/@opentelemetry/instrumentation/build/esm/platform/node/instrumentation.js 43:0-60 178:31-49
 @ ./node_modules/@opentelemetry/instrumentation/build/esm/platform/node/index.js 16:0-34 16:0-34
 @ ./node_modules/@opentelemetry/instrumentation/build/esm/platform/index.js 16:0-23 16:0-23
 @ ./node_modules/@opentelemetry/instrumentation/build/esm/index.js 17:0-33 17:0-33
 @ ./node_modules/@jufab/opentelemetry-angular-interceptor/fesm2015/jufab-opentelemetry-angular-interceptor.js 18:0-74 904:8-32
 @ ./src/app/app.module.ts 14:0-139 39:4-24 40:4-29 43:17-55
 @ ./src/main.ts 5:0-45 11:46-55

WARNING in ./node_modules/readable-stream/lib/_stream_writable.js 45:13-35
Module not found: Error: Can't resolve 'stream' in '/Users/eigh_io/genotek/genotek-app/node_modules/readable-stream/lib'

BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default.
This is no longer the case. Verify if you need this module and configure a polyfill for it.

If you want to include a polyfill, you need to:
        - add a fallback 'resolve.fallback: { "stream": require.resolve("stream-browserify") }'
        - install 'stream-browserify'
If you don't want to include a polyfill, you can use an empty module like this:
        resolve.fallback: { "stream": false }
 @ ./node_modules/readable-stream/readable.js 9:0-55
 @ ./node_modules/concat-stream/index.js 1:15-50
 @ ./node_modules/module/dist/index.js 11:20-44
 @ ./node_modules/require-in-the-middle/index.js 4:15-32
 @ ./node_modules/@opentelemetry/instrumentation/build/esm/platform/node/instrumentation.js 43:0-60 178:31-49
 @ ./node_modules/@opentelemetry/instrumentation/build/esm/platform/node/index.js 16:0-34 16:0-34
 @ ./node_modules/@opentelemetry/instrumentation/build/esm/platform/index.js 16:0-23 16:0-23
 @ ./node_modules/@opentelemetry/instrumentation/build/esm/index.js 17:0-33 17:0-33
 @ ./node_modules/@jufab/opentelemetry-angular-interceptor/fesm2015/jufab-opentelemetry-angular-interceptor.js 18:0-74 904:8-32
 @ ./src/app/app.module.ts 14:0-139 39:4-24 40:4-29 43:17-55
 @ ./src/main.ts 5:0-45 11:46-55

WARNING in ./node_modules/readable-stream/readable.js 3:11-33
Module not found: Error: Can't resolve 'stream' in '/Users/eigh_io/genotek/genotek-app/node_modules/readable-stream'

BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default.
This is no longer the case. Verify if you need this module and configure a polyfill for it.

If you want to include a polyfill, you need to:
        - add a fallback 'resolve.fallback: { "stream": require.resolve("stream-browserify") }'
        - install 'stream-browserify'
If you don't want to include a polyfill, you can use an empty module like this:
        resolve.fallback: { "stream": false }
 @ ./node_modules/concat-stream/index.js 1:15-50
 @ ./node_modules/module/dist/index.js 11:20-44
 @ ./node_modules/require-in-the-middle/index.js 4:15-32
 @ ./node_modules/@opentelemetry/instrumentation/build/esm/platform/node/instrumentation.js 43:0-60 178:31-49
 @ ./node_modules/@opentelemetry/instrumentation/build/esm/platform/node/index.js 16:0-34 16:0-34
 @ ./node_modules/@opentelemetry/instrumentation/build/esm/platform/index.js 16:0-23 16:0-23
 @ ./node_modules/@opentelemetry/instrumentation/build/esm/index.js 17:0-33 17:0-33
 @ ./node_modules/@jufab/opentelemetry-angular-interceptor/fesm2015/jufab-opentelemetry-angular-interceptor.js 18:0-74 904:8-32
 @ ./src/app/app.module.ts 14:0-139 39:4-24 40:4-29 43:17-55
 @ ./src/main.ts 5:0-45 11:46-55

7 warnings have detailed information that is not shown.
Use 'stats.errorDetails: true' resp. '--stats-error-details' to show it.

ERROR in ./node_modules/@opentelemetry/core/build/esm/platform/node/environment.js 16:0-25
Module not found: Error: Can't resolve 'os' in '/Users/eigh_io/genotek/genotek-app/node_modules/@opentelemetry/core/build/esm/platform/node'

BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default.
This is no longer the case. Verify if you need this module and configure a polyfill for it.

If you want to include a polyfill, you need to:
        - add a fallback 'resolve.fallback: { "os": require.resolve("os-browserify/browser") }'
        - install 'os-browserify'
If you don't want to include a polyfill, you can use an empty module like this:
        resolve.fallback: { "os": false }
 @ ./node_modules/@opentelemetry/core/build/esm/platform/node/index.js 16:0-30 16:0-30
 @ ./node_modules/@opentelemetry/core/build/esm/platform/index.js 16:0-23 16:0-23
 @ ./node_modules/@opentelemetry/core/build/esm/index.js 27:0-27 27:0-27
 @ ./node_modules/@jufab/opentelemetry-angular-interceptor/fesm2015/jufab-opentelemetry-angular-interceptor.js 7:0-180 108:12-24 233:23-41 233:54-69 236:23-41 236:54-70 239:23-41 239:54-78 628:19-44 718:19-38 960:23-41 960:54-69 963:23-41 963:54-70 966:23-41 966:54-78
 @ ./src/app/app.module.ts 14:0-139 39:4-24 40:4-29 43:17-55
 @ ./src/main.ts 5:0-45 11:46-55

ERROR in ./node_modules/@opentelemetry/core/build/esm/platform/node/performance.js 16:0-41
Module not found: Error: Can't resolve 'perf_hooks' in '/Users/eigh_io/genotek/genotek-app/node_modules/@opentelemetry/core/build/esm/platform/node'
 @ ./node_modules/@opentelemetry/core/build/esm/platform/node/index.js 20:0-30 20:0-30
 @ ./node_modules/@opentelemetry/core/build/esm/platform/index.js 16:0-23 16:0-23
 @ ./node_modules/@opentelemetry/core/build/esm/index.js 27:0-27 27:0-27
 @ ./node_modules/@jufab/opentelemetry-angular-interceptor/fesm2015/jufab-opentelemetry-angular-interceptor.js 7:0-180 108:12-24 233:23-41 233:54-69 236:23-41 236:54-70 239:23-41 239:54-78 628:19-44 718:19-38 960:23-41 960:54-69 963:23-41 963:54-70 966:23-41 966:54-78
 @ ./src/app/app.module.ts 14:0-139 39:4-24 40:4-29 43:17-55
 @ ./src/main.ts 5:0-45 11:46-55

ERROR in ./node_modules/@opentelemetry/exporter-zipkin/build/esm/platform/node/util.js 29:0-29
Module not found: Error: Can't resolve 'http' in '/Users/eigh_io/genotek/genotek-app/node_modules/@opentelemetry/exporter-zipkin/build/esm/platform/node'

BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default.
This is no longer the case. Verify if you need this module and configure a polyfill for it.

If you want to include a polyfill, you need to:
        - add a fallback 'resolve.fallback: { "http": require.resolve("stream-http") }'
        - install 'stream-http'
If you don't want to include a polyfill, you can use an empty module like this:
        resolve.fallback: { "http": false }
 @ ./node_modules/@opentelemetry/exporter-zipkin/build/esm/platform/node/index.js 16:0-23 16:0-23
 @ ./node_modules/@opentelemetry/exporter-zipkin/build/esm/platform/index.js 16:0-23 16:0-23
 @ ./node_modules/@opentelemetry/exporter-zipkin/build/esm/index.js 16:0-27 16:0-27
 @ ./node_modules/@jufab/opentelemetry-angular-interceptor/fesm2015/jufab-opentelemetry-angular-interceptor.js 12:0-64 465:19-33
 @ ./src/app/app.module.ts 14:0-139 39:4-24 40:4-29 43:17-55
 @ ./src/main.ts 5:0-45 11:46-55

ERROR in ./node_modules/@opentelemetry/exporter-zipkin/build/esm/platform/node/util.js 30:0-31
Module not found: Error: Can't resolve 'https' in '/Users/eigh_io/genotek/genotek-app/node_modules/@opentelemetry/exporter-zipkin/build/esm/platform/node'

BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default.
This is no longer the case. Verify if you need this module and configure a polyfill for it.

If you want to include a polyfill, you need to:
        - add a fallback 'resolve.fallback: { "https": require.resolve("https-browserify") }'
        - install 'https-browserify'
If you don't want to include a polyfill, you can use an empty module like this:
        resolve.fallback: { "https": false }
 @ ./node_modules/@opentelemetry/exporter-zipkin/build/esm/platform/node/index.js 16:0-23 16:0-23
 @ ./node_modules/@opentelemetry/exporter-zipkin/build/esm/platform/index.js 16:0-23 16:0-23
 @ ./node_modules/@opentelemetry/exporter-zipkin/build/esm/index.js 16:0-27 16:0-27
 @ ./node_modules/@jufab/opentelemetry-angular-interceptor/fesm2015/jufab-opentelemetry-angular-interceptor.js 12:0-64 465:19-33
 @ ./src/app/app.module.ts 14:0-139 39:4-24 40:4-29 43:17-55
 @ ./src/main.ts 5:0-45 11:46-55

ERROR in ./node_modules/@opentelemetry/otlp-exporter-base/build/esm/platform/node/util.js 28:0-29
Module not found: Error: Can't resolve 'http' in '/Users/eigh_io/genotek/genotek-app/node_modules/@opentelemetry/otlp-exporter-base/build/esm/platform/node'

BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default.
This is no longer the case. Verify if you need this module and configure a polyfill for it.

If you want to include a polyfill, you need to:
        - add a fallback 'resolve.fallback: { "http": require.resolve("stream-http") }'
        - install 'stream-http'
If you don't want to include a polyfill, you can use an empty module like this:
        resolve.fallback: { "http": false }
 @ ./node_modules/@opentelemetry/otlp-exporter-base/build/esm/platform/node/index.js 17:0-23 17:0-23
 @ ./node_modules/@opentelemetry/otlp-exporter-base/build/esm/platform/index.js 16:0-23 16:0-23
 @ ./node_modules/@opentelemetry/otlp-exporter-base/build/esm/index.js 17:0-27 17:0-27
 @ ./node_modules/@opentelemetry/exporter-trace-otlp-http/build/src/platform/browser/OTLPTraceExporter.js 20:29-73
 @ ./node_modules/@jufab/opentelemetry-angular-interceptor/fesm2015/jufab-opentelemetry-angular-interceptor.js 11:0-121 366:19-36
 @ ./src/app/app.module.ts 14:0-139 39:4-24 40:4-29 43:17-55
 @ ./src/main.ts 5:0-45 11:46-55

ERROR in ./node_modules/@opentelemetry/otlp-exporter-base/build/esm/platform/node/util.js 29:0-31
Module not found: Error: Can't resolve 'https' in '/Users/eigh_io/genotek/genotek-app/node_modules/@opentelemetry/otlp-exporter-base/build/esm/platform/node'

BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default.
This is no longer the case. Verify if you need this module and configure a polyfill for it.

If you want to include a polyfill, you need to:
        - add a fallback 'resolve.fallback: { "https": require.resolve("https-browserify") }'
        - install 'https-browserify'
If you don't want to include a polyfill, you can use an empty module like this:
        resolve.fallback: { "https": false }
 @ ./node_modules/@opentelemetry/otlp-exporter-base/build/esm/platform/node/index.js 17:0-23 17:0-23
 @ ./node_modules/@opentelemetry/otlp-exporter-base/build/esm/platform/index.js 16:0-23 16:0-23
 @ ./node_modules/@opentelemetry/otlp-exporter-base/build/esm/index.js 17:0-27 17:0-27
 @ ./node_modules/@opentelemetry/exporter-trace-otlp-http/build/src/platform/browser/OTLPTraceExporter.js 20:29-73
 @ ./node_modules/@jufab/opentelemetry-angular-interceptor/fesm2015/jufab-opentelemetry-angular-interceptor.js 11:0-121 366:19-36
 @ ./src/app/app.module.ts 14:0-139 39:4-24 40:4-29 43:17-55
 @ ./src/main.ts 5:0-45 11:46-55

ERROR in ./node_modules/@opentelemetry/otlp-exporter-base/build/esm/platform/node/util.js 30:0-29
Module not found: Error: Can't resolve 'zlib' in '/Users/eigh_io/genotek/genotek-app/node_modules/@opentelemetry/otlp-exporter-base/build/esm/platform/node'

BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default.
This is no longer the case. Verify if you need this module and configure a polyfill for it.

If you want to include a polyfill, you need to:
        - add a fallback 'resolve.fallback: { "zlib": require.resolve("browserify-zlib") }'
        - install 'browserify-zlib'
If you don't want to include a polyfill, you can use an empty module like this:
        resolve.fallback: { "zlib": false }
 @ ./node_modules/@opentelemetry/otlp-exporter-base/build/esm/platform/node/index.js 17:0-23 17:0-23
 @ ./node_modules/@opentelemetry/otlp-exporter-base/build/esm/platform/index.js 16:0-23 16:0-23
 @ ./node_modules/@opentelemetry/otlp-exporter-base/build/esm/index.js 17:0-27 17:0-27
 @ ./node_modules/@opentelemetry/exporter-trace-otlp-http/build/src/platform/browser/OTLPTraceExporter.js 20:29-73
 @ ./node_modules/@jufab/opentelemetry-angular-interceptor/fesm2015/jufab-opentelemetry-angular-interceptor.js 11:0-121 366:19-36
 @ ./src/app/app.module.ts 14:0-139 39:4-24 40:4-29 43:17-55
 @ ./src/main.ts 5:0-45 11:46-55

ERROR in ./node_modules/@opentelemetry/otlp-exporter-base/build/esm/platform/node/util.js 31:0-34
Module not found: Error: Can't resolve 'stream' in '/Users/eigh_io/genotek/genotek-app/node_modules/@opentelemetry/otlp-exporter-base/build/esm/platform/node'

BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default.
This is no longer the case. Verify if you need this module and configure a polyfill for it.

If you want to include a polyfill, you need to:
        - add a fallback 'resolve.fallback: { "stream": require.resolve("stream-browserify") }'
        - install 'stream-browserify'
If you don't want to include a polyfill, you can use an empty module like this:
        resolve.fallback: { "stream": false }
 @ ./node_modules/@opentelemetry/otlp-exporter-base/build/esm/platform/node/index.js 17:0-23 17:0-23
 @ ./node_modules/@opentelemetry/otlp-exporter-base/build/esm/platform/index.js 16:0-23 16:0-23
 @ ./node_modules/@opentelemetry/otlp-exporter-base/build/esm/index.js 17:0-27 17:0-27
 @ ./node_modules/@opentelemetry/exporter-trace-otlp-http/build/src/platform/browser/OTLPTraceExporter.js 20:29-73
 @ ./node_modules/@jufab/opentelemetry-angular-interceptor/fesm2015/jufab-opentelemetry-angular-interceptor.js 11:0-121 366:19-36
 @ ./src/app/app.module.ts 14:0-139 39:4-24 40:4-29 43:17-55
 @ ./src/main.ts 5:0-45 11:46-55

ERROR in ./node_modules/@opentelemetry/resources/build/esm/platform/node/HostDetector.js 54:0-36
Module not found: Error: Can't resolve 'os' in '/Users/eigh_io/genotek/genotek-app/node_modules/@opentelemetry/resources/build/esm/platform/node'

BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default.
This is no longer the case. Verify if you need this module and configure a polyfill for it.

If you want to include a polyfill, you need to:
        - add a fallback 'resolve.fallback: { "os": require.resolve("os-browserify/browser") }'
        - install 'os-browserify'
If you don't want to include a polyfill, you can use an empty module like this:
        resolve.fallback: { "os": false }
 @ ./node_modules/@opentelemetry/resources/build/esm/platform/node/index.js 18:0-31 18:0-31
 @ ./node_modules/@opentelemetry/resources/build/esm/platform/index.js 16:0-23 16:0-23
 @ ./node_modules/@opentelemetry/resources/build/esm/index.js 17:0-27 17:0-27
 @ ./node_modules/@jufab/opentelemetry-angular-interceptor/fesm2015/jufab-opentelemetry-angular-interceptor.js 9:0-52 86:22-38 86:51-59 890:22-38 890:51-59
 @ ./src/app/app.module.ts 14:0-139 39:4-24 40:4-29 43:17-55
 @ ./src/main.ts 5:0-45 11:46-55

ERROR in ./node_modules/@opentelemetry/resources/build/esm/platform/node/OSDetector.js 54:0-39
Module not found: Error: Can't resolve 'os' in '/Users/eigh_io/genotek/genotek-app/node_modules/@opentelemetry/resources/build/esm/platform/node'

BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default.
This is no longer the case. Verify if you need this module and configure a polyfill for it.

If you want to include a polyfill, you need to:
        - add a fallback 'resolve.fallback: { "os": require.resolve("os-browserify/browser") }'
        - install 'os-browserify'
If you don't want to include a polyfill, you can use an empty module like this:
        resolve.fallback: { "os": false }
 @ ./node_modules/@opentelemetry/resources/build/esm/platform/node/index.js 19:0-29 19:0-29
 @ ./node_modules/@opentelemetry/resources/build/esm/platform/index.js 16:0-23 16:0-23
 @ ./node_modules/@opentelemetry/resources/build/esm/index.js 17:0-27 17:0-27
 @ ./node_modules/@jufab/opentelemetry-angular-interceptor/fesm2015/jufab-opentelemetry-angular-interceptor.js 9:0-52 86:22-38 86:51-59 890:22-38 890:51-59
 @ ./src/app/app.module.ts 14:0-139 39:4-24 40:4-29 43:17-55
 @ ./src/main.ts 5:0-45 11:46-55

ERROR in ./node_modules/clone-stats/index.js 1:11-30
Module not found: Error: Can't resolve 'fs' in '/Users/eigh_io/genotek/genotek-app/node_modules/clone-stats'
 @ ./node_modules/vinyl/index.js 3:17-39
 @ ./node_modules/vinyl-fs/lib/src/wrapWithVinylFile.js 5:11-27
 @ ./node_modules/vinyl-fs/lib/src/index.js 13:24-54
 @ ./node_modules/vinyl-fs/index.js 4:7-27
 @ ./node_modules/module/dist/index.js 23:15-34
 @ ./node_modules/require-in-the-middle/index.js 4:15-32
 @ ./node_modules/@opentelemetry/instrumentation/build/esm/platform/node/instrumentation.js 43:0-60 178:31-49
 @ ./node_modules/@opentelemetry/instrumentation/build/esm/platform/node/index.js 16:0-34 16:0-34
 @ ./node_modules/@opentelemetry/instrumentation/build/esm/platform/index.js 16:0-23 16:0-23
 @ ./node_modules/@opentelemetry/instrumentation/build/esm/index.js 17:0-33 17:0-33
 @ ./node_modules/@jufab/opentelemetry-angular-interceptor/fesm2015/jufab-opentelemetry-angular-interceptor.js 18:0-74 904:8-32
 @ ./src/app/app.module.ts 14:0-139 39:4-24 40:4-29 43:17-55
 @ ./src/main.ts 5:0-45 11:46-55

ERROR in ./node_modules/convert-source-map/index.js 2:9-22
Module not found: Error: Can't resolve 'fs' in '/Users/eigh_io/genotek/genotek-app/node_modules/convert-source-map'
 @ ./node_modules/gulp-sourcemaps/src/init/index.internals.js 6:14-43
 @ ./node_modules/gulp-sourcemaps/src/init/index.js 10:18-46
 @ ./node_modules/gulp-sourcemaps/index.js 4:8-29
 @ ./node_modules/vinyl-fs/lib/src/index.js 8:17-43
 @ ./node_modules/vinyl-fs/index.js 4:7-27
 @ ./node_modules/module/dist/index.js 23:15-34
 @ ./node_modules/require-in-the-middle/index.js 4:15-32
 @ ./node_modules/@opentelemetry/instrumentation/build/esm/platform/node/instrumentation.js 43:0-60 178:31-49
 @ ./node_modules/@opentelemetry/instrumentation/build/esm/platform/node/index.js 16:0-34 16:0-34
 @ ./node_modules/@opentelemetry/instrumentation/build/esm/platform/index.js 16:0-23 16:0-23
 @ ./node_modules/@opentelemetry/instrumentation/build/esm/index.js 17:0-33 17:0-33
 @ ./node_modules/@jufab/opentelemetry-angular-interceptor/fesm2015/jufab-opentelemetry-angular-interceptor.js 18:0-74 904:8-32
 @ ./src/app/app.module.ts 14:0-139 39:4-24 40:4-29 43:17-55
 @ ./src/main.ts 5:0-45 11:46-55

ERROR in ./node_modules/css/lib/stringify/source-map-support.js 9:9-22
Module not found: Error: Can't resolve 'fs' in '/Users/eigh_io/genotek/genotek-app/node_modules/css/lib/stringify'
 @ ./node_modules/css/lib/stringify/index.js 32:21-52
 @ ./node_modules/css/index.js 2:0-46
 @ ./node_modules/gulp-sourcemaps/src/init/index.js 9:8-22
 @ ./node_modules/gulp-sourcemaps/index.js 4:8-29
 @ ./node_modules/vinyl-fs/lib/src/index.js 8:17-43
 @ ./node_modules/vinyl-fs/index.js 4:7-27
 @ ./node_modules/module/dist/index.js 23:15-34
 @ ./node_modules/require-in-the-middle/index.js 4:15-32
 @ ./node_modules/@opentelemetry/instrumentation/build/esm/platform/node/instrumentation.js 43:0-60 178:31-49
 @ ./node_modules/@opentelemetry/instrumentation/build/esm/platform/node/index.js 16:0-34 16:0-34
 @ ./node_modules/@opentelemetry/instrumentation/build/esm/platform/index.js 16:0-23 16:0-23
 @ ./node_modules/@opentelemetry/instrumentation/build/esm/index.js 17:0-33 17:0-33
 @ ./node_modules/@jufab/opentelemetry-angular-interceptor/fesm2015/jufab-opentelemetry-angular-interceptor.js 18:0-74 904:8-32
 @ ./src/app/app.module.ts 14:0-139 39:4-24 40:4-29 43:17-55
 @ ./src/main.ts 5:0-45 11:46-55

ERROR in ./node_modules/debug/src/node.js 5:12-26
Module not found: Error: Can't resolve 'tty' in '/Users/eigh_io/genotek/genotek-app/node_modules/debug/src'

BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default.
This is no longer the case. Verify if you need this module and configure a polyfill for it.

If you want to include a polyfill, you need to:
        - add a fallback 'resolve.fallback: { "tty": require.resolve("tty-browserify") }'
        - install 'tty-browserify'
If you don't want to include a polyfill, you can use an empty module like this:
        resolve.fallback: { "tty": false }
 @ ./node_modules/debug/src/index.js 9:1-38
 @ ./node_modules/require-in-the-middle/index.js 6:14-30
 @ ./node_modules/@opentelemetry/instrumentation/build/esm/platform/node/instrumentation.js 43:0-60 178:31-49
 @ ./node_modules/@opentelemetry/instrumentation/build/esm/platform/node/index.js 16:0-34 16:0-34
 @ ./node_modules/@opentelemetry/instrumentation/build/esm/platform/index.js 16:0-23 16:0-23
 @ ./node_modules/@opentelemetry/instrumentation/build/esm/index.js 17:0-33 17:0-33
 @ ./node_modules/@jufab/opentelemetry-angular-interceptor/fesm2015/jufab-opentelemetry-angular-interceptor.js 18:0-74 904:8-32
 @ ./src/app/app.module.ts 14:0-139 39:4-24 40:4-29 43:17-55
 @ ./src/main.ts 5:0-45 11:46-55

ERROR in ./node_modules/first-chunk-stream/index.js 3:16-43
Module not found: Error: Can't resolve 'stream' in '/Users/eigh_io/genotek/genotek-app/node_modules/first-chunk-stream'

BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default.
This is no longer the case. Verify if you need this module and configure a polyfill for it.

If you want to include a polyfill, you need to:
        - add a fallback 'resolve.fallback: { "stream": require.resolve("stream-browserify") }'
        - install 'stream-browserify'
If you don't want to include a polyfill, you can use an empty module like this:
        resolve.fallback: { "stream": false }
 @ ./node_modules/strip-bom-stream/index.js 2:17-46
 @ ./node_modules/vinyl-fs/lib/src/getContents/streamFile.js 4:15-42
 @ ./node_modules/vinyl-fs/lib/src/getContents/index.js 7:17-40
 @ ./node_modules/vinyl-fs/lib/src/index.js 12:18-42
 @ ./node_modules/vinyl-fs/index.js 4:7-27
 @ ./node_modules/module/dist/index.js 23:15-34
 @ ./node_modules/require-in-the-middle/index.js 4:15-32
 @ ./node_modules/@opentelemetry/instrumentation/build/esm/platform/node/instrumentation.js 43:0-60 178:31-49
 @ ./node_modules/@opentelemetry/instrumentation/build/esm/platform/node/index.js 16:0-34 16:0-34
 @ ./node_modules/@opentelemetry/instrumentation/build/esm/platform/index.js 16:0-23 16:0-23
 @ ./node_modules/@opentelemetry/instrumentation/build/esm/index.js 17:0-33 17:0-33
 @ ./node_modules/@jufab/opentelemetry-angular-interceptor/fesm2015/jufab-opentelemetry-angular-interceptor.js 18:0-74 904:8-32
 @ ./src/app/app.module.ts 14:0-139 39:4-24 40:4-29 43:17-55
 @ ./src/main.ts 5:0-45 11:46-55

ERROR in ./node_modules/fs.realpath/index.js 8:9-22
Module not found: Error: Can't resolve 'fs' in '/Users/eigh_io/genotek/genotek-app/node_modules/fs.realpath'
 @ ./node_modules/glob/glob.js 43:9-31
 @ ./node_modules/glob-stream/index.js 7:11-26
 @ ./node_modules/vinyl-fs/lib/src/index.js 5:9-31
 @ ./node_modules/vinyl-fs/index.js 4:7-27
 @ ./node_modules/module/dist/index.js 23:15-34
 @ ./node_modules/require-in-the-middle/index.js 4:15-32
 @ ./node_modules/@opentelemetry/instrumentation/build/esm/platform/node/instrumentation.js 43:0-60 178:31-49
 @ ./node_modules/@opentelemetry/instrumentation/build/esm/platform/node/index.js 16:0-34 16:0-34
 @ ./node_modules/@opentelemetry/instrumentation/build/esm/platform/index.js 16:0-23 16:0-23
 @ ./node_modules/@opentelemetry/instrumentation/build/esm/index.js 17:0-33 17:0-33
 @ ./node_modules/@jufab/opentelemetry-angular-interceptor/fesm2015/jufab-opentelemetry-angular-interceptor.js 18:0-74 904:8-32
 @ ./src/app/app.module.ts 14:0-139 39:4-24 40:4-29 43:17-55
 @ ./src/main.ts 5:0-45 11:46-55

ERROR in ./node_modules/fs.realpath/old.js 24:9-22
Module not found: Error: Can't resolve 'fs' in '/Users/eigh_io/genotek/genotek-app/node_modules/fs.realpath'
 @ ./node_modules/fs.realpath/index.js 14:10-29
 @ ./node_modules/glob/glob.js 43:9-31
 @ ./node_modules/glob-stream/index.js 7:11-26
 @ ./node_modules/vinyl-fs/lib/src/index.js 5:9-31
 @ ./node_modules/vinyl-fs/index.js 4:7-27
 @ ./node_modules/module/dist/index.js 23:15-34
 @ ./node_modules/require-in-the-middle/index.js 4:15-32
 @ ./node_modules/@opentelemetry/instrumentation/build/esm/platform/node/instrumentation.js 43:0-60 178:31-49
 @ ./node_modules/@opentelemetry/instrumentation/build/esm/platform/node/index.js 16:0-34 16:0-34
 @ ./node_modules/@opentelemetry/instrumentation/build/esm/platform/index.js 16:0-23 16:0-23
 @ ./node_modules/@opentelemetry/instrumentation/build/esm/index.js 17:0-33 17:0-33
 @ ./node_modules/@jufab/opentelemetry-angular-interceptor/fesm2015/jufab-opentelemetry-angular-interceptor.js 18:0-74 904:8-32
 @ ./src/app/app.module.ts 14:0-139 39:4-24 40:4-29 43:17-55
 @ ./src/main.ts 5:0-45 11:46-55

ERROR in ./node_modules/glob-parent/index.js 5:14-36
Module not found: Error: Can't resolve 'os' in '/Users/eigh_io/genotek/genotek-app/node_modules/glob-parent'

BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default.
This is no longer the case. Verify if you need this module and configure a polyfill for it.

If you want to include a polyfill, you need to:
        - add a fallback 'resolve.fallback: { "os": require.resolve("os-browserify/browser") }'
        - install 'os-browserify'
If you don't want to include a polyfill, you can use an empty module like this:
        resolve.fallback: { "os": false }
 @ ./node_modules/glob-stream/index.js 10:17-39
 @ ./node_modules/vinyl-fs/lib/src/index.js 5:9-31
 @ ./node_modules/vinyl-fs/index.js 4:7-27
 @ ./node_modules/module/dist/index.js 23:15-34
 @ ./node_modules/require-in-the-middle/index.js 4:15-32
 @ ./node_modules/@opentelemetry/instrumentation/build/esm/platform/node/instrumentation.js 43:0-60 178:31-49
 @ ./node_modules/@opentelemetry/instrumentation/build/esm/platform/node/index.js 16:0-34 16:0-34
 @ ./node_modules/@opentelemetry/instrumentation/build/esm/platform/index.js 16:0-23 16:0-23
 @ ./node_modules/@opentelemetry/instrumentation/build/esm/index.js 17:0-33 17:0-33
 @ ./node_modules/@jufab/opentelemetry-angular-interceptor/fesm2015/jufab-opentelemetry-angular-interceptor.js 18:0-74 904:8-32
 @ ./src/app/app.module.ts 14:0-139 39:4-24 40:4-29 43:17-55
 @ ./src/main.ts 5:0-45 11:46-55

ERROR in ./node_modules/glob/common.js 13:9-22
Module not found: Error: Can't resolve 'fs' in '/Users/eigh_io/genotek/genotek-app/node_modules/glob'
 @ ./node_modules/glob/glob.js 52:13-35
 @ ./node_modules/glob-stream/index.js 7:11-26
 @ ./node_modules/vinyl-fs/lib/src/index.js 5:9-31
 @ ./node_modules/vinyl-fs/index.js 4:7-27
 @ ./node_modules/module/dist/index.js 23:15-34
 @ ./node_modules/require-in-the-middle/index.js 4:15-32
 @ ./node_modules/@opentelemetry/instrumentation/build/esm/platform/node/instrumentation.js 43:0-60 178:31-49
 @ ./node_modules/@opentelemetry/instrumentation/build/esm/platform/node/index.js 16:0-34 16:0-34
 @ ./node_modules/@opentelemetry/instrumentation/build/esm/platform/index.js 16:0-23 16:0-23
 @ ./node_modules/@opentelemetry/instrumentation/build/esm/index.js 17:0-33 17:0-33
 @ ./node_modules/@jufab/opentelemetry-angular-interceptor/fesm2015/jufab-opentelemetry-angular-interceptor.js 18:0-74 904:8-32
 @ ./src/app/app.module.ts 14:0-139 39:4-24 40:4-29 43:17-55
 @ ./src/main.ts 5:0-45 11:46-55

ERROR in ./node_modules/glob/glob.js 49:13-30
Module not found: Error: Can't resolve 'assert' in '/Users/eigh_io/genotek/genotek-app/node_modules/glob'

BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default.
This is no longer the case. Verify if you need this module and configure a polyfill for it.

If you want to include a polyfill, you need to:
        - add a fallback 'resolve.fallback: { "assert": require.resolve("assert/") }'
        - install 'assert'
If you don't want to include a polyfill, you can use an empty module like this:
        resolve.fallback: { "assert": false }
 @ ./node_modules/glob-stream/index.js 7:11-26
 @ ./node_modules/vinyl-fs/lib/src/index.js 5:9-31
 @ ./node_modules/vinyl-fs/index.js 4:7-27
 @ ./node_modules/module/dist/index.js 23:15-34
 @ ./node_modules/require-in-the-middle/index.js 4:15-32
 @ ./node_modules/@opentelemetry/instrumentation/build/esm/platform/node/instrumentation.js 43:0-60 178:31-49
 @ ./node_modules/@opentelemetry/instrumentation/build/esm/platform/node/index.js 16:0-34 16:0-34
 @ ./node_modules/@opentelemetry/instrumentation/build/esm/platform/index.js 16:0-23 16:0-23
 @ ./node_modules/@opentelemetry/instrumentation/build/esm/index.js 17:0-33 17:0-33
 @ ./node_modules/@jufab/opentelemetry-angular-interceptor/fesm2015/jufab-opentelemetry-angular-interceptor.js 18:0-74 904:8-32
 @ ./src/app/app.module.ts 14:0-139 39:4-24 40:4-29 43:17-55
 @ ./src/main.ts 5:0-45 11:46-55

ERROR in ./node_modules/glob/sync.js 10:13-30
Module not found: Error: Can't resolve 'assert' in '/Users/eigh_io/genotek/genotek-app/node_modules/glob'

BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default.
This is no longer the case. Verify if you need this module and configure a polyfill for it.

If you want to include a polyfill, you need to:
        - add a fallback 'resolve.fallback: { "assert": require.resolve("assert/") }'
        - install 'assert'
If you don't want to include a polyfill, you can use an empty module like this:
        resolve.fallback: { "assert": false }
 @ ./node_modules/glob/glob.js 51:15-35
 @ ./node_modules/glob-stream/index.js 7:11-26
 @ ./node_modules/vinyl-fs/lib/src/index.js 5:9-31
 @ ./node_modules/vinyl-fs/index.js 4:7-27
 @ ./node_modules/module/dist/index.js 23:15-34
 @ ./node_modules/require-in-the-middle/index.js 4:15-32
 @ ./node_modules/@opentelemetry/instrumentation/build/esm/platform/node/instrumentation.js 43:0-60 178:31-49
 @ ./node_modules/@opentelemetry/instrumentation/build/esm/platform/node/index.js 16:0-34 16:0-34
 @ ./node_modules/@opentelemetry/instrumentation/build/esm/platform/index.js 16:0-23 16:0-23
 @ ./node_modules/@opentelemetry/instrumentation/build/esm/index.js 17:0-33 17:0-33
 @ ./node_modules/@jufab/opentelemetry-angular-interceptor/fesm2015/jufab-opentelemetry-angular-interceptor.js 18:0-74 904:8-32
 @ ./src/app/app.module.ts 14:0-139 39:4-24 40:4-29 43:17-55
 @ ./src/main.ts 5:0-45 11:46-55

ERROR in ./node_modules/graceful-fs/graceful-fs.js 1:9-22
Module not found: Error: Can't resolve 'fs' in '/Users/eigh_io/genotek/genotek-app/node_modules/graceful-fs'
 @ ./node_modules/vinyl-fs/lib/symlink/index.js 4:9-31
 @ ./node_modules/vinyl-fs/index.js 6:11-35
 @ ./node_modules/module/dist/index.js 23:15-34
 @ ./node_modules/require-in-the-middle/index.js 4:15-32
 @ ./node_modules/@opentelemetry/instrumentation/build/esm/platform/node/instrumentation.js 43:0-60 178:31-49
 @ ./node_modules/@opentelemetry/instrumentation/build/esm/platform/node/index.js 16:0-34 16:0-34
 @ ./node_modules/@opentelemetry/instrumentation/build/esm/platform/index.js 16:0-23 16:0-23
 @ ./node_modules/@opentelemetry/instrumentation/build/esm/index.js 17:0-33 17:0-33
 @ ./node_modules/@jufab/opentelemetry-angular-interceptor/fesm2015/jufab-opentelemetry-angular-interceptor.js 18:0-74 904:8-32
 @ ./src/app/app.module.ts 14:0-139 39:4-24 40:4-29 43:17-55
 @ ./src/main.ts 5:0-45 11:46-55

ERROR in ./node_modules/graceful-fs/graceful-fs.js 87:6-29
Module not found: Error: Can't resolve 'assert' in '/Users/eigh_io/genotek/genotek-app/node_modules/graceful-fs'

BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default.
This is no longer the case. Verify if you need this module and configure a polyfill for it.

If you want to include a polyfill, you need to:
        - add a fallback 'resolve.fallback: { "assert": require.resolve("assert/") }'
        - install 'assert'
If you don't want to include a polyfill, you can use an empty module like this:
        resolve.fallback: { "assert": false }
 @ ./node_modules/vinyl-fs/lib/symlink/index.js 4:9-31
 @ ./node_modules/vinyl-fs/index.js 6:11-35
 @ ./node_modules/module/dist/index.js 23:15-34
 @ ./node_modules/require-in-the-middle/index.js 4:15-32
 @ ./node_modules/@opentelemetry/instrumentation/build/esm/platform/node/instrumentation.js 43:0-60 178:31-49
 @ ./node_modules/@opentelemetry/instrumentation/build/esm/platform/node/index.js 16:0-34 16:0-34
 @ ./node_modules/@opentelemetry/instrumentation/build/esm/platform/index.js 16:0-23 16:0-23
 @ ./node_modules/@opentelemetry/instrumentation/build/esm/index.js 17:0-33 17:0-33
 @ ./node_modules/@jufab/opentelemetry-angular-interceptor/fesm2015/jufab-opentelemetry-angular-interceptor.js 18:0-74 904:8-32
 @ ./src/app/app.module.ts 14:0-139 39:4-24 40:4-29 43:17-55
 @ ./src/main.ts 5:0-45 11:46-55

ERROR in ./node_modules/graceful-fs/legacy-streams.js 1:13-37
Module not found: Error: Can't resolve 'stream' in '/Users/eigh_io/genotek/genotek-app/node_modules/graceful-fs'

BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default.
This is no longer the case. Verify if you need this module and configure a polyfill for it.

If you want to include a polyfill, you need to:
        - add a fallback 'resolve.fallback: { "stream": require.resolve("stream-browserify") }'
        - install 'stream-browserify'
If you don't want to include a polyfill, you can use an empty module like this:
        resolve.fallback: { "stream": false }
 @ ./node_modules/graceful-fs/graceful-fs.js 3:13-43
 @ ./node_modules/vinyl-fs/lib/symlink/index.js 4:9-31
 @ ./node_modules/vinyl-fs/index.js 6:11-35
 @ ./node_modules/module/dist/index.js 23:15-34
 @ ./node_modules/require-in-the-middle/index.js 4:15-32
 @ ./node_modules/@opentelemetry/instrumentation/build/esm/platform/node/instrumentation.js 43:0-60 178:31-49
 @ ./node_modules/@opentelemetry/instrumentation/build/esm/platform/node/index.js 16:0-34 16:0-34
 @ ./node_modules/@opentelemetry/instrumentation/build/esm/platform/index.js 16:0-23 16:0-23
 @ ./node_modules/@opentelemetry/instrumentation/build/esm/index.js 17:0-33 17:0-33
 @ ./node_modules/@jufab/opentelemetry-angular-interceptor/fesm2015/jufab-opentelemetry-angular-interceptor.js 18:0-74 904:8-32
 @ ./src/app/app.module.ts 14:0-139 39:4-24 40:4-29 43:17-55
 @ ./src/main.ts 5:0-45 11:46-55

ERROR in ./node_modules/graceful-fs/polyfills.js 1:16-36
Module not found: Error: Can't resolve 'constants' in '/Users/eigh_io/genotek/genotek-app/node_modules/graceful-fs'

BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default.
This is no longer the case. Verify if you need this module and configure a polyfill for it.

If you want to include a polyfill, you need to:
        - add a fallback 'resolve.fallback: { "constants": require.resolve("constants-browserify") }'
        - install 'constants-browserify'
If you don't want to include a polyfill, you can use an empty module like this:
        resolve.fallback: { "constants": false }
 @ ./node_modules/graceful-fs/graceful-fs.js 2:16-41
 @ ./node_modules/vinyl-fs/lib/symlink/index.js 4:9-31
 @ ./node_modules/vinyl-fs/index.js 6:11-35
 @ ./node_modules/module/dist/index.js 23:15-34
 @ ./node_modules/require-in-the-middle/index.js 4:15-32
 @ ./node_modules/@opentelemetry/instrumentation/build/esm/platform/node/instrumentation.js 43:0-60 178:31-49
 @ ./node_modules/@opentelemetry/instrumentation/build/esm/platform/node/index.js 16:0-34 16:0-34
 @ ./node_modules/@opentelemetry/instrumentation/build/esm/platform/index.js 16:0-23 16:0-23
 @ ./node_modules/@opentelemetry/instrumentation/build/esm/index.js 17:0-33 17:0-33
 @ ./node_modules/@jufab/opentelemetry-angular-interceptor/fesm2015/jufab-opentelemetry-angular-interceptor.js 18:0-74 904:8-32
 @ ./src/app/app.module.ts 14:0-139 39:4-24 40:4-29 43:17-55
 @ ./src/main.ts 5:0-45 11:46-55

ERROR in ./node_modules/map-stream/index.js 5:13-37
Module not found: Error: Can't resolve 'stream' in '/Users/eigh_io/genotek/genotek-app/node_modules/map-stream'

BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default.
This is no longer the case. Verify if you need this module and configure a polyfill for it.

If you want to include a polyfill, you need to:
        - add a fallback 'resolve.fallback: { "stream": require.resolve("stream-browserify") }'
        - install 'stream-browserify'
If you don't want to include a polyfill, you can use an empty module like this:
        resolve.fallback: { "stream": false }
 @ ./node_modules/module/dist/index.js 19:17-38
 @ ./node_modules/require-in-the-middle/index.js 4:15-32
 @ ./node_modules/@opentelemetry/instrumentation/build/esm/platform/node/instrumentation.js 43:0-60 178:31-49
 @ ./node_modules/@opentelemetry/instrumentation/build/esm/platform/node/index.js 16:0-34 16:0-34
 @ ./node_modules/@opentelemetry/instrumentation/build/esm/platform/index.js 16:0-23 16:0-23
 @ ./node_modules/@opentelemetry/instrumentation/build/esm/index.js 17:0-33 17:0-33
 @ ./node_modules/@jufab/opentelemetry-angular-interceptor/fesm2015/jufab-opentelemetry-angular-interceptor.js 18:0-74 904:8-32
 @ ./src/app/app.module.ts 14:0-139 39:4-24 40:4-29 43:17-55
 @ ./src/main.ts 5:0-45 11:46-55

ERROR in ./node_modules/merge-stream/index.js 3:24-41
Module not found: Error: Can't resolve 'stream' in '/Users/eigh_io/genotek/genotek-app/node_modules/merge-stream'

BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default.
This is no longer the case. Verify if you need this module and configure a polyfill for it.

If you want to include a polyfill, you need to:
        - add a fallback 'resolve.fallback: { "stream": require.resolve("stream-browserify") }'
        - install 'stream-browserify'
If you don't want to include a polyfill, you can use an empty module like this:
        resolve.fallback: { "stream": false }
 @ ./node_modules/vinyl-fs/lib/src/index.js 7:12-35
 @ ./node_modules/vinyl-fs/index.js 4:7-27
 @ ./node_modules/module/dist/index.js 23:15-34
 @ ./node_modules/require-in-the-middle/index.js 4:15-32
 @ ./node_modules/@opentelemetry/instrumentation/build/esm/platform/node/instrumentation.js 43:0-60 178:31-49
 @ ./node_modules/@opentelemetry/instrumentation/build/esm/platform/node/index.js 16:0-34 16:0-34
 @ ./node_modules/@opentelemetry/instrumentation/build/esm/platform/index.js 16:0-23 16:0-23
 @ ./node_modules/@opentelemetry/instrumentation/build/esm/index.js 17:0-33 17:0-33
 @ ./node_modules/@jufab/opentelemetry-angular-interceptor/fesm2015/jufab-opentelemetry-angular-interceptor.js 18:0-74 904:8-32
 @ ./src/app/app.module.ts 14:0-139 39:4-24 40:4-29 43:17-55
 @ ./src/main.ts 5:0-45 11:46-55

ERROR in ./node_modules/mkdirp/lib/opts-arg.js 2:11-24
Module not found: Error: Can't resolve 'fs' in '/Users/eigh_io/genotek/genotek-app/node_modules/mkdirp/lib'
 @ ./node_modules/mkdirp/index.js 1:16-44
 @ ./node_modules/vinyl-fs/lib/prepareWrite.js 5:13-30
 @ ./node_modules/vinyl-fs/lib/dest/index.js 7:19-45
 @ ./node_modules/vinyl-fs/index.js 5:8-29
 @ ./node_modules/module/dist/index.js 23:15-34
 @ ./node_modules/require-in-the-middle/index.js 4:15-32
 @ ./node_modules/@opentelemetry/instrumentation/build/esm/platform/node/instrumentation.js 43:0-60 178:31-49
 @ ./node_modules/@opentelemetry/instrumentation/build/esm/platform/node/index.js 16:0-34 16:0-34
 @ ./node_modules/@opentelemetry/instrumentation/build/esm/platform/index.js 16:0-23 16:0-23
 @ ./node_modules/@opentelemetry/instrumentation/build/esm/index.js 17:0-33 17:0-33
 @ ./node_modules/@jufab/opentelemetry-angular-interceptor/fesm2015/jufab-opentelemetry-angular-interceptor.js 18:0-74 904:8-32
 @ ./src/app/app.module.ts 14:0-139 39:4-24 40:4-29 43:17-55
 @ ./src/main.ts 5:0-45 11:46-55

ERROR in ./node_modules/mkdirp/lib/use-native.js 1:11-24
Module not found: Error: Can't resolve 'fs' in '/Users/eigh_io/genotek/genotek-app/node_modules/mkdirp/lib'
 @ ./node_modules/mkdirp/index.js 6:35-65
 @ ./node_modules/vinyl-fs/lib/prepareWrite.js 5:13-30
 @ ./node_modules/vinyl-fs/lib/dest/index.js 7:19-45
 @ ./node_modules/vinyl-fs/index.js 5:8-29
 @ ./node_modules/module/dist/index.js 23:15-34
 @ ./node_modules/require-in-the-middle/index.js 4:15-32
 @ ./node_modules/@opentelemetry/instrumentation/build/esm/platform/node/instrumentation.js 43:0-60 178:31-49
 @ ./node_modules/@opentelemetry/instrumentation/build/esm/platform/node/index.js 16:0-34 16:0-34
 @ ./node_modules/@opentelemetry/instrumentation/build/esm/platform/index.js 16:0-23 16:0-23
 @ ./node_modules/@opentelemetry/instrumentation/build/esm/index.js 17:0-33 17:0-33
 @ ./node_modules/@jufab/opentelemetry-angular-interceptor/fesm2015/jufab-opentelemetry-angular-interceptor.js 18:0-74 904:8-32
 @ ./src/app/app.module.ts 14:0-139 39:4-24 40:4-29 43:17-55
 @ ./src/main.ts 5:0-45 11:46-55

ERROR in ./node_modules/resolve/lib/async.js 1:9-22
Module not found: Error: Can't resolve 'fs' in '/Users/eigh_io/genotek/genotek-app/node_modules/resolve/lib'
 @ ./node_modules/resolve/index.js 1:12-34
 @ ./node_modules/require-in-the-middle/index.js 5:16-34
 @ ./node_modules/@opentelemetry/instrumentation/build/esm/platform/node/instrumentation.js 43:0-60 178:31-49
 @ ./node_modules/@opentelemetry/instrumentation/build/esm/platform/node/index.js 16:0-34 16:0-34
 @ ./node_modules/@opentelemetry/instrumentation/build/esm/platform/index.js 16:0-23 16:0-23
 @ ./node_modules/@opentelemetry/instrumentation/build/esm/index.js 17:0-33 17:0-33
 @ ./node_modules/@jufab/opentelemetry-angular-interceptor/fesm2015/jufab-opentelemetry-angular-interceptor.js 18:0-74 904:8-32
 @ ./src/app/app.module.ts 14:0-139 39:4-24 40:4-29 43:17-55
 @ ./src/main.ts 5:0-45 11:46-55

ERROR in ./node_modules/resolve/lib/homedir.js 3:9-22
Module not found: Error: Can't resolve 'os' in '/Users/eigh_io/genotek/genotek-app/node_modules/resolve/lib'

BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default.
This is no longer the case. Verify if you need this module and configure a polyfill for it.

If you want to include a polyfill, you need to:
        - add a fallback 'resolve.fallback: { "os": require.resolve("os-browserify/browser") }'
        - install 'os-browserify'
If you don't want to include a polyfill, you can use an empty module like this:
        resolve.fallback: { "os": false }
 @ ./node_modules/resolve/lib/async.js 2:17-37
 @ ./node_modules/resolve/index.js 1:12-34
 @ ./node_modules/require-in-the-middle/index.js 5:16-34
 @ ./node_modules/@opentelemetry/instrumentation/build/esm/platform/node/instrumentation.js 43:0-60 178:31-49
 @ ./node_modules/@opentelemetry/instrumentation/build/esm/platform/node/index.js 16:0-34 16:0-34
 @ ./node_modules/@opentelemetry/instrumentation/build/esm/platform/index.js 16:0-23 16:0-23
 @ ./node_modules/@opentelemetry/instrumentation/build/esm/index.js 17:0-33 17:0-33
 @ ./node_modules/@jufab/opentelemetry-angular-interceptor/fesm2015/jufab-opentelemetry-angular-interceptor.js 18:0-74 904:8-32
 @ ./src/app/app.module.ts 14:0-139 39:4-24 40:4-29 43:17-55
 @ ./src/main.ts 5:0-45 11:46-55

ERROR in ./node_modules/resolve/lib/sync.js 2:9-22
Module not found: Error: Can't resolve 'fs' in '/Users/eigh_io/genotek/genotek-app/node_modules/resolve/lib'
 @ ./node_modules/resolve/index.js 5:13-34
 @ ./node_modules/require-in-the-middle/index.js 5:16-34
 @ ./node_modules/@opentelemetry/instrumentation/build/esm/platform/node/instrumentation.js 43:0-60 178:31-49
 @ ./node_modules/@opentelemetry/instrumentation/build/esm/platform/node/index.js 16:0-34 16:0-34
 @ ./node_modules/@opentelemetry/instrumentation/build/esm/platform/index.js 16:0-23 16:0-23
 @ ./node_modules/@opentelemetry/instrumentation/build/esm/index.js 17:0-33 17:0-33
 @ ./node_modules/@jufab/opentelemetry-angular-interceptor/fesm2015/jufab-opentelemetry-angular-interceptor.js 18:0-74 904:8-32
 @ ./src/app/app.module.ts 14:0-139 39:4-24 40:4-29 43:17-55
 @ ./src/main.ts 5:0-45 11:46-55

ERROR in ./node_modules/source-map/lib/read-wasm.js 29:13-26
Module not found: Error: Can't resolve 'fs' in '/Users/eigh_io/genotek/genotek-app/node_modules/source-map/lib'
 @ ./node_modules/source-map/lib/source-map-consumer.js 19:17-44
 @ ./node_modules/source-map/source-map.js 7:0-82
 @ ./node_modules/gulp-sourcemaps/src/init/index.js 8:23-63
 @ ./node_modules/gulp-sourcemaps/index.js 4:8-29
 @ ./node_modules/vinyl-fs/lib/src/index.js 8:17-43
 @ ./node_modules/vinyl-fs/index.js 4:7-27
 @ ./node_modules/module/dist/index.js 23:15-34
 @ ./node_modules/require-in-the-middle/index.js 4:15-32
 @ ./node_modules/@opentelemetry/instrumentation/build/esm/platform/node/instrumentation.js 43:0-60 178:31-49
 @ ./node_modules/@opentelemetry/instrumentation/build/esm/platform/node/index.js 16:0-34 16:0-34
 @ ./node_modules/@opentelemetry/instrumentation/build/esm/platform/index.js 16:0-23 16:0-23
 @ ./node_modules/@opentelemetry/instrumentation/build/esm/index.js 17:0-33 17:0-33
 @ ./node_modules/@jufab/opentelemetry-angular-interceptor/fesm2015/jufab-opentelemetry-angular-interceptor.js 18:0-74 904:8-32
 @ ./src/app/app.module.ts 14:0-139 39:4-24 40:4-29 43:17-55
 @ ./src/main.ts 5:0-45 11:46-55

ERROR in ./node_modules/supports-color/index.js 2:11-24
Module not found: Error: Can't resolve 'os' in '/Users/eigh_io/genotek/genotek-app/node_modules/supports-color'

BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default.
This is no longer the case. Verify if you need this module and configure a polyfill for it.

If you want to include a polyfill, you need to:
        - add a fallback 'resolve.fallback: { "os": require.resolve("os-browserify/browser") }'
        - install 'os-browserify'
If you don't want to include a polyfill, you can use an empty module like this:
        resolve.fallback: { "os": false }
 @ ./node_modules/debug/src/node.js 32:23-48
 @ ./node_modules/debug/src/index.js 9:1-38
 @ ./node_modules/require-in-the-middle/index.js 6:14-30
 @ ./node_modules/@opentelemetry/instrumentation/build/esm/platform/node/instrumentation.js 43:0-60 178:31-49
 @ ./node_modules/@opentelemetry/instrumentation/build/esm/platform/node/index.js 16:0-34 16:0-34
 @ ./node_modules/@opentelemetry/instrumentation/build/esm/platform/index.js 16:0-23 16:0-23
 @ ./node_modules/@opentelemetry/instrumentation/build/esm/index.js 17:0-33 17:0-33
 @ ./node_modules/@jufab/opentelemetry-angular-interceptor/fesm2015/jufab-opentelemetry-angular-interceptor.js 18:0-74 904:8-32
 @ ./src/app/app.module.ts 14:0-139 39:4-24 40:4-29 43:17-55
 @ ./src/main.ts 5:0-45 11:46-55

ERROR in ./node_modules/vinyl/index.js 9:13-30
Module not found: Error: Can't resolve 'stream' in '/Users/eigh_io/genotek/genotek-app/node_modules/vinyl'

BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default.
This is no longer the case. Verify if you need this module and configure a polyfill for it.

If you want to include a polyfill, you need to:
        - add a fallback 'resolve.fallback: { "stream": require.resolve("stream-browserify") }'
        - install 'stream-browserify'
If you don't want to include a polyfill, you can use an empty module like this:
        resolve.fallback: { "stream": false }
 @ ./node_modules/vinyl-fs/lib/src/wrapWithVinylFile.js 5:11-27
 @ ./node_modules/vinyl-fs/lib/src/index.js 13:24-54
 @ ./node_modules/vinyl-fs/index.js 4:7-27
 @ ./node_modules/module/dist/index.js 23:15-34
 @ ./node_modules/require-in-the-middle/index.js 4:15-32
 @ ./node_modules/@opentelemetry/instrumentation/build/esm/platform/node/instrumentation.js 43:0-60 178:31-49
 @ ./node_modules/@opentelemetry/instrumentation/build/esm/platform/node/index.js 16:0-34 16:0-34
 @ ./node_modules/@opentelemetry/instrumentation/build/esm/platform/index.js 16:0-23 16:0-23
 @ ./node_modules/@opentelemetry/instrumentation/build/esm/index.js 17:0-33 17:0-33
 @ ./node_modules/@jufab/opentelemetry-angular-interceptor/fesm2015/jufab-opentelemetry-angular-interceptor.js 18:0-74 904:8-32
 @ ./src/app/app.module.ts 14:0-139 39:4-24 40:4-29 43:17-55
 @ ./src/main.ts 5:0-45 11:46-55

ERROR in ./node_modules/vinyl/lib/isStream.js 1:13-37
Module not found: Error: Can't resolve 'stream' in '/Users/eigh_io/genotek/genotek-app/node_modules/vinyl/lib'

BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default.
This is no longer the case. Verify if you need this module and configure a polyfill for it.

If you want to include a polyfill, you need to:
        - add a fallback 'resolve.fallback: { "stream": require.resolve("stream-browserify") }'
        - install 'stream-browserify'
If you don't want to include a polyfill, you can use an empty module like this:
        resolve.fallback: { "stream": false }
 @ ./node_modules/vinyl/index.js 6:15-40
 @ ./node_modules/vinyl-fs/lib/src/wrapWithVinylFile.js 5:11-27
 @ ./node_modules/vinyl-fs/lib/src/index.js 13:24-54
 @ ./node_modules/vinyl-fs/index.js 4:7-27
 @ ./node_modules/module/dist/index.js 23:15-34
 @ ./node_modules/require-in-the-middle/index.js 4:15-32
 @ ./node_modules/@opentelemetry/instrumentation/build/esm/platform/node/instrumentation.js 43:0-60 178:31-49
 @ ./node_modules/@opentelemetry/instrumentation/build/esm/platform/node/index.js 16:0-34 16:0-34
 @ ./node_modules/@opentelemetry/instrumentation/build/esm/platform/index.js 16:0-23 16:0-23
 @ ./node_modules/@opentelemetry/instrumentation/build/esm/index.js 17:0-33 17:0-33
 @ ./node_modules/@jufab/opentelemetry-angular-interceptor/fesm2015/jufab-opentelemetry-angular-interceptor.js 18:0-74 904:8-32
 @ ./src/app/app.module.ts 14:0-139 39:4-24 40:4-29 43:17-55
 @ ./src/main.ts 5:0-45 11:46-55

36 errors have detailed information that is not shown.
Use 'stats.errorDetails: true' resp. '--stats-error-details' to show it.

webpack 5.74.0 compiled with 36 errors and 9 warnings in 17713 ms
Webpack compilation complete.
Executing webpack failed with exit code 1.

As far as I understand the underlying opentelemetry-js project supports two platforms: node and browser. But looking at the error log above it seems that in case of the nativescript/angular app the build system is addressing a OT's node platform.

How can I fix my build?

@eighteight
Copy link
Author

I created a sample project to repro the issue: https://github.com/eighteight/nativescript-opentelemetry

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