Giter VIP home page Giter VIP logo

generator-leadconduit-integration's People

Contributors

alexkwolfe avatar cgrayson avatar

Watchers

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

generator-leadconduit-integration's Issues

Cake test throws error: Cannot find module 'leadconduit-fields'

Here are the steps to duplicate the issue:

  1. npm update -g generator-leadcoduit-integration
  2. cd leadconduit-integration-requestBin
  3. Answer all prompt questions
  4. run cake test from documents/leadconduit-integration-requestBin

module.js:340
throw err;
^
Error: Cannot find module 'leadconduit-fields'
at Function.Module._resolveFilename (module.js:338:15)
at Function.Module._load (module.js:280:25)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object. (/Users/ap/Documents/leadconduit-integration-requestBin/spec/outbound-spec.coffee:2:10)
at Object. (/Users/ap/Documents/leadconduit-integration-requestBin/spec/outbound-spec.coffee:1:1)
at Module._compile (module.js:456:26)
at Object.loadFile (/Users/ap/Documents/leadconduit-integration-requestBin/node_modules/coffee-script/lib/coffee-script/register.js:16:19)
at Module.load (/Users/ap/Documents/leadconduit-integration-requestBin/node_modules/coffee-script/lib/coffee-script/register.js:45:36)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at /Users/ap/Documents/leadconduit-integration-requestBin/node_modules/mocha/lib/mocha.js:184:27
at Array.forEach (native)
at Mocha.loadFiles (/Users/ap/Documents/leadconduit-integration-requestBin/node_modules/mocha/lib/mocha.js:181:14)
at Mocha.run (/Users/ap/Documents/leadconduit-integration-requestBin/node_modules/mocha/lib/mocha.js:393:31)
at Object. (/Users/ap/Documents/leadconduit-integration-requestBin/node_modules/mocha/bin/_mocha:380:16)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Function.Module.runMain (module.js:497:10)
at startup (node.js:119:16)
at node.js:906:3

add standard helpers?

it seems that often when I build an integration, I'm looking for ways to parse integers and prices and etc in a way that doesn't break or return NaN. seems like we might be able to build a standard helper file to help guide newbies and oldbies alike.

should generate index.js

The generated package.json has the following reference, but no index.js is created.

"main": "index.js",

Receiving an exception after selecting basic fields

Here are the steps for recreating the error:

  1. create a public repo: ros3bud/leadconduit-integration-requestBin1
  2. create and cd into directory: Documents/leadconduit-integration-requestBin1
  3. run yo leadconduit-integration
  4. hit enter for name of service '(RequestBin1)'
  5. select integration type: 'Outbound'
  6. add service's URL: 'http://requestb.in/130wl15'
  7. hit enter for HTTP method 'POST'
  8. hit enter for 'No or not sure' for does the service require authentication?
  9. hit enter for 'Standard Form POST' for what format is the service expecting?
  10. arrow down to select 'XML (text/xml)' for what format does the service respond with?
  11. hit space bar for 'First Name', 'Last Name', 'Email'
  12. hit enter

After hitting enter, the following error is visible in my terminal:

/usr/local/lib/node_modules/yo/node_modules/yeoman-environment/node_modules/inquirer/node_modules/rx/dist/rx.all.js:8913
throw e;
^
TypeError: Cannot read property '1' of null
at yeoman.generators.Base.extend._processAnswers (/usr/local/lib/node_modules/generator-leadconduit-integration/app/index.js:275:30)
at PromptUI.completed (/usr/local/lib/node_modules/generator-leadconduit-integration/app/index.js:215:14)
at PromptUI.onCompletion (/usr/local/lib/node_modules/yo/node_modules/yeoman-environment/node_modules/inquirer/lib/ui/prompt.js:69:10)
at AnonymousObserver.Rx.AnonymousObserver.AnonymousObserver.completed (/usr/local/lib/node_modules/yo/node_modules/yeoman-environment/node_modules/inquirer/node_modules/rx/dist/rx.all.js:1761:12)
at AnonymousObserver.Rx.internals.AbstractObserver.AbstractObserver.onCompleted (/usr/local/lib/node_modules/yo/node_modules/yeoman-environment/node_modules/inquirer/node_modules/rx/dist/rx.all.js:1698:14)
at AutoDetachObserverPrototype.completed (/usr/local/lib/node_modules/yo/node_modules/yeoman-environment/node_modules/inquirer/node_modules/rx/dist/rx.all.js:8933:31)
at%

Here is an image of my terminal window with the error:
screenshot 2014-10-27 10 47 07

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.