GithubHelp home page GithubHelp logo

folder-template's People

Contributors

efidiles avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

folder-template's Issues

task is not registered error

I tried to use the package and encountered an error after running

npm run generate test ./

in this repository.

Output:

> [email protected] generate C:\Users\Admin\OneDrive\Code\NPM\folder-template-test
> ft "test" "./"
Current working directory:
~/OneDrive\Code\NPM\folder-template-test
task "test" is not registered
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] generate: `ft "test" "./"`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] generate 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\Admin\AppData\Roaming\npm-cache\_logs\2018-08-24T17_02_42_607Z-debug.log

skip binary file read

whenever there's binary file in the template folder it tries to read it instead of just renaming the file.

it will be useful if binary can be only renamed not compiled.

verbose stack Error

hello, I have followed the folder-template Getting started guide but I am receiving errors while running the generate command. I am new to github and npm and was wondering what the cause of the error could be. I noticed an open issue for windows environments; I am on a windows machine and was wondering if that might be the cause.

$ npm run generate component ./

> [email protected] generate D:\_root\_Projects\_WWW\experimental\wp-content\themes\palpa
> ft "component" "./"

Current working directory:
~/D:\_root\_Projects\_WWW\experimental\wp-content\themes\palpa
task "component" is not registered
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] generate: `ft "component" "./"`
npm ERR! Exit status 1

npm log:
2018-01-21T22_37_01_445Z-debug.log

excerpt:

9 verbose lifecycle [email protected]~generate: CWD: D:\_root\_Projects\_WWW\experimental\wp-content\themes\palpa
10 silly lifecycle [email protected]~generate: Args: [ '/d /s /c', 'ft "component" "./"' ]
11 silly lifecycle [email protected]~generate: Returned: code: 1  signal: null
12 info lifecycle [email protected]~generate: Failed to exec generate script
13 verbose stack Error: [email protected] generate: `ft "component" "./"`
13 verbose stack Exit status 1
13 verbose stack     at EventEmitter.<anonymous> (D:\laragon\bin\nodejs\node-v8\node_modules\npm\node_modules\npm-lifecycle\index.js:280:16)
13 verbose stack     at emitTwo (events.js:126:13)
13 verbose stack     at EventEmitter.emit (events.js:214:7)
13 verbose stack     at ChildProcess.<anonymous> (D:\laragon\bin\nodejs\node-v8\node_modules\npm\node_modules\npm-lifecycle\lib\spawn.js:55:14)
13 verbose stack     at emitTwo (events.js:126:13)
13 verbose stack     at ChildProcess.emit (events.js:214:7)
13 verbose stack     at maybeClose (internal/child_process.js:925:16)
13 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)

Thank you very much for your time and help

TODO

  • Create an install command to setup predefined sets of templates (such as a set of templates for angular, ngrx, react etc)
  • Create an example to demonstrate the usage of a handlebards if in templates
  • Show to the user where the files will be created (also mention CTRL + C to cancel)

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.