Comments (8)
Hi Edoardo,
On my local cloud which is my Digital Ocean cloud and by mistake I update the node.js to 0.12 versio. Now even I went back to 0.10 it still not connecting but not giving me any error.
The core is not breathing cyan and not connecting to the cloud. Do you think even after reverting the node.js there is some elese broken ?
Please let me know if you have any idea.
Thanks,
Satyen
from spark-server.
@satendra4u , i highly recommend that you setup again using a clean installation and verify if the issue exists.
from spark-server.
@kennethlimcp, I re-ran through spark-server setup again (Mac OSX Yosemite 10.10.4) and am getting this:
Followed guide for installing spark-server (master branch)
$ git clone https://github.com/spark/spark-server.git
Cloning into 'spark-server'...
remote: Counting objects: 350, done.
remote: Total 350 (delta 0), reused 0 (delta 0), pack-reused 350
Receiving objects: 100% (350/350), 84.73 KiB | 0 bytes/s, done.
Resolving deltas: 100% (201/201), done.
Checking connectivity... done.
$ cd spark-server
spark-server $ npm install
[email protected] install /Users/../../../spark-server/node_modules/ursa
node-gyp rebuild
CXX(target) Release/obj.target/ursaNative/src/ursaNative.o
CXX(target) Release/obj.target/ursaNative/src/asprintf.o
SOLINK_MODULE(target) Release/ursaNative.node
[email protected] node_modules/xtend
[email protected] node_modules/node-oauth2-server
[email protected] node_modules/when
[email protected] node_modules/moment
[email protected] node_modules/hogan-express
└── [email protected] ([email protected], [email protected])
[email protected] node_modules/spark-protocol
├── [email protected]
├── [email protected]
├── [email protected]
└── [email protected] ([email protected], [email protected])
[email protected] node_modules/express
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected] ([email protected])
├── [email protected] ([email protected])
└── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
[email protected] node_modules/ursa
├── [email protected]
└── [email protected]
[email protected] node_modules/request
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected] ([email protected], [email protected], [email protected])
├── [email protected] ([email protected])
├── [email protected] ([email protected])
├── [email protected] ([email protected])
├── [email protected] ([email protected], [email protected], [email protected], [email protected])
├── [email protected] ([email protected])
└── [email protected] ([email protected], [email protected], [email protected], [email protected])
spark-server $ node -v
v0.12.7
spark-server $ nvm install 0.10.36
v0.10.36 is already installed.
Now using node v0.10.36 (npm v1.4.28)
spark-server $ node -v
v0.10.36
spark-server $ node main.js
No users exist, you should create some users!
connect.multipart() will be removed in connect 3.0
visit https://github.com/senchalabs/connect/wiki/Connect-3.0 for alternatives
connect.limit() will be removed in connect 3.0
dyld: lazy symbol binding failed: Symbol not found: _node_module_register
Referenced from: /Users/../../../spark-server/node_modules/ursa/build/Release/ursaNative.node
Expected in: dynamic lookup
dyld: Symbol not found: _node_module_register
Referenced from: /Users/../../../spark-server/node_modules/ursa/build/Release/ursaNative.node
Expected in: dynamic lookup
Trace/BPT trap: 5
spark-server $
If I switch to node 0.12.7 I get the same output as @endorama when i run node main.js
from spark-server.
It sounds like a problem building the "ursa" module, which depends on OpenSSL being installed. Can you run:
openssl version
from spark-server.
spark-server $ openssl version
OpenSSL 0.9.8zf 19 Mar 2015
from spark-server.
Hmm, this might be an issue with node modules that were partially installed, and then the version of node changed... Can you delete your "node_modules" folders, and try running npm install
again?
from spark-server.
That solved it! Thanks David!
from spark-server.
Awesome!
from spark-server.
Related Issues (20)
- OTA firmware update for Photons not working HOT 15
- Photons subscribed to SSEs do not return data HOT 1
- Subscribing to SSE using prefix filter does not work
- Installing dependencies fails HOT 3
- photon not works with the spark-server HOT 1
- Recommended Node.js version HOT 9
- Suggestion: safe mode healing / fleet management HOT 2
- SparkServer in production HOT 3
- Invalid CoAP version HOT 2
- Every time after "particle keys doctor core_id", "particle list" have no device which just added.
- Error: Invalid CoAP version HOT 5
- Not compatible with 0.5.x firmware HOT 1
- Subscribe does not work HOT 2
- device list is not udpated after addition of new Photon
- 0.6.0-rc.2 firmware no longer able to connect to spark-server HOT 8
- What are the features that are present only on the Particle cloud ? HOT 2
- How does this compare to the cloud server?
- Give this Repo some love :)
- Date Time format for DateTime Field HOT 1
- Photon handshake decryption error
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 spark-server.