Trying to upgrade to 24.1 #8228
Replies: 12 comments 19 replies
-
@laemtl help |
Beta Was this translation helpful? Give feedback.
-
@thomasbeaudry Hey, I have gotten more info thanks to @laemtl. the bug you are getting has already been fixed on the That being said, once you pull the new code in make sure to run the personally im running the following versions
|
Beta Was this translation helpful? Give feedback.
-
@driusan I tried it again with v24.1.1 but I get a different error now (see below). @ridz1208 I'm having problems upgrading node and npm, so I don't have the latest versions like you Error:
npm WARN [email protected] requires a peer of react-native@>=0.59 but none is installed. You must install peer dependencies yourself. audited 480 packages in 8.122s audited 1474 packages in 19.571s
Child
npm ERR! code ELIFECYCLE npm ERR! A complete log of this run can be found in: |
Beta Was this translation helpful? Give feedback.
-
Hi @thomasbeaudry, I think the |
Beta Was this translation helpful? Give feedback.
-
Hello @thomasbeaudry, can you share your |
Beta Was this translation helpful? Give feedback.
-
Hi @thomasbeaudry, try the following commands in order:
Also are you on a clean install of v21.1.1 by using the following commands: |
Beta Was this translation helpful? Give feedback.
-
Hi, I tried all of your commands on a clean install. I still get: $ npm run compile
Child
|
Beta Was this translation helpful? Give feedback.
-
Do you have eslint installed globally? Can you try to run |
Beta Was this translation helpful? Give feedback.
-
I think the log with the old node/npm version number is from a run before those got updated.
Your error indicates that an old version of eslint is running on your system. Since the one installed locally is correct, this may fix your issue. |
Beta Was this translation helpful? Give feedback.
-
@laemtl I added the line you suggested and now I get a different error at least!
Child
make: *** [javascript] Error 2 I checked the node modules directory and I don't have that file. But i have: /var/www/loris/node_modules/eslint/bin/eslint.js |
Beta Was this translation helpful? Give feedback.
-
@maltheism My latest build file (I think you mean my npm log ) is this: $ cat /home/lorisadmin/.npm/_logs/2022-11-10T20_37_21_358Z-debug.log |
Beta Was this translation helpful? Give feedback.
-
@thomasbeaudry Can we have access temporarily to your machine, or a replicate? |
Beta Was this translation helpful? Give feedback.
-
Hi, I'm running CentOS and trying to upgrade to 24.1. After successfully running the SQL patches, when I run make all I get the following error:
$ make all
npm install
npm WARN deprecated [email protected]: babel-eslint is now @babel/eslint-parser. This package will no longer receive updates.
npm WARN deprecated @npmcli/[email protected]: This functionality has been moved to @npmcli/fs
npm WARN deprecated [email protected]: core-js@<3.23.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Some versions have web compatibility issues. Please, upgrade your dependencies to the actual version of core-js.
npm WARN deprecated [email protected]: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
npm WARN deprecated [email protected]: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
npm WARN deprecated [email protected]: Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated [email protected]: https://github.com/lydell/resolve-url#deprecated
npm WARN deprecated [email protected]: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
Font Awesome Free 5.15.4 by @FontAwesome - https://fontawesome.com
License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
audited 481 packages in 5.265s
found 138 vulnerabilities (6 low, 36 moderate, 85 high, 11 critical)
run
npm audit fix
to fix them, ornpm audit
for detailsnpm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.3.2 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.2.7 (node_modules/watchpack-chokidar2/node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN The package style-loader is included as both a dev and production dependency.
added 1471 packages from 704 contributors and audited 1474 packages in 57.023s
found 10 vulnerabilities (1 low, 2 moderate, 7 high)
run
npm audit fix
to fix them, ornpm audit
for detailsnpm run compile
Child
Child
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! [email protected] compile:
webpack
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the [email protected] compile 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/lorisadmin/.npm/_logs/2022-11-09T19_59_54_303Z-debug.log
make: *** [javascript] Error 2
Thanks for your help!
Beta Was this translation helpful? Give feedback.
All reactions