Failed to resolve '...' from '...'

Hoping to get some eyes on this issue on GH as I am currently unable to use react-markdown package with Plasmo https://github.com/PlasmoHQ/plasmo/issues/774#issuecomment-1837268430
GitHub
[BUG] Cannot load file './index' from module "xxx" Β· Issue #774 Β· P...
What happened? When I use react-markdown, it gives me the error message: Cannot load file './index' from module 'devlop' https://github.com/remarkjs/react-markdown Other packages wi...
8 Replies
edmund
edmundOPβ€’12mo ago
@louis could i get some assistance on this please πŸ™πŸ»
Arcane
Arcaneβ€’12mo ago
@edmund has reached level 1. GG!
lab
labβ€’12mo ago
@edmund try using an older version of plasmo - I think the latest version will need a patch :d - there's a github issue with a workaround on how to use an old version of parcel bundler to resolve the mod as well
edmund
edmundOPβ€’12mo ago
thanks for the reply which version do you recommend? and could i get a link to the GH issue you're referring to?
YAGPDB.xyz
YAGPDB.xyzβ€’12mo ago
Gave +1 Rep to @louis
lab
labβ€’12mo ago
GitHub
"Could not resolve bundle with id" [BUG] Β· Issue #661 Β· PlasmoHQ/p...
What happened? A bug happened! I've built an extension, and I'm getting this error when running the extension - "Could not resolve bundle with id" Version Latest What OS are you s...
lab
labβ€’12mo ago
Actually the current latest version already pinned it down so I'm not sure tbh xd
edmund
edmundOPβ€’12mo ago
just had a look at this from what i understood my package.json should look like this?
{
...
"manifest": {
"host_permissions": [
"https://*/*"
],
"permissions": [
"sidePanel",
"storage"
]
},
"pnpm": {
"overrides": {
"@parcel/runtime-js": "2.8.3"
}
}
}
{
...
"manifest": {
"host_permissions": [
"https://*/*"
],
"permissions": [
"sidePanel",
"storage"
]
},
"pnpm": {
"overrides": {
"@parcel/runtime-js": "2.8.3"
}
}
}
but i am still running into the same error when i run pnpm dev :
> plasmo dev

🟣 Plasmo v0.84.0
πŸ”΄ The Browser Extension Framework
πŸ”΅ INFO | Starting the extension development server...
πŸ”΅ INFO | Loaded environment variables from: [ '.env' ]
πŸ”΄ ERROR | Build failed. To debug, run plasmo dev --verbose.
πŸ”΄ ERROR | Failed to resolve 'devlop' from './node\_modules/.pnpm/[email protected]\_@[email protected]\[email protected]/node\_modules/react-markdown/lib/index.js'
πŸ”΄ ERROR | Cannot load file './index' from module 'devlop'
> plasmo dev

🟣 Plasmo v0.84.0
πŸ”΄ The Browser Extension Framework
πŸ”΅ INFO | Starting the extension development server...
πŸ”΅ INFO | Loaded environment variables from: [ '.env' ]
πŸ”΄ ERROR | Build failed. To debug, run plasmo dev --verbose.
πŸ”΄ ERROR | Failed to resolve 'devlop' from './node\_modules/.pnpm/[email protected]\_@[email protected]\[email protected]/node\_modules/react-markdown/lib/index.js'
πŸ”΄ ERROR | Cannot load file './index' from module 'devlop'
just curious, are you able to reproduce on your end?
Want results from more Discord servers?
Add your server