Comments (5)
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.
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.
@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.
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.
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)
- COPY failed: stat /var/lib/docker/tmp/docker-builder904419244/config.js: no such file or directory HOT 1
- [ERROR] node-pre-gyp err!
- downloading released package gives 102 error
- Feature Request: delete old versions (from ui and from server) to free up space
- TypeError: Cannot read property 'secret' of undefined
- [QUESTION] How do I remove an application from my Nucleus server HOT 1
- RELEASES files are empty HOT 1
- Can't release both Mac and Windows zip files HOT 1
- [QUESTION] How do I rollback a release that I accidentally made?
- Running `yarn dev` throws `nucleus Failed to connect to DB` error HOT 1
- Accessing the web dashboard throws `nucleus Error: ENOENT: no such file or directory, open 'SOME-DIR/nucleus-server/public_out/index.html'` error HOT 1
- GPG Signing Error - Invalid left-hand side expression in prefix operation
- Install fails on windows/ubuntu HOT 3
- Access-Control-Allow-Origin , Access by CORS
- GPG key is invalid or missing, you must provide "config.gpgSigningKey" HOT 5
- Nuclei Errors:
- Docs correction for electronforge link in docs/Uploading.md
- [question] [howto] How to post a file to Nucleus?
- error E:\User\Documents\Work\nucleus-server\node_modules\sqlite3: Command failed. HOT 9
- Could electron-builder publish electron app to nucleus server? HOT 1
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 nucleus.