Code Monkey home page Code Monkey logo

nwjs-edge-example1's Introduction

Hi there ๐Ÿ‘‹

From the time I was introduced to a Commodore 64 I instantly fell in love with software development. I think we are living in the golden age of software development. We have access to a seemlingly limitless knowledge base on the Internet and our tools are evolving at light speed. My passions right now is .NET/C# and Blazor. I'm also a huge fan of TypeScript and React and Node.

I wrote a simple app called Electron + Express that got over 400 stars. I'm still shocked by that!

I'm really interested in game development and am trying my hand at it. I've got a lot to learn!!!

Frank Hale's GitHub stats Top Langs

nwjs-edge-example1's People

Contributors

frankhale avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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  avatar  avatar

nwjs-edge-example1's Issues

Attempt to make this work with nwjs 0.13.3

My configuration:

  • Win7 x64
  • Visual Studio 2013
  • Python 2.7.3
  • Node.JS 4.4.2 (built-in npm 3.8.5)
  • nw-gyp 0.13.0 (npm install -g nw-gyp)
  • nw.js 0.13.3 , sdk version, x64
  • edge.js 5.0.0
  • Node.js command prompt
  1. I use as instruction this example for nwjs 0.12.0: https://github.com/frankhale/nw-edge-example, (it uses edge.js 0.10.1) and works perfectrly fine;
  2. but when i try to get work the same with nwjs 0.13.3 and edge.js 5.0.0, i get this error in the nw.js debugger:
    ...\TestApp_new_nwjs-sdk-v0.13.3-win-x64\TestApp\node_modules\edge\lib\edge.js:79 Uncaught TypeError: Cannot read property 'getFileName' of undefinedexports.func @
    ...\TestApp_new_nwjs-sdk-v0.13.3-win-x64\TestApp\node_modules\edge\lib\edge.js:79

79th string of edge.js looks like:
" options = { source: options, jsFileName: stack[1].getFileName(), jsLineNumber: stack[1].getLineNumber() }; "

What i change from instruction:

  1. target version, which i give to nw-gyp:
    "nw-gyp configure --target=v0.13.3 --msvs_version=2013"
  2. after building edge, it gives two files: "edge_coreclr.node" and "edge_nativeclr.node" instaed of one "edge.node" in previous versions of edge, so
    i create new dir ...\TestApp_new_nwjs-sdk-v0.13.3-win-x64\TestApp\node_modules\edge\lib\native\win32\x64\4.4.2
    (because i have node.js 4.4.2)
    and copy these files there
  3. i edit edge.js versionmapping:
    ...\TestApp_new_nwjs-sdk-v0.13.3-win-x64\TestApp\node_modules\edge\lib\edge.js:
    [ /^0.8./, '0.8.22' ],
    [ /^0.10./, '0.10.0' ],
    [ /^0.12./, '0.12.0' ],
    [ /^4./, '4.1.1' ],
    [ /^4.4.2/, '4.4.2' ], // i add this row
    [ /^5./, '5.1.0' ],
    Any suggestions?

Functionality with Node 6.x.x

I've been trying to get edgeJS running with Node 6.x.x. There's currently a pull request on @tjanczuk 's repo, but no action. Most likely you're going to have to update the readme. Again.

Using @medicomp 's fork I get a 'Module Version Mismatch' error

Failed to build

When i try to run

nw-gyp configure --target=v0.8.4

it ends up with warning and result in error while building

gyp info it worked if it ends with ok
gyp info using [email protected]
gyp info using [email protected] | win32 | ia32
gyp info spawn python
gyp info spawn args [ 'C:\\nodist\\bin\\node_modules\\nw-gyp\\gyp\\gyp_main.py',

gyp info spawn args   'binding.gyp',
gyp info spawn args   '-f',
gyp info spawn args   'msvs',
gyp info spawn args   '-G',
gyp info spawn args   'msvs_version=auto',
gyp info spawn args   '-I',
gyp info spawn args   'C:\\nw-edge-example\\node_modules\\edge\\build\\config.gy
pi',
gyp info spawn args   '-I',
gyp info spawn args   'C:\\nodist\\bin\\node_modules\\nw-gyp\\addon.gypi',
gyp info spawn args   '-I',
gyp info spawn args   'C:\\Users\\neo\\.nw-gyp\\0.8.4\\common.gypi',
gyp info spawn args   '-Dlibrary=shared_library',
gyp info spawn args   '-Dvisibility=default',
gyp info spawn args   '-Dnode_root_dir=C:\\Users\\neo\\.nw-gyp\\0.8.4',
gyp info spawn args   '-Dmodule_root_dir=C:\\nw-edge-example\\node_modules\\edge
',
gyp info spawn args   '--depth=.',
gyp info spawn args   '--generator-output',
gyp info spawn args   'C:\\nw-edge-example\\node_modules\\edge\\build',
gyp info spawn args   '-Goutput_dir=.' ]
Warning: while converting VCCLCompilerTool/RuntimeLibrary to MSBuild, index valu
e (-1) not in expected range [0, 4)
Warning: while converting VCCLCompilerTool/RuntimeTypeInfo to MSBuild, expected
bool; got '-1'
Warning: while converting VCCLCompilerTool/BasicRuntimeChecks to MSBuild, index
value (-1) not in expected range [0, 4)
Warning: while converting VCCLCompilerTool/BasicRuntimeChecks to MSBuild, index
value (-1) not in expected range [0, 4)
Warning: while converting VCCLCompilerTool/RuntimeLibrary to MSBuild, index valu
e (-1) not in expected range [0, 4)
Warning: while converting VCCLCompilerTool/RuntimeTypeInfo to MSBuild, expected
bool; got '-1'
gyp info ok

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.