[ https://issues.apache.org/jira/browse/CB-5816?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13981132#comment-13981132 ]
ASF GitHub Bot commented on CB-5816: ------------------------------------ Github user jsoref commented on a diff in the pull request: https://github.com/apache/cordova-firefoxos/pull/7#discussion_r12001306 --- Diff: bin/lib/create.js --- @@ -53,14 +54,24 @@ exports.createProject = function(project_path,package_name,project_name){ //copy template folder shjs.cp('-r', path.join(ROOT, 'bin', 'templates', 'project', 'www'), project_path); + + //copy check_reqs file ,creat bin/lib if it does not exist yet + if(!fs.existsSync(path.join(project_path,'cordova', 'lib'))) { --- End diff -- not sure about this file, but often it's `if (` > FirefoxOS - add build script > ---------------------------- > > Key: CB-5816 > URL: https://issues.apache.org/jira/browse/CB-5816 > Project: Apache Cordova > Issue Type: Bug > Components: FirefoxOS > Reporter: Axel Nennker > > run: cordova build firefoxos > output: > Generating config.xml from defaults for platform "firefoxos" > Preparing firefoxos project > Compiling app on platform "firefoxos" via command > "/project/platforms/firefoxos/cordova/build" > events.js:72 > throw er; // Unhandled 'error' event > ^ > Error: spawn ENOENT > at errnoException (child_process.js:980:11) > at Process.ChildProcess._handle.onexit (child_process.js:771:34) > project$ > expected output: > nothing > --------- > platforms/firefoxos/cordova/build does not exist so the "cordova build > firefoxos" command fails. > Please add a "build" script (although it does nothing) -- This message was sent by Atlassian JIRA (v6.2#6252)