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
![No description](https://cdn.answeroverflow.com/1261056347298857081/image.png)
2 Replies
i am facing the same problem π¦ Any help would be greatly appreciated
@jack actually found https://github.com/PlasmoHQ/plasmo/pull/813 looks like something that's been on going for a while?
GitHub
chore: upgrade Parcel by louisgv Β· Pull Request #813 Β· PlasmoHQ/pla...
Details
An initial attempt at upgrading Parcel. Tracking the following blockers:
parcel-bundler/parcel#9057 <- might need to do the patch or swap out the js packager, re: #786
I need help with...