Comments (3)
I'm going to close this issue for now, but please let me know if you think my assessment of the situation is incorrect, or if you have an up-to-date version of the graceful-fs
package.
We'll think more about how to detect these npm cache issues on our side, but they might be outside Plasmo's scope.
from plasmo.
Switching to pnpm dlx plasmo init
worked.
from plasmo.
Thanks for the bug report, @peterbe.
npm x plasmo init
works both in our CI environment and locally on my laptop, so I suspect there is some weird cache issue happening here.
It seems to be an issue with the graceful-fs
package that was fixed a while ago. We use this package because fs-extra
depends on it:
λ ~/plasmo/plasmo/ main pnpm why graceful-fs
Legend: production dependency, optional only, dev only
p1asm0 /Users/coldsauce/plasmo/plasmo
devDependencies:
fs-extra 10.1.0
├── graceful-fs 4.2.10
└─┬ jsonfile 6.1.0
└── graceful-fs 4.2.10
I suspect the problem is that your cached version of graceful-fs
seems to be very old, and that's what's being used by npm x
for some reason.
If you run
cat /usr/local/lib/node_modules/pnpm/lib/node_modules/npm/node_modules/graceful-fs/package.json | grep version
What version number does it show?
from plasmo.
Related Issues (20)
- [BUG] Tests Crashing Due to SyntaxError in @plasmohq/storage Package
- [BUG] example with-content-scripts-ui,where the CSUI container is lost after navigating within the SPA and upon returning. HOT 1
- [BUG] hot reload doesnt work when editing devtools.tsx HOT 1
- [BUG] Removing some MUI component in example causes 'Uncaught TypeError: defaultShouldForwardProp is not a function' error
- [BUG] Tab pages do not support hot reloading.
- [BUG] plasmo build --hoist HOT 2
- [EXP]
- [EXP] getInlineAnchorList() and custom getRootContainer() Example
- getStyle: PlasmoGetStyle api unable to get live-reload effect. HOT 2
- [BUG] The with-env example does not work
- [BUG] How to use tailwindcss style for suspended elements in custom components in contentui?
- [RFC] Manifest override by special target
- [BUG] tailwindcss doesn't work in content script UI HOT 4
- [RFC] Add Debugging Support
- [BUG] Service worker (background.ts) is not working HOT 2
- Why isn't there a packaging configuration file
- [BUG] I discovered tree shaking
- [BUG] "Cannot find module 'node:stream'" when use LuanRT / YouTube.js HOT 3
- Do I have to import in full tailwindcss antd daisyui in content.tsx
- [BUG] Sidepanel not autoreloading/auto-updating HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from plasmo.