Giter Club home page Giter Club logo

Comments (5)

jpetitte avatar jpetitte commented on July 26, 2024

So, to update, I used the test.config.js from src/spec/fixtures, and it worked (in manual). And it worked by accessing port 8888, which isn't specified anywhere in the config. This just goes to show I really don't understand the various pieces. I'm going to continue to try to understand this, but any extra insight that can be provided would be appreciated.

from nucleus.

leofidus avatar leofidus commented on July 26, 2024

Node 10 might work with #61 (it's just 2 version changes you can do manually). Though I haven't tried that on Windows.

I don't have any idea about the reload problem. But in case it's any help, my notes for getting to a running Nucleus from a blank ubuntu/debian (probably also Linux Subsystem) look approximately like that:

sudo apt-get update && sudo apt-get dist-upgrade && sudo apt-get install curl
wget -qO- https://deb.nodesource.com/setup_10.x | sudo -E bash -
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
sudo apt-get update && sudo apt-get install yarn nodejs build-essential git
sudo apt-get install createrepo rpm gpg dpkg-dev apt-utils gnupg2 gzip sqlite3
sudo npm install -g npm@latest
cd
git clone https://github.com/atlassian/nucleus.git nucleus-server
git remote add leofidus https://github.com/leofidus/nucleus.git
git fetch leofidus
git merge leofidus/feature/ubuntufix
cd nucleus-server
cp config.template.js config.js
yarn
yarn build:server
yarn build:fe:prod
yarn start

Then just open localhost:3030 in a browser

from nucleus.

jpetitte avatar jpetitte commented on July 26, 2024

@leofidus thanks for the documentation on your procedure. I'll give it a try and see how it changes things. How did you know to do the last 4 yarn commands?

Also, currently, my local setup is able to connect to a password protected redis instance (I know it connects because redis indicates that another client has connected, which I also believe indicates that the password worked), but then it goes into the infinite loop. If the redis instance is not password protected, but I still have nucleus connect to redis, it works fine.

from nucleus.

leofidus avatar leofidus commented on July 26, 2024

How did you know to do the last 4 yarn commands?

plain yarn is just installing dependencies, the equivaltent of npm install. The other three come from the package.json. yarn start can just be replaced by node lib/index.js, or DEBUG=nucleus* node lib/index.js if you want to know what's actually happening.

If the redis instance is not password protected, but I still have nucleus connect to redis, it works fine

That explains it. See also #67. I simply edited src/rest/auth.ts#L43 to add a password until somebody gets around to making a proper patch.

from nucleus.

factorone avatar factorone commented on July 26, 2024

It appears that the reason why node-gyp is failing on Windows is due to its inability to download the tarball for sqlite from the remote server (https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v3.1.13/node-v67-win32-x64.tar.gz returns an Access Denied error).

Here's part of the stack trace from my simple yarn attempts on Win 10 with Node 11.x:

Exit code: 1
Command: node-pre-gyp install --fallback-to-build
Arguments:
Directory: C:\Dev\nucleus-1.1.3\node_modules\sqlite3
Output:
node-pre-gyp info it worked if it ends with ok
node-pre-gyp info using [email protected]
node-pre-gyp info using [email protected] | win32 | x64
node-pre-gyp info check checked for "C:\Dev\nucleus-1.1.3\node_modules\sqlite3\lib\binding\node-v67-win32-x64\node_sqlite3.node" (not found)
node-pre-gyp http GET https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v3.1.13/node-v67-win32-x64.tar.gz
node-pre-gyp http 403 https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v3.1.13/node-v67-win32-x64.tar.gz
node-pre-gyp ERR! Tried to download(403): https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v3.1.13/node-v67-win32-x64.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for [email protected] and [email protected] (node-v67 ABI, unknown) (falling back to source compile with node-gyp)
node-pre-gyp http 403 status code downloading tarball https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v3.1.13/node-v67-win32-x64.tar.gz
node-pre-gyp ERR! Tried to download(undefined): https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v3.1.13/node-v67-win32-x64.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for [email protected] and [email protected] (node-v67 ABI, unknown) (falling back to source compile with node-gyp)
node-pre-gyp http Connection closed while downloading tarball file

from nucleus.

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.