Comments (8)
I am also facing the same issue @mebest100 any workarounds?
index.tsx:366 Uncaught TypeError: Object prototype may only be an Object or null: undefined
at Function.setPrototypeOf ()
at polyfills.js:139
at patch (polyfills.js:141)
at patch (graceful-fs.js:104)
at Object. (graceful-fs.js:96)
at Object../node_modules/node-localstorage/node_modules/graceful-fs/graceful-fs.js (graceful-fs.js:429)
from node-graceful-fs.
See #216.
from node-graceful-fs.
from node-graceful-fs.
Having the same issue with Laravel-mix v 6 which has this as a dependency. I read 216 but am uncertain how to identify a package which "is attempting to run in the browser but should only run on node". Any help would be greatly appreciated
from node-graceful-fs.
Another message for the next person who finds this - I don't know why the issue pointed to graceful-fs but somebody - whether VSCode or mix or a misttype on my part that autocompleted - added an import to one of my files that was causing the issue
import { find } from 'laravel-mix/src/File'
from node-graceful-fs.
I encountered the exactly same problem, the whole project can be found here
If I use the following version, everything is fine.
"svelte-language-server": "^0.13.9"
If I upgrade it, gracefulFs fails with the exactly same error
"svelte-language-server": "^0.14.0",
from node-graceful-fs.
I am facing same issue in my nuxt project. The nuxt mode is spa.
from node-graceful-fs.
version v4.2.5 or higher versions may cause this error.
from node-graceful-fs.
Related Issues (20)
- Issue with statSync when using new `throwIfNoEntry` option. HOT 2
- Incompatible with Electron v10.x.y+ when dealing with .asar HOT 2
- TypeError: Cannot read property 'uid' of undefined HOT 2
- ReferenceError thrown from clone.js HOT 1
- cb is not a function HOT 5
- Manipulate PDF with NUXT 3 for digital sign HOT 1
- graceful-fs doesn't use node module location from .yarnrc HOT 1
- "web3.storage": "^4.3.0" has issues with Angular 14.0.3 with files-from-path and graceful-fs dependencies
- NOT using gulp - primordials error HOT 1
- missing file 'fs.js'
- statSync read .sqlite3 unknow
- Version 4.2.11 will not pull from npmjs
- Generate SLSA Build L3 provenance HOT 3
- EMFILE error when attempting to read dir with 10,000 files (Windows 11) HOT 4
- Waad
- TypeError: Cannot define property Symbol(graceful-fs.queue), object is not extensible HOT 1
- Gracefulfs suddenly doesn't work anymore HOT 1
- Different speed of file rename to non-accessible destination on Windows
- createWriteStream from node-graceful-fs causes a memory leak
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 node-graceful-fs.