sample-media-pwa icon indicating copy to clipboard operation
sample-media-pwa copied to clipboard

Error when running npm run dev

Open olyvatwist opened this issue 7 years ago • 5 comments

Getting the error from package.json.

"copy-client": "copy \"src/client/**/*.*\" \"!src/client/scripts/**/*.*\" \"!src/client/styles/**/*.*\" \"!src/client/videos/**/*.*\" dist/client",

I am using windows 8.1

olyvatwist avatar Jun 03 '17 08:06 olyvatwist

I wonder if this is due to paths etc being *nix-centric (I'm on a Mac). Unfortunately I don't have a Windows machine to check either way :-/

paullewis avatar Jun 05 '17 10:06 paullewis

@paullewis yup, same on Win10.

kaminskypavel avatar Jun 08 '17 01:06 kaminskypavel

I get complaints about missing mkdirp on both Windows and Linux until I run npm install.

After that, I get the same error on Windows. @paullewis, do you want to borrow access to Shaka Player's windows lab machine?

joeyparrish avatar Jun 15 '17 19:06 joeyparrish

Had the same error on windows 10, node 6.10 changed the build step = build runs , serve works see my fork: https://github.com/wernert/sample-media-pwa please try out.

wernert avatar Oct 01 '17 03:10 wernert

The command copy is an npm library. See my answer https://github.com/GoogleChromeLabs/sample-media-pwa/issues/41#issuecomment-567958171

scailbc avatar Dec 20 '19 17:12 scailbc