question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error when starting app

See original GitHub issue

Hi,

Startingt he application results in router.post is not a function.

Have setup mongodb started with options Y -> 1 -> Enter

When loading default template get the following:

readline.js:1015
            throw err;
            ^

TypeError: router.post is not a function
    at module.exports (/Users/benflowers/Projects/candidate/formio/src/templates/import.js:460:10)
    at importTemplate (/Users/benflowers/Projects/candidate/formio/install.js:378:55)
    at /Users/benflowers/Projects/candidate/formio/node_modules/async/lib/async.js:718:13
    at iterate (/Users/benflowers/Projects/candidate/formio/node_modules/async/lib/async.js:262:13)
    at /Users/benflowers/Projects/candidate/formio/node_modules/async/lib/async.js:274:29
    at /Users/benflowers/Projects/candidate/formio/node_modules/async/lib/async.js:44:16
    at /Users/benflowers/Projects/candidate/formio/node_modules/async/lib/async.js:723:17
    at /Users/benflowers/Projects/candidate/formio/node_modules/async/lib/async.js:167:37
    at /Users/benflowers/Projects/candidate/formio/install.js:326:9
    at /Users/benflowers/Projects/candidate/formio/node_modules/prompt/lib/prompt.js:316:32
    at /Users/benflowers/Projects/candidate/formio/node_modules/utile/node_modules/async/lib/async.js:142:25
    at assembler (/Users/benflowers/Projects/candidate/formio/node_modules/prompt/lib/prompt.js:313:9)
    at /Users/benflowers/Projects/candidate/formio/node_modules/prompt/lib/prompt.js:322:32
    at /Users/benflowers/Projects/candidate/formio/node_modules/prompt/lib/prompt.js:597:5
    at Interface.onLine (/Users/benflowers/Projects/candidate/formio/node_modules/read/lib/read.js:111:5)
    at emitOne (events.js:115:13)
    at Interface.emit (events.js:210:7)
    at Interface._onLine (readline.js:278:10)
    at Interface._line (readline.js:625:8)
    at Interface._ttyWrite (readline.js:904:14)
    at ReadStream.onkeypress (readline.js:157:10)
    at emitTwo (events.js:125:13)

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
travistcommented, Aug 13, 2017

This is now fixed in version 1.18.14. Sorry about the issue and thanks for the help.

1reaction
travistcommented, Aug 13, 2017

I will take a look right now.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Application Errors on Windows 10 startup - Microsoft Community
Hello, I just finished the upgrade to Windows 10 on my laptop (64-bit). It all seems to be working ok, but upon startup...
Read more >
Fix an installed Android app that isn't working - Google Support
Try the following steps if an app installed on your phone has any of these problems: Crashing. Won't open. Won't respond. Isn't working...
Read more >
How to Fix the “This App Can't Open” Error in Windows 10 & 11
5. Clear the Microsoft Store App's Cache · Launch the Run dialog (Win + R). · Input WSReset.exe in the Run dialog. The...
Read more >
How to Fix “The Application Was Unable to Start Correctly” on ...
Chapters. View all · Run the Application as an Administrator · Run the Application as an Administrator · Run the Application as an...
Read more >
Top 5 Ways to Fix Error in Application Issues on Android
2. Uninstall Then Reinstall Problematic Apps ... A problematic app can present itself in two ways; the app crashing during launching or an...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found