Comments (12)
Fixed by #47
Released in v1.2.5
from cache-loader.
+1, same here
from cache-loader.
@michael-ciniawsky see b84d13e#r31116413 , I just commit a PR to fix this bug in #47
from cache-loader.
Doesn't work as part of the angular build as well:
ERROR in ./node_modules/@angular/core/fesm5/core.js
Module build failed: TypeError: Cannot read property '_statSync' of undefined
at stat (/home/m/xbet/mobile/node_modules/@ngtools/webpack/src/virtual_file_system_decorator.js:26:29)
at toDepDetails (/home/m/xbet/mobile/node_modules/cache-loader/dist/index.js:66:5)
at arrayIterator (/home/m/xbet/mobile/node_modules/neo-async/async.js:3780:9)
at timesSync (/home/m/xbet/mobile/node_modules/neo-async/async.js:2292:7)
at Object.mapLimit (/home/m/xbet/mobile/node_modules/neo-async/async.js:3775:5)
at Array.<anonymous> (/home/m/xbet/mobile/node_modules/cache-loader/dist/index.js:89:18)
at arrayEachFunc (/home/m/xbet/mobile/node_modules/neo-async/async.js:2512:19)
at Object.parallel (/home/m/xbet/mobile/node_modules/neo-async/async.js:6867:9)
at Object.loader (/home/m/xbet/mobile/node_modules/cache-loader/dist/index.js:88:9)
Explicitly stating version in package.json to 1.2.2 fixes the problem.
from cache-loader.
@patriceo :
If you need to fix it fast, add "cache-loader": "1.2.2",
to your package.json
If you have time, let the guys here release a new version (1.2.4 or 1.2.5 i guess). This will get fetched automatically, because in webpack there is a dependency to "cache-loader": "^1.2.0"
from cache-loader.
@patriceo :
If you need to fix it fast, add"cache-loader": "1.2.2",
to yourpackage.json
If you have time, let the guys here release a new version (1.2.4 or 1.2.5 i guess). This will get fetched automatically, because in webpack there is a dependency to"cache-loader": "^1.2.0"
Thanks that's exactly what I did, looking forward to seeing a new version.
from cache-loader.
when i update cache-loader from 1.2.2 to 1.2.4, i have this error
from cache-loader.
@mihiic yep, I did the same
from cache-loader.
same here
from cache-loader.
same here !!!
from cache-loader.
Please try and confirm
node_modules/cache-loader/index.js
// L69
- }
+ }.bind(this);
from cache-loader.
Hello, having the same here, breaking my angular project build :
ERROR in ./node_modules/core-js/es6/symbol.js
Module build failed: TypeError: Cannot read property '_statSync' of undefined
at stat (/home/circleci/wfo/wfo-web-client/node_modules/@ngtools/webpack/src/virtual_file_system_decorator.js:26:29)
at toDepDetails (/home/circleci/wfo/wfo-web-client/node_modules/cache-loader/dist/index.js:66:5)
at arrayIterator (/home/circleci/wfo/wfo-web-client/node_modules/neo-async/async.js:3780:9)
at timesSync (/home/circleci/wfo/wfo-web-client/node_modules/neo-async/async.js:2292:7)
at Object.mapLimit (/home/circleci/wfo/wfo-web-client/node_modules/neo-async/async.js:3775:5)
at Array. (/home/circleci/wfo/wfo-web-client/node_modules/cache-loader/dist/index.js:89:18)
at arrayEachFunc (/home/circleci/wfo/wfo-web-client/node_modules/neo-async/async.js:2512:19)
at Object.parallel (/home/circleci/wfo/wfo-web-client/node_modules/neo-async/async.js:6867:9)
at Object.loader (/home/circleci/wfo/wfo-web-client/node_modules/cache-loader/dist/index.js:88:9)
from cache-loader.
Related Issues (20)
- memory leak when using different splitchunks optimizations options HOT 3
- optimize cache-loader performance
- Should I remove cache-loader in webpack5 HOT 1
- file do not emit at the first build when using cache-loader with file-loader HOT 1
- Exception: Cannot read property 'stat' of undefined HOT 10
- custom write and read are much slower than the default HOT 3
- Module build failed: TypeError: Cannot read property 'async' of undefined at react-app-dashboard/node_modules/babel-loader/lib/index.js:50:27 HOT 1
- Change default cache directory HOT 1
- Should source maps be cached? HOT 1
- Should cache-loader use `module.exports.raw = true` to handle binary file ? HOT 6
- Using relative paths - sources still contains absolute paths HOT 5
- usage with eslint-loader, warnings/errors are swallowed after successful compilation HOT 5
- Can you describe when user should invalidate cache via setup custom cache dir, identity, etc? HOT 2
- using with file-loader, files are not builded if in cache, even if dist folder is empty HOT 5
- Use relative path on this.fs.stat returns stale metadata
- Control `cacheDirectory` with env variable HOT 3
- invalidate with cache HOT 3
- Cache TTL to assests HOT 1
- No files emitted with responsive-loader HOT 3
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 cache-loader.