Comments (4)
Bonjour Julien,
Effectivement, plutôt bête. Après avoir rollback les éléments indiqués, le build fonctionne parfaitement.
Merci beaucoup pour ton aide :)
from lindo.
Salut,
Essaie de travailler avec une version de Node 14 pour Lindo, y'a pas mal de dette technique et l'erreur vient peut etre de ta version de node trop recente.
Pour npm install --legacy-peer-deps --force
, ca ne risque pas de marcher : trop de dette technique pour casse si on met tout a jour brutallement
from lindo.
Merci pour ton retour.
Je viens de passer sur Node 14. Est-ce la bonne version ?
$ npm -v
6.14.17
$ node -v
v14.19.3
Malheureusement, j'ai toujours la même erreur, ça te parle ?
Cela vient de tsc -p electron
qui est lancé dans le npm run build:electron:dev
$ npm run build:dev
> [email protected] build:dev /home/kali/Documents/projects/lindo
> npm run build:electron:dev && ng build --watch
npm WARN config cache-min This option has been deprecated in favor of `--prefer-offline`.
npm WARN config cache-max This option has been deprecated in favor of `--prefer-online`
npm WARN config tmp This setting is no longer used. npm stores temporary files in a special
npm WARN config location in the cache, and they are managed by
npm WARN config [`cacache`](http://npm.im/cacache).
npm WARN config sso-type The --auth-type method of SSO/SAML/OAuth will be removed in a future
npm WARN config version of npm in favor of web-based login.
npm WARN config sso-poll-frequency The --auth-type method of SSO/SAML/OAuth will be removed in a future
npm WARN config version of npm in favor of web-based login.
npm WARN config auth-type This method of SSO/SAML/OAuth is deprecated and will be removed in
npm WARN config a future version of npm in favor of web-based login.
npm WARN config shrinkwrap Use the --package-lock setting instead.
npm WARN config optional Use `--omit=optional` to exclude optional dependencies, or
npm WARN config `--include=optional` to include them.
npm WARN config
npm WARN config Default value does install optional deps unless otherwise omitted.
> [email protected] build:electron:dev
> tsc -p electron/ && ncp electron/i18n dist/electron/i18n
electron/windows/main-window.ts:58:17 - error TS2322: Type '{ defaultFontSize: number; defaultEncoding: string; backgroundThrottling: false; allowRunningInsecureContent: true; webSecurity: false; partition: string; nodeIntegration: true; contextIsolation: false; enableRemoteModule: true; }' is not assignable to type 'WebPreferences'.
Object literal may only specify known properties, and 'enableRemoteModule' does not exist in type 'WebPreferences'.
58 enableRemoteModule: true
~~~~~~~~~~~~~~~~~~~~~~~~
node_modules/electron/electron.d.ts:13098:5
13098 webPreferences?: WebPreferences;
~~~~~~~~~~~~~~
The expected type comes from property 'webPreferences' which is declared here on type 'BrowserWindowConstructorOptions'
electron/windows/update-window.ts:32:17 - error TS2322: Type '{ webSecurity: false; nodeIntegration: true; contextIsolation: false; enableRemoteModule: true; }' is not assignable to type 'WebPreferences'.
Object literal may only specify known properties, and 'enableRemoteModule' does not exist in type 'WebPreferences'.
32 enableRemoteModule: true
~~~~~~~~~~~~~~~~~~~~~~~~
node_modules/electron/electron.d.ts:13098:5
13098 webPreferences?: WebPreferences;
~~~~~~~~~~~~~~
The expected type comes from property 'webPreferences' which is declared here on type 'BrowserWindowConstructorOptions'
Found 2 errors.
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! [email protected] build:dev: `npm run build:electron:dev && ng build --watch`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the [email protected] build:dev script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/kali/.npm/_logs/2022-06-04T14_48_36_684Z-debug.log
from lindo.
Je viens de passer sur Node 14. Est-ce la bonne version ?
C'est la version notée sur le readme donc ça doit être la bonne (je n'ai pas ouvert ça depuis un bout de temps)
Malheureusement, j'ai toujours la même erreur, ça te parle ?
Pour moi c'est parce que tu as installe des packages trop récent, supprime node_modules
, reset les fichiers packages.json
et packages-lock.json
, et relance une install (npm ci
)
from lindo.
Related Issues (20)
- fermeture du discord lindo HOT 10
- Bug with space character on some UI elements HOT 1
- Spoofer per character tab
- initial release no-emu no-mods no-enchance no-nothing HOT 1
- problems with the installation in windows 10 HOT 1
- Lindo V3 - Discussion (looking for developper and tester) HOT 5
- libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null) HOT 3
- Option to mute all inactive tabs
- Rework monster tooltip
- Auto-updater windows
- Localization
- Some shortcuts when removed make the app crash
- Can't create a new account from Lindo: HOT 1
- Background Process still active after closing Lindo
- Full screen mode not working properly HOT 1
- hello i just downloaded lindo and i can't log in cause of this error HOT 1
- Automatic bans from Ankama HOT 3
- Some assets didn't load (anti cheat system ?) HOT 7
- Serveur privée HOT 7
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 lindo.