Comments (3)
@iamsanjeev declare it as a dependency in your package.json:
...
"dependencies": {
...
"iotivity-node": "git+https://github.com/otcshare/iotivity-node#1.2.0",
...
},
...
from iotivity-node.
It will still listen to OCTBSTACK_CFLAGS
and OCTBSTACK_LIBS
.
from iotivity-node.
thank you, I will try this.
At the moment, I have cloned iotivity-node within my JS app and this form of include seems to work.
var device = require( "../../iotivity-node" )( "client" );
from iotivity-node.
Related Issues (20)
- Missing 1.3.0 tag? HOT 3
- Missing include folder when using a version of IoTivity built separately (can't locate `octypes.h`) HOT 1
- Requiring iotivity-node takes ~2 seconds HOT 2
- Remove resource discovery from the retrieve() HOT 1
- Can't build HOT 5
- Build fail HOT 22
- why removed object in payload.values? HOT 2
- Invalid representation payload while sending property of object array HOT 2
- Fail to find file octypes.h when running 'npm install' HOT 2
- Errors running EnviroPhat example HOT 9
- No observers in list when running server.observable.js HOT 7
- Fail to build from HEAD HOT 2
- Parameter '--suites="!API Retrieve Secure Resource"' doesn't work in appveyor.yml on windows10 or windows8.1 HOT 2
- Build fails on Windows 10 HOT 5
- FTBFS on Ubuntu 18.04 HOT 7
- IoTivity node support for Android HOT 2
- Mfg certificate onboarding support HOT 2
- Changing the path of cbor format file
- Security iotivity-node HOT 13
- Installation failed with security enable
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 iotivity-node.