Thierry Fornetti
Thierry Fornetti
The command `copy` is an npm library. See my answer https://github.com/GoogleChromeLabs/sample-media-pwa/issues/41#issuecomment-567958171
Somehow the arrow functions are not supoprted. If you change this: ```bash _enableAllLinks () { const links = document.querySelectorAll('.js-item-link'); Array.from(links).forEach(link => { link.classList.remove('item--disabled'); link.removeEventListener('click', this._cancel); }); return Promise.resolve(); } ```...
> > > I also get error > `> [email protected] copy-client C:\Users\User\Desktop\sample-media-pwa > > > copy "src/client/**/_._" "!src/client/scripts/**/_._" "!src/client/styles/**/_._" "!src/client/videos/**/_._" dist/client > > ... I had the same problem, the...
I think this was solved in v12.0.8, where React was upgraded to v18. Anyway, my preferred solution is the [overrides option of the package.json](https://docs.npmjs.com/cli/v9/configuring-npm/package-json#overrides), that does not require the `--force`...