Coder Social home page Coder Social logo

generator-dockerapp-yunohost's People

Contributors

aymhce avatar

Stargazers

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

Watchers

 avatar  avatar  avatar

generator-dockerapp-yunohost's Issues

defaultPath is not defined

Just encountered this:

? Your Yunohost App name ? irrelevant
? Active context path option (like "/mypath") - can be empty ? y
? Active secure access by default ? No
? Active secure access option (yunohost auth or public access) ? Yes
? Active admin user option (admin app access for user) ? No
? English description ?  irrelevant
? Description en francais irrelevant
? App original url creators ? https://github.com/irrelevant/irrelevant/
? DockerHub image url ? https://hub.docker.com/r/irrelevant/irrelevant
? Your name ? irrelevant
? Your email ? irrelevant@protonmail.com
ReferenceError: /usr/local/lib/node_modules/generator-dockerapp-yunohost/generators/app/templates/check_process:7
    5| 	; Manifest
    6| 		domain="domain.tld"	(DOMAIN)<% if (defaultPathOption != "") { %>
 >> 7| 		path="/<%= defaultPath %>"	(PATH)<% } %><% if (secureAccessOption) { %>
    8| 		is_public=1	(PUBLIC|public=1|private=0)<% } %><% if (adminUserOption) { %>
    9| 		admin="john"    (USER)<% } %>
    10| 	; Checks

defaultPath is not defined
    at eval (/usr/local/lib/node_modules/generator-dockerapp-yunohost/generators/app/templates/check_process:15:26)
    at check_process (/usr/local/lib/node_modules/generator-dockerapp-yunohost/node_modules/ejs/lib/ejs.js:682:17)
    at Object.exports.render (/usr/local/lib/node_modules/generator-dockerapp-yunohost/node_modules/ejs/lib/ejs.js:419:37)
    at process (/usr/local/lib/node_modules/generator-dockerapp-yunohost/node_modules/mem-fs-editor/lib/actions/copy-tpl.js:12:18)
    at applyProcessingFunc (/usr/local/lib/node_modules/generator-dockerapp-yunohost/node_modules/mem-fs-editor/lib/actions/copy.js:13:16)
    at EditionInterface.exports._copySingle (/usr/local/lib/node_modules/generator-dockerapp-yunohost/node_modules/mem-fs-editor/lib/actions/copy.js:63:16)
    at /usr/local/lib/node_modules/generator-dockerapp-yunohost/node_modules/mem-fs-editor/lib/actions/copy.js:50:10
    at Array.forEach (<anonymous>)
    at EditionInterface.exports.copy (/usr/local/lib/node_modules/generator-dockerapp-yunohost/node_modules/mem-fs-editor/lib/actions/copy.js:49:9)
    at EditionInterface.module.exports [as copyTpl] (/usr/local/lib/node_modules/generator-dockerapp-yunohost/node_modules/mem-fs-editor/lib/actions/copy-tpl.js:10:8)

I botched it by replacing path="/<%= defaultPath %>" to path="/something" just to test and it ran!

Thanks for the script btw!

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.