Giter Site home page Giter Site logo

edge-cs's People

Contributors

accelazh avatar dpen2000 avatar lstratman avatar tjanczuk avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

edge-cs's Issues

Typo in link in README

The link to the Edge repo in the beginning of the README has a typo, and 404s because of it.

The URL is currently https://github.com/tjanczuk/egde, but it should be https://github.com/tjanczuk/edge.

Bug? install.js failed due to incorrect dotnet.exe path matched

When installing edge-cs, which is a dependent package to my project, tools/install.js failed (see details for error message). It prevents package installation.

Why failed

In install.js, the childProcess.spawn(dotnetPath, .. (line#27) was not using the correct dotnetPath.

The dotnetPath being used was C:\Program Files\dotnet, which is a folder name. However childProcess.spawn expects a executable file name, i.e. C:\Program Files\dotnet\dotnet.exe.

Digging deeper, function whereis allows matching folder name. My environment variable setup made it match C:\Program Files earlier than C:\Program Files\dotnet. (See details)

(I was using Windows 10.)

Details & reproduce

My environemnt %PATH%

...
C:\Program Files;  # This line made `whereis` match folder name rather than file name.
C:\Program Files\dotnet\;
...

My dotnet.exe path

C:\Program Files\dotnet\dotnet.exe

To reproduce. Below is the command that failed installation

E:\...\node_modules\edge-cs>node tools\install.js

events.js:174
      throw er; // Unhandled 'error' event
      ^

Error: spawn C:\Program Files\dotnet ENOENT
    at Process.ChildProcess._handle.onexit (internal/child_process.js:240:19)
    at onErrorNT (internal/child_process.js:415:16)
    at process._tickCallback (internal/process/next_tick.js:63:19)
    at Function.Module.runMain (internal/modules/cjs/loader.js:832:11)
    at startup (internal/bootstrap/node.js:283:19)
    at bootstrapNodeJSCore (internal/bootstrap/node.js:622:3)
Emitted 'error' event at:
    at Process.ChildProcess._handle.onexit (internal/child_process.js:246:12)
    at onErrorNT (internal/child_process.js:415:16)
    [... lines matching original stack trace ...]
    at bootstrapNodeJSCore (internal/bootstrap/node.js:622:3)
    at ProcessTermError.ExtendableBuiltin (c:\corextcache\NPM.OnCloudbuild.1.0.5-xstore\bin\lib\cli.js:721:66)
    at ProcessTermError.MessageError (c:\corextcache\NPM.OnCloudbuild.1.0.5-xstore\bin\lib\cli.js:750:123)
    at new ProcessTermError (c:\corextcache\NPM.OnCloudbuild.1.0.5-xstore\bin\lib\cli.js:790:113)
    at ChildProcess.<anonymous> (c:\corextcache\NPM.OnCloudbuild.1.0.5-xstore\bin\lib\cli.js:25799:17)
    at ChildProcess.emit (events.js:198:13)
    at maybeClose (internal/child_process.js:982:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)

Can you update the license for this repo to 'MIT'

Hi,

I am trying to use 'electron-edge-js' repo for a project. And that repo has a dependency to your repo. My company has blocked your repo saying license listed on npmjs for this repo 'None' is not valid. Is it possible for someone to update the license for this repo to a more standard license such as 'MIT' or 'Apache2.0'

Can there be an option for not running the dotnet restore during install?

We have a scenario where we have dotnet on the machine, and our nuget.config has custom feed that requires auth.

When run edge-cs install, the script fails for the following error

log : Password decryption is not supported on .NET Core for this platform.
The problem is we don't want to use dotnet core for edge js, so can you please add an option where we can disable the dotnet install?

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.