🧩 Plasmo Developers�PD
🧩 Plasmo Developers2y ago
3 replies
jack

Error building extension

Hi all.

After having been able to successfully build our extension for weeks, we have started to encounter the below error during the build process.

We have tried variously bumping node versions up and down, swapping all plasmo-related package versions, etc., to no avail. Any help or insight appreciated.

Text of the error:
$ plasmo dev --tag=dev --src-path=src/extension
🟣 Plasmo v0.88.0
🔴 The Browser Extension Framework
🔵 INFO | Starting the extension development server...
🔵 INFO | Loaded environment variables from: [ '.env.local' ]
🔴 ERROR | Build failed. To debug, run plasmo dev --verbose.
🔴 ERROR | Failed to resolve 'node:diagnostics_channel' from './node_modules/opentelemetry-instrumentation-fetch-node/build/index.js'
🔴 ERROR | Cannot find module 'node:diagnostics_channel'
🔴 ERROR | Resolvers must return an absolute path, @plasmohq/parcel-resolver-post returned: node:diagnostics\_channel
image.png
Was this page helpful?