User Profile

User's Address,Order,Post etc.

Signup time:2022.12.05 21:10:19

Showing 5 out of total 126

npm WARN notsup Not compatible with your version of node/npm: npm@9.8.1
Author : Anonymous Publish Time : 24 Aug 2023 16:09:49

这是一个警告信息,表示你当前的Node.js和npm版本不兼容。你正在使用npm@9.8.1版本,但你的Node.js版本可能是较早的版本。

要解决这个问题,你可以尝试以下几个步骤:

  1. 升级Node.js:请检查你的Node.js版本是否过时,并尝试更新到最新的稳定版本。你可以访问Node.js官方网站(https://nodejs.org/)来获取最新版本的Node.js安装程序。

     

     

  2. 使用适合你Node.js版本的npm:在升级Node.js之后,你可以尝试重新安装npm,确保安装的npm版本与你的新Node.js版本兼容。你可以运行以下命令来安装最新版本的npm:npm install -g npm@latest

     

     

如果以上方法仍然无法解决问题,那么你可能需要进一步了解你的操作系统和开发环境,以确定是否存在其他因素导致此警告信息的出现。

 

百度上说的,大概也是对的,

我是按照这个

https://www.python100.com/html/78655.html

但是有时候我们需要将node.js的版本升级到最新版本,这时候我们需要使用n模块进行管理。

1、使用n模块进行管理

首先需要先安装n模块

npm install -g n

然后执行以下命令,即可将node.js升级至最新版本

n latest
[PrestaShopException] There is no image type defined for "products". at line 371 in file src/Adapter/Image/ImageRetriever.php
Author : Anonymous Publish Time : 24 Aug 2023 06:47:27

[PrestaShopException]

There is no image type defined for "products".
at line 371 in file src/Adapter/Image/ImageRetriever.php

prestashop 后台错误 Unable to load template 'file:../public/preload.tpl' in 'header.tpl'
Author : Anonymous Publish Time : 24 Aug 2023 06:44:11

prestashop 后台错误 Unable to load template 'file:../public/preload.tpl' in 'header.tpl'

 

 

prestashop 8.0 Tab.php file [8192] strtolower(): Passing null to parameter #1 ($string) of type string is deprecated
Author : Anonymous Publish Time : 24 Aug 2023 04:45:19

Unknown error 在第 389 行,在 /var/www/html/xxx/classes/Tab.php 文件
[8192] strtolower(): Passing null to parameter #1 ($string) of type string is deprecated

Unknown error 在第 902 行,在 /var/www/html/xxx/classes/Dispatcher.php 文件
[8192] trim(): Passing null to parameter #1 ($string) of type string is deprecated

prestashop 8.0安装错误 Failed to create "/var/www/html/xxx/themes/classic/assets/cache/": mkdir(): Permission denied in
Author : Anonymous Publish Time : 24 Aug 2023 03:56:41

Fatal error: Uncaught Symfony\Component\Filesystem\Exception\IOException: Failed to create "/var/www/html/xxx/themes/classic/assets/cache/": mkdir(): Permission denied in /var/www/html/xxx/vendor/symfony/symfony/src/Symfony/Component/Filesystem/Filesystem.php:105 Stack trace: #0