12/19/2023 0 Comments Nw.js pluginWed Apr 07 14:11:28 2021: skipping process C:\Windows\Microsoft.NET\Framework64\v9\csc.exe with pid: 9328 Wed Apr 07 14:11:28 2021: skipping process C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe with pid: 6700 Wed Apr 07 14:11:27 2021: skipping process C:\Program Files\nodejs\node.exe with pid: 7580 Wed Apr 07 14:11:27 2021: initializing json file Wed Apr 07 14:11:27 2021: current directory: c:\Projects\node-addon-examples\1_hello_world\nan Gyp info spawn args '-Dnode_gyp_dir=C:\\Users\\dstricks\\AppData\\Roaming Gyp info spawn args '-Dvisibility=default', Gyp info spawn args '-Dlibrary=shared_library', Gyp info spawn args 'C:\\Users\\dstricks\\AppData\\Roaming I was hoping there is a way to make it work.Ĭonsole output c:\Projects\node-addon-examples\1_hello_world\nan>build-wrapper-win-x86-64.exe -out-dir build_wrapper_output_directory C:\Users\dstricks\AppData\Roaming\npm\nw-gyp.cmd rebuild -target=0.50.2 -arch=圆4 (And also searching this forum extensively).Ĭompilation of the addon is done through the nw-gyp ( GitHub - nwjs/nw-gyp: native addon build tool for node-webkit) tool… which isn’t explicitly listed as a supported compiler, but behind-the-scenes it uses MSBuild which is supported (I think). this command:īuild-wrapper-win-x86-64.exe -out-dir build_wrapper_output_directory C:\Users\dstricks\AppData\Roaming\npm\nw-gyp.cmd rebuild -target=0.50.2 -arch=圆4 What have you tried so far: “Wrapping” our usual build command with the build-wrapper… i.e. What are you trying to achieve: A build-wrapper-dump.json with some captures that can be provided to the SonarQube scanner Which version are you using: The build-wrapper I downloaded from my local SonarQube instance running 8.7.1 Developer Edition. Npm i -D nwjs-webpack-plugin Basic Usage // ’m trying to analyze C++ source that is part of a Node.js C++ addon ( C++ addons | Node.js v15.14.0 Documentation), but the build wrapper is producing a build-wrapper-dump.json with zero captures. For example reload is triggered when build is done, or an error overlay is placed in case of an invalid build. The script manipulates the app in response to the events that receives. Example of events are (build succeed, build failed due to error, etc.)Ī script is being injected into the application that establishes the tcp connection with the server above. Starts automatically the application after webpack's compileĪ tcp server is being created during webpack's build, publishing important lifecycle events to clients.A black overlay will appear in case of code error. Something like webpack-dev-server for NW.js. A webpack plugin that provides live reload capabilities during development of NW.js applications.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |