Seeing an error `The "path" argument must be of type string. Received an instance of Object`

Trying to run pnpm dev Full error response is:
πŸ”΄ ERROR | Build failed. To debug, run plasmo dev --verbose.
πŸ”΄ ERROR | Failed to resolve 'process' from './node\_modules/.pnpm/@[email protected]/node\_modules/@plasmohq/parcel-resolver/dist/polyfills/assert.js'
πŸ”΄ ERROR | The "path" argument must be of type string. Received an instance of Object
πŸ”΄ ERROR | Build failed. To debug, run plasmo dev --verbose.
πŸ”΄ ERROR | Failed to resolve 'process' from './node\_modules/.pnpm/@[email protected]/node\_modules/@plasmohq/parcel-resolver/dist/polyfills/assert.js'
πŸ”΄ ERROR | The "path" argument must be of type string. Received an instance of Object
4 Replies
alank
alankOPβ€’2y ago
Anyone have any ideas what this could be from? node version is v18.12.1
lab
labβ€’2y ago
What other dependency could you be using? @alank7528 was there something done prior to this bug or is there a sample minimal reproduction?
alank
alankOPβ€’2y ago
Sorting through that now. I just upgraded versions of Plasmo and had seen that. Went from 0.61.2-lab.0 to 0.68.3 So I had this in my package.json from a while ago. Removing this let me build
"process": {
"global": "{}"
},
"process": {
"global": "{}"
},
no mo problemo
Arcane
Arcaneβ€’2y ago
@alank7528 has reached level 4. GG!
Want results from more Discord servers?
Add your server