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.

Locating custom template: "angular2"

See original GitHub issue

Please describe your issue:

What command line arguments are you passing?

electron-forge init systm -t angular2

i got errors like that

An unhandled rejection has occurred inside Forge:
path must be a string
AssertionError: path must be a string
    at Module.require (module.js:496:3)
    at require (internal/module.js:20:19)
    at _callee4$ (/usr/local/lib/node_modules/electron-forge/dist/init/init-custom.js:108:30)
    at tryCatch (/usr/local/lib/node_modules/electron-forge/node_modules/regenerator-runtime/runtime.js:64:40)
    at GeneratorFunctionPrototype.invoke [as _invoke] (/usr/local/lib/node_modules/electron-forge/node_modules/regenerator-runtime/runtime.js:355:22)
    at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (/usr/local/lib/node_modules/electron-forge/node_modules/regenerator-runtime/runtime.js:116:21)
    at GeneratorFunctionPrototype.tryCatcher (/usr/local/lib/node_modules/electron-forge/node_modules/bluebird/js/release/util.js:16:23)
    at PromiseSpawn._promiseFulfilled (/usr/local/lib/node_modules/electron-forge/node_modules/bluebird/js/release/generators.js:97:49)
    at Promise._settlePromise (/usr/local/lib/node_modules/electron-forge/node_modules/bluebird/js/release/promise.js:572:26)
    at Promise._settlePromise0 (/usr/local/lib/node_modules/electron-forge/node_modules/bluebird/js/release/promise.js:612:10)
    at Promise._settlePromises (/usr/local/lib/node_modules/electron-forge/node_modules/bluebird/js/release/promise.js:691:18)
    at Async._drainQueue (/usr/local/lib/node_modules/electron-forge/node_modules/bluebird/js/release/async.js:133:16)
    at Async._drainQueues (/usr/local/lib/node_modules/electron-forge/node_modules/bluebird/js/release/async.js:143:10)
    at Immediate.Async.drainQueues (/usr/local/lib/node_modules/electron-forge/node_modules/bluebird/js/release/async.js:17:14)
    at runCallback (timers.js:649:20)
    at tryOnImmediate (timers.js:622:5)

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
maleptcommented, Jan 31, 2017

@odyright please upgrade to the latest (2.7.5 at the time of this comment) and try again. This bug was fixed in 2.7.1 (https://github.com/electron-userland/electron-forge/commit/42bf745a)

(I closed this because it’s a duplicate of https://github.com/electron-userland/electron-forge/issues/87)

0reactions
odyrightcommented, Jan 31, 2017

@MarshallOfSound I’m on 2.7.0 version

Read more comments on GitHub >

github_iconTop Results From Across the Web

Locating custom template: "angular2" #120 - electron/forge
FWIW, I cannot reproduce this error on Linux with Electron Forge 2.7.5 (well, git master, really, but still).
Read more >
finding template element in angular 2 - Stack Overflow
I got some problems with Angular2 creating custom directive with dynamic property binding. In Angular2, I want to get template element ...
Read more >
How to Use Template Reference Variables in Angular
To create a template reference variable, locate the HTML element that you want to reference and then tag it like so: #myVarName ....
Read more >
TemplateRef - Angular
Represents an embedded template that can be used to instantiate embedded views. To instantiate embedded views based on a template, use the ViewContainerRef ......
Read more >
ngTemplateOutlet: The secret to customisation - Angular inDepth
ngTemplateOutlet is a powerful tool for creating customisable components. It is used by many Angular libraries to enable users to provide custom templates....
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