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.

electronize is not fount in macOS

See original GitHub issue

I install the cli tool with dotnet tool install ElectronNET.CLI -g in macOS, but the command electronize is not found. But it’s worked on Windows.

> dotnet tool list -g
Package Id                            Version      Commands
------------------------------------------------------------------------------
dotnet-aspnet-codegenerator           2.2.2        dotnet-aspnet-codegenerator
electronnet.cli                       0.0.11       electronize
microsoft.web.librarymanager.cli      1.0.172      libman

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:3
  • Comments:5

github_iconTop GitHub Comments

16reactions
netpoeticacommented, May 28, 2019

@seanmars @LuciferJun1227 @phamquocthang @RockNHawk You must add dotnet tools to your $PATH. Most likely, you are using Bash, so you will have a ~/.bashrc or ~/.bash_profile that gets loaded in your terminal.

In your file, you must add

# .NET 
# For tools installed with `dotnet tool` command
export PATH="$HOME/.dotnet/tools:$PATH"

and then you must either source that file (eg source ~/.bash_profile) or create a new terminal window/tab.

I have added this to the bottom of my .zshrc, as I am using zshell instead of bash.

1reaction
brianpham93commented, May 23, 2019

Any update ? I’m facing same issue also

Read more comments on GitHub >

github_iconTop Results From Across the Web

Mac OSX Terminal not Recognizing installed CLI Tool
I guess it's something with your path&zsh, if you try: ~/.dotnet/tools/electronize start. is that work for you?
Read more >
ElectronNET.CLI 23.6.1
Building cross platform electron based desktop apps with .NET Core and ASP.NET Core. This package contains the dotnet tooling to electronize your application....
Read more >
Command Line Interface (CLI)
Without target configuration, electron-builder builds Electron app for current platform and current architecture using default target. macOS - DMG and ZIP for ...
Read more >
Building Cross-Platform Desktop Apps with Electron.NET
This article provides a walkthrough for developing and deploying an application with Electron.NET. Topics covered include:.
Read more >
Troubleshoot .NET tool usage issues
Discover the common issues when running .NET tools and possible solutions.
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