tjanczuk / edge-cs Goto Github PK
View Code? Open in Web Editor NEWC# compiler for edge.js
License: Other
C# compiler for edge.js
License: Other
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
.
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)
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'
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?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.