Giter Site home page Giter Site logo

Comments (9)

LukeSkywalker92 avatar LukeSkywalker92 commented on September 27, 2024

Hey,

it's hard to tell what's going wrong without seeing the logs...
Can you please share them with us?

And please paste it as code for better readability =) (https://www.markdownguide.org/extended-syntax/#fenced-code-blocks)

Cheers
Luke

from teleframe.

spychi avatar spychi commented on September 27, 2024

Same bug on my setup.

Any idea?

from teleframe.

BongHole avatar BongHole commented on September 27, 2024

Hi Luke thanks for your reply !

I hope that are the logs you are looking for :)

(node:1964) electron: The default of contextIsolation is deprecated and will be changing from false to true in a future release of Electron. See electron/electron#23506 for more information
/home/pi/TeleFrame/node_modules/electron/dist/electron exited with signal SIGINT
npm WARN npm npm does not support Node.js v10.24.1
npm WARN npm You should probably upgrade to a newer version of node as we
npm WARN npm can't make any promises that npm will work with this version.
npm WARN npm You can find the latest version at https://nodejs.org/
(node:2217) electron: The default of contextIsolation is deprecated and will be changing from false to true in a future release of Electron. See electron/electron#23506 for more information
npm WARN npm npm does not support Node.js v10.24.1
npm WARN npm You should probably upgrade to a newer version of node as we
npm WARN npm can't make any promises that npm will work with this version.
npm WARN npm You can find the latest version at https://nodejs.org/
(node:2385) electron: The default of contextIsolation is deprecated and will be changing from false to true in a future release of Electron. See electron/electron#23506 for more information
npm WARN npm npm does not support Node.js v10.24.1
npm WARN npm You should probably upgrade to a newer version of node as we
npm WARN npm can't make any promises that npm will work with this version.
npm WARN npm You can find the latest version at https://nodejs.org/
(node:2543) electron: The default of contextIsolation is deprecated and will be changing from false to true in a future release of Electron. See electron/electron#23506 for more information
/home/pi/TeleFrame/node_modules/electron/dist/electron exited with signal SIGINT
npm WARN npm npm does not support Node.js v10.24.1
npm WARN npm You should probably upgrade to a newer version of node as we
npm WARN npm can't make any promises that npm will work with this version.
npm WARN npm You can find the latest version at https://nodejs.org/
(node:2681) electron: The default of contextIsolation is deprecated and will be changing from false to true in a future release of Electron. See electron/electron#23506 for more information
Failed to process updates. TelegramError: 409: Conflict: terminated by other getUpdates request; make sure that only one bot instance is running
at /home/pi/TeleFrame/node_modules/telegraf/core/network/client.js:281:17
at processTicksAndRejections (internal/process/task_queues.js:97:5) {
code: 409,
response: {
ok: false,
error_code: 409,
description: 'Conflict: terminated by other getUpdates request; make sure that only one bot instance is running'
},
description: 'Conflict: terminated by other getUpdates request; make sure that only one bot instance is running',
parameters: {},
on: { method: 'getUpdates?offset=0&limit=100&timeout=30', payload: {} }
}

from teleframe.

spychi avatar spychi commented on September 27, 2024

Where can I find the log file?

from teleframe.

BongHole avatar BongHole commented on September 27, 2024

this log file I found
/home/pi/.pm2/logs/TeleFrame-error.log

I tried to update with

sudo apt-get update
sudo apt-get upgrade

but that also didnt help because everything was up to date!

I am not realy used to linux, so it is more try and error :)

from teleframe.

spychi avatar spychi commented on September 27, 2024

Maybe i found a hint in JS Console
renderer.js:9 Uncaught TypeError: Cannot read property 'getGlobal' of undefined
at renderer.js:9

// Imports
const {remote, ipcRenderer, webFrame} = require("electron");
const $ = require("jquery");
window.jQuery = $;
const Swal = require("sweetalert2");
const randomColor = require("randomcolor");
const chroma = require("chroma-js");
const velocity = require("velocity-animate");
const logger = remote.getGlobal("rendererLogger"); // this is Line 9
const config = remote.getGlobal("config");

from teleframe.

spychi avatar spychi commented on September 27, 2024

The problem come with the update to electron v11.
With version 9.4.0 still works.
You can change the version in the package.json and restart with npm install && npm start

from teleframe.

BongHole avatar BongHole commented on September 27, 2024

nice!

works for me!

thank you!

from teleframe.

LukeSkywalker92 avatar LukeSkywalker92 commented on September 27, 2024

Hey guys.

I fixed the problem with #176.
Now you can use the latest electron version again.

Version 9.4.0 has some security issues, so it is wise to upgrade.

Cheers
Luke

from teleframe.

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.