Coder Social home page Coder Social logo

Comments (8)

dignifiedquire avatar dignifiedquire commented on August 25, 2024

@diasdavid looks like something in the api is not being parsed as it should be.

from ipfs-desktop.

dignifiedquire avatar dignifiedquire commented on August 25, 2024

I've done some updates, could you please try again with the latest version (make sure to run npm install before you try)

from ipfs-desktop.

G-Ray avatar G-Ray commented on August 25, 2024

Thanks! This time I get :

[1] info: Booting
[1] info: Application is ready
[1] info: Starting tray
[1] info: Initialzing new node
[0] webpack built a3cd8a14a48f20f490d2 in 14778ms
[1] info: Initializing new node with key size: 4096 in /home/geoffrey/.ipfs.
[1] error: Uncaught Exception: Unexpected token u [SyntaxError: Unexpected token u] SyntaxError: Unexpected token u
[1]     at Object.parse (native)
[1]     at /home/geoffrey/git/station/node_modules/ipfs-geoip/lib/lookup.js:17:22
[1]     at Request._callback (/home/geoffrey/git/station/node_modules/ipfs-api/src/request-api.js:39:7)
[1]     at Request.self.callback (/home/geoffrey/git/station/node_modules/request/request.js:198:22)
[1]     at emitTwo (events.js:87:13)
[1]     at Request.emit (events.js:172:7)
[1]     at Request.<anonymous> (/home/geoffrey/git/station/node_modules/request/request.js:1082:10)
[1]     at emitOne (events.js:82:20)
[1]     at Request.emit (events.js:169:7)
[1]     at IncomingMessage.<anonymous> (/home/geoffrey/git/station/node_modules/request/request.js:1009:12) { '0': [SyntaxError: Unexpected token u] }
[1] info: Shutting down application
[1] info: Stopping daemon
[1] info: Stopped daemon
[1] info: Stopped daemon

from ipfs-desktop.

dignifiedquire avatar dignifiedquire commented on August 25, 2024

Can you please try out the latest master and let me know if this still happens?

from ipfs-desktop.

fazo96 avatar fazo96 commented on August 25, 2024

It works for me on latest Arch Linux, running latest master using npm start

Log:

fazo@ape|~/Documenti/Git/station on master
❯❯❯ npm start

> [email protected] prestart /home/fazo/Documenti/Git/station
> npm run clean && npm run build:babel


> [email protected] clean /home/fazo/Documenti/Git/station
> rimraf build && mkdir build


> [email protected] build:babel /home/fazo/Documenti/Git/station
> babel app/config.js -o build/config.js && babel app/controls -d build/controls && babel app/init.js -o build/init.js

app/controls/drag-drop.js -> build/controls/drag-drop.js
app/controls/open-browser.js -> build/controls/open-browser.js
app/controls/open-console.js -> build/controls/open-console.js
app/controls/open-settings.js -> build/controls/open-settings.js
app/controls/utils.js -> build/controls/utils.js

> [email protected] start /home/fazo/Documenti/Git/station
> concurrent --kill-others 'node dev-server.js' 'npm run electron'

[0] Development server started at http://localhost:3000
[1] 
[1] > [email protected] electron /home/fazo/Documenti/Git/station
[1] > electron index.js
[1] 
[1] info: Application is ready
[1] info: Starting tray
[0] webpack built 97f90ccf0823c1721817 in 2430ms

It crashes when stopping though.... partial log:

[1] info: Shutting down application
[1] info: Stopping daemon
[1] info: Stopped daemon
[1] 
[1] npm
[1]  
[1] ERR!
[1]  Linux 4.2.5-1-ARCH
[1] npm
[1]  ERR! argv "/usr/bin/node" "/usr/bin/npm" "run" "electron"
[1] npm ERR! node v5.2.0
[1] npm ERR! npm  v3.5.2
[1] npm 
[1] ERR! code ELIFECYCLE
[1] npm ERR!
[1]  [email protected] electron: `electron index.js`
[1] npm ERR! Exit status 1
[1] npm ERR!
[1]  
[1] npm
[1]  ERR! Failed at the [email protected] electron script 'electron index.js'.
[1] npm ERR!
[1]  Make sure you have the latest version of node.js and npm installed.
[1] npm ERR! If you do, this is most likely a problem with the ipfs-station package,
[1] npm ERR! not with npm itself.
[1] npm 
[1] ERR! Tell the author that this fails on your system:
[1] npm ERR!     electron index.js
[1] npm ERR! You can get information on how to open an issue for this project with:
[1] npm 
[1] ERR!     npm bugs ipfs-station
[1] npm ERR!
[1]  Or if that isn't available, you can get their info via:
[1] npm ERR!     npm owner ls ipfs-station
[1] npm
[1]  ERR! There is likely additional logging output above.
[1] 
[1] npm ERR! Please include the following file with any support request:
[1] npm ERR!     /home/fazo/Documenti/Git/station/npm-debug.log
[1] npm run electron exited with code 1
--> Sending SIGTERM to other processes..
[0] node dev-server.js exited with code null

npm ERR! Linux 4.2.5-1-ARCH
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "start"
npm ERR! node v5.2.0
npm ERR! npm  v3.5.2
npm ERR! code ELIFECYCLE
npm ERR! [email protected] start: `concurrent --kill-others 'node dev-server.js' 'npm run electron'`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the [email protected] start script 'concurrent --kill-others 'node dev-server.js' 'npm run electron''.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the ipfs-station package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     concurrent --kill-others 'node dev-server.js' 'npm run electron'
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs ipfs-station
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls ipfs-station
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /home/fazo/Documenti/Git/station/npm-debug.log
-> [1]

from ipfs-desktop.

daviddias avatar daviddias commented on August 25, 2024

@G-Ray mind giving this another try? So many things have been updated :)

from ipfs-desktop.

G-Ray avatar G-Ray commented on August 25, 2024

Sorry @diasdavid I'm not using Arch anymore

from ipfs-desktop.

daviddias avatar daviddias commented on August 25, 2024

closing this one then. Thanks! :)

from ipfs-desktop.

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.