Coder Social home page Coder Social logo

Comments (8)

satendra4u avatar satendra4u commented on August 11, 2024

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.

kennethlimcp avatar kennethlimcp commented on August 11, 2024

@satendra4u , i highly recommend that you setup again using a clean installation and verify if the issue exists.

from spark-server.

ashtonj avatar ashtonj commented on August 11, 2024

@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.

dmiddlecamp avatar dmiddlecamp commented on August 11, 2024

It sounds like a problem building the "ursa" module, which depends on OpenSSL being installed. Can you run:

openssl version

from spark-server.

ashtonj avatar ashtonj commented on August 11, 2024

spark-server $ openssl version
OpenSSL 0.9.8zf 19 Mar 2015

from spark-server.

dmiddlecamp avatar dmiddlecamp commented on August 11, 2024

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.

ashtonj avatar ashtonj commented on August 11, 2024

That solved it! Thanks David!

from spark-server.

dmiddlecamp avatar dmiddlecamp commented on August 11, 2024

Awesome!

from spark-server.

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.