GithubHelp home page GithubHelp logo

Comments (4)

ralfhandl avatar ralfhandl commented on June 25, 2024

Hi,

I tested it with NodeJS 6.11.5 and npm 5.5.1 on Windows 10 Enterprise 1607.

Regards
Ralf

from odata-openapi.

ralfhandl avatar ralfhandl commented on June 25, 2024

@navaddins I installed NodeJS v8.9.3 and npm 5.6.0, installed the latest node-gyp globally, uninstalled xslt4node globally and installed xslt4node again globally. Then I ran odata2openapi -drp Northwind.xml and it produced the expected result.

Could you please try again with NodeJS 8.9.3, and cross-check that you

Thanks in advance
Ralf

from odata-openapi.

navaddins avatar navaddins commented on June 25, 2024

Dear Ralf,

Sorry for late reply and thanks you so much for your reply. I was away from my PC. Problem was solved but I don't know exactly what is the root cause. I deleted the node_modules under odata_master\tools. Api file is generated again after i use same command.

Here is result and command

PS C:\nodejs\odata-openapi-master\tools> npm install

[email protected] install C:\nodejs\odata-openapi-master\tools\node_modules\java
node-gyp rebuild

C:\nodejs\odata-openapi-master\tools\node_modules\java>if not defined npm_config_node_gyp (node "C:\nodejs\node_modules\npm\bin\node-gyp-bin\....\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node "" rebuild )
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
java.cpp
javaObject.cpp
javaScope.cpp
methodCallBaton.cpp
nodeJavaBridge.cpp
utils.cpp
win_delay_load_hook.cc
Creating library C:\nodejs\odata-openapi-master\tools\node_modules\java\build\Release\nodejavabridge_bindings.lib
and object C:\nodejs\odata-openapi-master\tools\node_modules\java\build\Release\nodejavabridge_bindings.exp
Generating code
Finished generating code
nodejavabridge_bindings.vcxproj -> C:\nodejs\odata-openapi-master\tools\node_modules\java\build\Release\nodejavabrid
ge_bindings.node
nodejavabridge_bindings.vcxproj -> C:\nodejs\odata-openapi-master\tools\node_modules\java\build\Release\nodejavabridg
e_bindings.pdb (Full PDB)

[email protected] postinstall C:\nodejs\odata-openapi-master\tools\node_modules\java
node postInstall.js

npm WARN [email protected] license should be a valid SPDX license expression

added 21 packages in 30.391s

I have another question regarding "npm WARN [email protected] license should be a valid SPDX license expression". May i know why warning message is come out and is it any issue if use odata2openapi?

Regards,

from odata-openapi.

ralfhandl avatar ralfhandl commented on June 25, 2024

Dear @navaddins,

Glad to hear that it now works.

The warning is caused by package.json referencing the LICENSE.md file in this repository, which in turn references the RF on RAND license mode used by the OASIS OData Technical Committee. Please have a look at this license and judge for yourself whether it will work for you.

Kind regards
Ralf

from odata-openapi.

Related Issues (20)

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.