Giter VIP home page Giter VIP logo

Comments (3)

 avatar commented on August 26, 2024

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

The syntax of the command is incorrect.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] copy-client: copy "src/client/**/*.*" "!src/client/scripts/**/*.*" "!src/client/styles/**/*.*" "!src/client/videos/**/*.*" dist/client
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] copy-client script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\User\AppData\Roaming\npm-cache_logs\2018-09-13T03_34_36_502Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] copy-all: npm run copy-server && npm run copy-config && npm run copy-views && npm run copy-client
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] copy-all script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\User\AppData\Roaming\npm-cache_logs\2018-09-13T03_34_37_021Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] build: npm run clean-dist && npm run make-dist && npm run make-client && npm run copy-all && npm run build-js && npm run build-sass && npm run build-resource-list
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\User\AppData\Roaming\npm-cache_logs\2018-09-13T03_34_37_149Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] dev: npm run build && parallelshell "npm run watch" "npm run serve"
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] dev script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\User\AppData\Roaming\npm-cache_logs\2018-09-13T03_34_37_228Z-debug.log`

from sample-media-pwa.

Alexandr-Lazariev avatar Alexandr-Lazariev commented on August 26, 2024

In my case removing node_modules and ~/.node-gyp folders and running
npm install and
npm update
after, solved the problem

from sample-media-pwa.

scailbc avatar scailbc commented on August 26, 2024

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 command copy is from a npm library /jonschlinkert/copy.

I've installed the library globally, also since it didn't find the command I've replaced the command in the package.json with the full path of the binary

npm install --global copy
// package.json
"scripts": {
    ...
    "copy-client": "C:/nvm/v8.11.1/copy \"src/client/**/*.*\" \"!src/client/scripts/**/*.*\" \"!src/client/styles/**/*.*\" \"!src/client/videos/**/*.*\" \"dist/client\"",

This worked for me

from sample-media-pwa.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.