TypeError: Cannot read properties of undefined (reading toString )
at C:UsersNeeda AnsariDesktopReact Projectsmyjewel
ode_moduleswebpacklibcachePackFileCacheStrategy.js:1243:53
at async Promise.all (index 42)
Node.js v18.15.0[entergraph here(
如何解决这一错误? 错误是什么
store(identifier, etag, data) {
if (this.readonly) return Promise.resolve();
// the error is in the line below
return this._getPack().then(pack => {
pack.set(identifier, etag === null? null : etag.toString(), data);
});
}