Comments (4)
Hi,
I tested it with NodeJS 6.11.5 and npm 5.5.1 on Windows 10 Enterprise 1607.
Regards
Ralf
from odata-openapi.
@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
- installed
node-gyp
globally, following the platform-specific installation instructions fornode-gyp
- installed
xslt4node
globally
before installing odata2openapi?
Thanks in advance
Ralf
from odata-openapi.
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 rebuildC:\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.jsnpm 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.
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)
- Specific OData XML file cannot be converted, only .tmp file is created HOT 2
- Error: spawnSync java ENOENT HOT 3
- Unexpected Token Error HOT 3
- Edm.Int64 PrimitiveType translated to anyOf["string", "integer"] HOT 2
- Support for /$count operation HOT 4
- Openapi specification only documents DELETE and PATCH for single entity URLs HOT 6
- SAP R3 FunctionImport: Documentation Tag in Parameter fails the generation HOT 4
- Property sap:label is not handled HOT 2
- <Key> in Schema creates errors HOT 1
- Empty output while converting `https://graph.microsoft.com/beta/$metadata` HOT 6
- FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory HOT 5
- More than two annotation target path segments HOT 5
- Unexpected node HOT 4
- Error in Conversion .edmx to OpenAPI format HOT 1
- documentation item HOT 2
- Could it be possible to generate for a part of the odataModel ? HOT 31
- Support annotation Core.ComputedDefaultValue
- TypeError: model.element(...).find is not a function HOT 4
- Missing cli feature: Add $metadata operation and root HOT 4
- Covert XMl to open api failes HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from odata-openapi.