如何通过一个命令解决"Error: EPERM: operation not permitted"问题

前言

大家好,我是码不达意,正当我兴致勃勃的准备学起nextjs的官方文档教程第一章时,即在我们的vscode 编辑器中通过terminal打开window的powershell终端执行以下命令时,就开始报错了,顿时没了热情,关上电脑便睡觉去了。对于我来说,一开始就遇上了问题,对于学习一个新的工具或者一门新的语言,无疑是大大的打击。但是如果遇到问题就放弃,那学什么都很难学会,睡醒后继续解决问题。下面就详细说一下我是如何通过标题说那样,一个命令解决我的问题的

操作

shell 复制代码
npx create-next-app@latest nextjs-dashboard --use-npm --example "https://github.com/vercel/next-learn/tree/main/dashboard/starter-example"

报错详细信息

bash 复制代码
PS D:\vscodeProject> npx create-next-app@latest nextjs-dashboard --use-npm --example "https://github.com/vercel/next-learn/tree/main/dashboard/starter-example"
Creating a new Next.js app in D:\vscodeProject\nextjs-dashboard.

Downloading files from repo https://github.com/vercel/next-learn/tree/main/dashboard/starter-example. This might take a moment.

Installing packages. This might take a couple of minutes.

npm WARN cleanup Failed to remove some directories [
npm WARN cleanup   [
npm WARN cleanup     'D:\\vscodeProject\\nextjs-dashboard\\node_modules',
npm WARN cleanup     [Error: EPERM: operation not permitted, rmdir 'D:\vscodeProject\nextjs-dashboard\node_modules\next\dist\shared\lib'] {
npm WARN cleanup       errno: -4048,
npm WARN cleanup       code: 'EPERM',
npm WARN cleanup       syscall: 'rmdir',
npm WARN cleanup       path: 'D:\\vscodeProject\\nextjs-dashboard\\node_modules\\next\\dist\\shared\\lib'
npm WARN cleanup     }
npm WARN cleanup   ],
npm WARN cleanup   [
npm WARN cleanup     'D:\\vscodeProject\\nextjs-dashboard\\node_modules\\@typescript-eslint\\eslint-plugin',
npm WARN cleanup     [Error: EPERM: operation not permitted, rmdir 'D:\vscodeProject\nextjs-dashboard\node_modules\@typescript-eslint\eslint-plugin'] {
npm WARN cleanup       errno: -4048,
npm WARN cleanup       code: 'EPERM',
npm WARN cleanup       syscall: 'rmdir',
npm WARN cleanup       path: 'D:\\vscodeProject\\nextjs-dashboard\\node_modules\\@typescript-eslint\\eslint-plugin'
npm WARN cleanup     }
npm WARN cleanup   ]
npm WARN cleanup ]
npm ERR! code 1
npm ERR! path D:\vscodeProject\nextjs-dashboard\node_modules\bcrypt
npm ERR! command failed
npm ERR! command C:\WINDOWS\system32\cmd.exe /d /s /c node-pre-gyp install --fallback-to-build        
npm ERR! Failed to execute 'E:\install\nodejs\node.exe E:\install\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js configure --fallback-to-build --module=D:\vscodeProject\nextjs-dashboard\node_modules\bcrypt\lib\binding\napi-v3\bcrypt_lib.node --module_name=bcrypt_lib --module_path=D:\vscodeProject\nextjs-dashboard\node_modules\bcrypt\lib\binding\napi-v3 --napi_version=9 --node_abi_napi=napi --napi_build_version=3 --node_napi_label=napi-v3' (1)
npm ERR! node-pre-gyp info it worked if it ends with ok
npm ERR! node-pre-gyp info using node-pre-gyp@1.0.11
npm ERR! node-pre-gyp info using node@20.11.1 | win32 | x64
npm ERR! node-pre-gyp info check checked for "D:\vscodeProject\nextjs-dashboard\node_modules\bcrypt\lib\binding\napi-v3\bcrypt_lib.node" (not found)
npm ERR! node-pre-gyp http GET https://github.com/kelektiv/node.bcrypt.js/releases/download/v5.1.1/bcrypt_lib-v5.1.1-napi-v3-win32-x64-unknown.tar.gz
npm ERR! node-pre-gyp ERR! install request to https://github.com/kelektiv/node.bcrypt.js/releases/download/v5.1.1/bcrypt_lib-v5.1.1-napi-v3-win32-x64-unknown.tar.gz failed, reason: connect ETIMEDOUT 20.205.243.166:443
npm ERR! node-pre-gyp WARN Pre-built binaries not installable for bcrypt@5.1.1 and node@20.11.1 (node-v115 ABI, unknown) (falling back to source compile with node-gyp)
npm ERR! node-pre-gyp WARN Hit error request to https://github.com/kelektiv/node.bcrypt.js/releases/download/v5.1.1/bcrypt_lib-v5.1.1-napi-v3-win32-x64-unknown.tar.gz failed, reason: connect ETIMEDOUT 20.205.243.166:443
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp info using node-gyp@10.0.1
npm ERR! gyp info using node@20.11.1 | win32 | x64
npm ERR! gyp info ok
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp info using node-gyp@10.0.1
npm ERR! gyp info using node@20.11.1 | win32 | x64
npm ERR! gyp ERR! find Python
npm ERR! gyp ERR! find Python Python is not set from command line or npm configuration
npm ERR! gyp ERR! find Python Python is not set from environment variable PYTHON
npm ERR! gyp ERR! find Python checking if the py launcher can be used to find Python 3
npm ERR! gyp ERR! find Python - executable path is ""
npm ERR! gyp ERR! find Python - "" could not be run
npm ERR! gyp ERR! find Python checking if "python3" can be used
npm ERR! gyp ERR! find Python - executable path is ""
npm ERR! gyp ERR! find Python - "" could not be run
npm ERR! gyp ERR! find Python checking if "python" can be used
npm ERR! gyp ERR! find Python - executable path is ""
npm ERR! gyp ERR! find Python - "" could not be run
npm ERR! gyp ERR! find Python checking if Python is C:\Users\chenrj\AppData\Local\Programs\Python\Python311\python.exe
npm ERR! gyp ERR! find Python - version is ""
npm ERR! gyp ERR! find Python - version is  - should be >=3.6.0
npm ERR! gyp ERR! find Python - THIS VERSION OF PYTHON IS NOT SUPPORTED
npm ERR! gyp ERR! find Python - "C:\Users\chenrj\AppData\Local\Programs\Python\Python311\python.exe" could not be run
npm ERR! gyp ERR! find Python checking if Python is C:\Program Files\Python311\python.exe
npm ERR! gyp ERR! find Python - version is ""
npm ERR! gyp ERR! find Python - version is  - should be >=3.6.0
npm ERR! gyp ERR! find Python - THIS VERSION OF PYTHON IS NOT SUPPORTED
npm ERR! gyp ERR! find Python - "C:\Program Files\Python311\python.exe" could not be run
npm ERR! gyp ERR! find Python checking if Python is C:\Users\chenrj\AppData\Local\Programs\Python\Python311-32\python.exe
npm ERR! gyp ERR! find Python - version is ""
npm ERR! gyp ERR! find Python - version is  - should be >=3.6.0
npm ERR! gyp ERR! find Python - THIS VERSION OF PYTHON IS NOT SUPPORTED
npm ERR! gyp ERR! find Python - "C:\Users\chenrj\AppData\Local\Programs\Python\Python311-32\python.exe" could not be run
npm ERR! gyp ERR! find Python checking if Python is C:\Program Files\Python311-32\python.exe
npm ERR! gyp ERR! find Python - version is ""
npm ERR! gyp ERR! find Python - version is  - should be >=3.6.0
npm ERR! gyp ERR! find Python - THIS VERSION OF PYTHON IS NOT SUPPORTED
npm ERR! gyp ERR! find Python - "C:\Program Files\Python311-32\python.exe" could not be run
npm ERR! gyp ERR! find Python checking if Python is C:\Program Files (x86)\Python311-32\python.exe    
npm ERR! gyp ERR! find Python - version is ""
npm ERR! gyp ERR! find Python - version is  - should be >=3.6.0
npm ERR! gyp ERR! find Python - THIS VERSION OF PYTHON IS NOT SUPPORTED
npm ERR! gyp ERR! find Python - "C:\Program Files (x86)\Python311-32\python.exe" could not be run     
npm ERR! gyp ERR! find Python checking if Python is C:\Users\chenrj\AppData\Local\Programs\Python\Python310\python.exe
npm ERR! gyp ERR! find Python - version is ""
npm ERR! gyp ERR! find Python - version is  - should be >=3.6.0
npm ERR! gyp ERR! find Python - THIS VERSION OF PYTHON IS NOT SUPPORTED
npm ERR! gyp ERR! find Python - "C:\Users\chenrj\AppData\Local\Programs\Python\Python310\python.exe" could not be run
npm ERR! gyp ERR! find Python checking if Python is C:\Program Files\Python310\python.exe
npm ERR! gyp ERR! find Python - version is ""
npm ERR! gyp ERR! find Python - version is  - should be >=3.6.0
npm ERR! gyp ERR! find Python - THIS VERSION OF PYTHON IS NOT SUPPORTED
npm ERR! gyp ERR! find Python - "C:\Program Files\Python310\python.exe" could not be run
npm ERR! gyp ERR! find Python checking if Python is C:\Users\chenrj\AppData\Local\Programs\Python\Python310-32\python.exe
npm ERR! gyp ERR! find Python - version is ""
npm ERR! gyp ERR! find Python - version is  - should be >=3.6.0
npm ERR! gyp ERR! find Python - THIS VERSION OF PYTHON IS NOT SUPPORTED
npm ERR! gyp ERR! find Python - "C:\Users\chenrj\AppData\Local\Programs\Python\Python310-32\python.exe" could not be run
npm ERR! gyp ERR! find Python checking if Python is C:\Program Files\Python310-32\python.exe
npm ERR! gyp ERR! find Python - version is ""
npm ERR! gyp ERR! find Python - version is  - should be >=3.6.0
npm ERR! gyp ERR! find Python - THIS VERSION OF PYTHON IS NOT SUPPORTED
npm ERR! gyp ERR! find Python - "C:\Program Files\Python310-32\python.exe" could not be run
npm ERR! gyp ERR! find Python checking if Python is C:\Program Files (x86)\Python310-32\python.exe    
npm ERR! gyp ERR! find Python - version is ""
npm ERR! gyp ERR! find Python - version is  - should be >=3.6.0
npm ERR! gyp ERR! find Python - THIS VERSION OF PYTHON IS NOT SUPPORTED
npm ERR! gyp ERR! find Python - "C:\Program Files (x86)\Python310-32\python.exe" could not be run     
npm ERR! gyp ERR! find Python checking if Python is C:\Users\chenrj\AppData\Local\Programs\Python\Python39\python.exe
npm ERR! gyp ERR! find Python - version is ""
npm ERR! gyp ERR! find Python - version is  - should be >=3.6.0
npm ERR! gyp ERR! find Python - THIS VERSION OF PYTHON IS NOT SUPPORTED
npm ERR! gyp ERR! find Python - "C:\Users\chenrj\AppData\Local\Programs\Python\Python39\python.exe" could not be run
npm ERR! gyp ERR! find Python checking if Python is C:\Program Files\Python39\python.exe
npm ERR! gyp ERR! find Python - version is ""
npm ERR! gyp ERR! find Python - version is  - should be >=3.6.0
npm ERR! gyp ERR! find Python - THIS VERSION OF PYTHON IS NOT SUPPORTED
npm ERR! gyp ERR! find Python - "C:\Program Files\Python39\python.exe" could not be run
npm ERR! gyp ERR! find Python checking if Python is C:\Users\chenrj\AppData\Local\Programs\Python\Python39-32\python.exe
npm ERR! gyp ERR! find Python - version is ""
npm ERR! gyp ERR! find Python - version is  - should be >=3.6.0
npm ERR! gyp ERR! find Python - THIS VERSION OF PYTHON IS NOT SUPPORTED
npm ERR! gyp ERR! find Python - "C:\Users\chenrj\AppData\Local\Programs\Python\Python39-32\python.exe" could not be run
npm ERR! gyp ERR! find Python checking if Python is C:\Program Files\Python39-32\python.exe
npm ERR! gyp ERR! find Python - version is ""
npm ERR! gyp ERR! find Python - version is  - should be >=3.6.0
npm ERR! gyp ERR! find Python - THIS VERSION OF PYTHON IS NOT SUPPORTED
npm ERR! gyp ERR! find Python - "C:\Program Files\Python39-32\python.exe" could not be run
npm ERR! gyp ERR! find Python checking if Python is C:\Program Files (x86)\Python39-32\python.exe     
npm ERR! gyp ERR! find Python - version is ""
npm ERR! gyp ERR! find Python - version is  - should be >=3.6.0
npm ERR! gyp ERR! find Python - THIS VERSION OF PYTHON IS NOT SUPPORTED
npm ERR! gyp ERR! find Python - "C:\Program Files (x86)\Python39-32\python.exe" could not be run
npm ERR! gyp ERR! find Python checking if Python is C:\Users\chenrj\AppData\Local\Programs\Python\Python38\python.exe
npm ERR! gyp ERR! find Python - version is ""
npm ERR! gyp ERR! find Python - version is  - should be >=3.6.0
npm ERR! gyp ERR! find Python - THIS VERSION OF PYTHON IS NOT SUPPORTED
npm ERR! gyp ERR! find Python - "C:\Users\chenrj\AppData\Local\Programs\Python\Python38\python.exe" could not be run
npm ERR! gyp ERR! find Python checking if Python is C:\Program Files\Python38\python.exe
npm ERR! gyp ERR! find Python - version is ""
npm ERR! gyp ERR! find Python - version is  - should be >=3.6.0
npm ERR! gyp ERR! find Python - THIS VERSION OF PYTHON IS NOT SUPPORTED
npm ERR! gyp ERR! find Python - "C:\Program Files\Python38\python.exe" could not be run
npm ERR! gyp ERR! find Python checking if Python is C:\Users\chenrj\AppData\Local\Programs\Python\Python38-32\python.exe
npm ERR! gyp ERR! find Python - version is ""
npm ERR! gyp ERR! find Python - version is  - should be >=3.6.0
npm ERR! gyp ERR! find Python - THIS VERSION OF PYTHON IS NOT SUPPORTED
npm ERR! gyp ERR! find Python - "C:\Users\chenrj\AppData\Local\Programs\Python\Python38-32\python.exe" could not be run
npm ERR! gyp ERR! find Python checking if Python is C:\Program Files\Python38-32\python.exe
npm ERR! gyp ERR! find Python - version is ""
npm ERR! gyp ERR! find Python - version is  - should be >=3.6.0
npm ERR! gyp ERR! find Python - THIS VERSION OF PYTHON IS NOT SUPPORTED
npm ERR! gyp ERR! find Python - "C:\Program Files\Python38-32\python.exe" could not be run
npm ERR! gyp ERR! find Python checking if Python is C:\Program Files (x86)\Python38-32\python.exe     
npm ERR! gyp ERR! find Python - version is ""
npm ERR! gyp ERR! find Python - version is  - should be >=3.6.0
npm ERR! gyp ERR! find Python - THIS VERSION OF PYTHON IS NOT SUPPORTED
npm ERR! gyp ERR! find Python - "C:\Program Files (x86)\Python38-32\python.exe" could not be run      
npm ERR! gyp ERR! find Python
npm ERR! gyp ERR! find Python **********************************************************
npm ERR! gyp ERR! find Python You need to install the latest version of Python.
npm ERR! gyp ERR! find Python Node-gyp should be able to find and use Python. If not,
npm ERR! gyp ERR! find Python you can try one of the following options:
npm ERR! gyp ERR! find Python - Use the switch --python="C:\Path\To\python.exe"
npm ERR! gyp ERR! find Python (accepted by both node-gyp and npm)
npm ERR! gyp ERR! find Python - Set the environment variable PYTHON
npm ERR! gyp ERR! find Python - Set the npm configuration variable python:
npm ERR! gyp ERR! find Python npm config set python "C:\Path\To\python.exe"
npm ERR! gyp ERR! find Python For more information consult the documentation at:
npm ERR! gyp ERR! find Python https://github.com/nodejs/node-gyp#installation
npm ERR! gyp ERR! find Python **********************************************************
npm ERR! gyp ERR! find Python
npm ERR! gyp ERR! configure error
npm ERR! gyp ERR! stack Error: Could not find any Python installation to use
npm ERR! gyp ERR! stack at PythonFinder.fail (E:\install\nodejs\node_modules\npm\node_modules\node-gyp\lib\find-python.js:306:11)
npm ERR! gyp ERR! stack at PythonFinder.findPython (E:\install\nodejs\node_modules\npm\node_modules\node-gyp\lib\find-python.js:164:17)
npm ERR! gyp ERR! stack at process.processTicksAndRejections (node:internal/process/task_queues:95:5) 
npm ERR! gyp ERR! stack at async configure (E:\install\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:23:18)
npm ERR! gyp ERR! stack at async run (E:\install\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js:81:18)
npm ERR! gyp ERR! System Windows_NT 10.0.22631
npm ERR! gyp ERR! command "E:\\install\\nodejs\\node.exe" "E:\\install\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "configure" "--fallback-to-build" "--module=D:\\vscodeProject\\nextjs-dashboard\\node_modules\\bcrypt\\lib\\binding\\napi-v3\\bcrypt_lib.node" "--module_name=bcrypt_lib" "--module_path=D:\\vscodeProject\\nextjs-dashboard\\node_modules\\bcrypt\\lib\\binding\\napi-v3" "--napi_version=9" "--node_abi_napi=napi" "--napi_build_version=3" "--node_napi_label=napi-v3"        
npm ERR! gyp ERR! cwd D:\vscodeProject\nextjs-dashboard\node_modules\bcrypt
npm ERR! gyp ERR! node -v v20.11.1
npm ERR! gyp ERR! node-gyp -v v10.0.1
npm ERR! gyp ERR! not ok
npm ERR! node-pre-gyp ERR! build error
npm ERR! node-pre-gyp ERR! stack Error: Failed to execute 'E:\install\nodejs\node.exe E:\install\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js configure --fallback-to-build --module=D:\vscodeProject\nextjs-dashboard\node_modules\bcrypt\lib\binding\napi-v3\bcrypt_lib.node --module_name=bcrypt_lib --module_path=D:\vscodeProject\nextjs-dashboard\node_modules\bcrypt\lib\binding\napi-v3 --napi_version=9 --node_abi_napi=napi --napi_build_version=3 --node_napi_label=napi-v3' (1)
npm ERR! node-pre-gyp ERR! stack     at ChildProcess.<anonymous> (D:\vscodeProject\nextjs-dashboard\node_modules\@mapbox\node-pre-gyp\lib\util\compile.js:89:23)
npm ERR! node-pre-gyp ERR! stack     at ChildProcess.emit (node:events:518:28)
npm ERR! node-pre-gyp ERR! stack     at maybeClose (node:internal/child_process:1105:16)
npm ERR! node-pre-gyp ERR! System Windows_NT 10.0.22631
npm ERR! node-pre-gyp ERR! command "E:\\install\\nodejs\\node.exe" "D:\\vscodeProject\\nextjs-dashboard\\node_modules\\@mapbox\\node-pre-gyp\\bin\\node-pre-gyp" "install" "--fallback-to-build"
npm ERR! node-pre-gyp ERR! cwd D:\vscodeProject\nextjs-dashboard\node_modules\bcrypt
npm ERR! node-pre-gyp ERR! node -v v20.11.1
npm ERR! node-pre-gyp ERR! node-pre-gyp -v v1.0.11
npm ERR! node-pre-gyp ERR! not ok

npm ERR! A complete log of this run can be found in: C:\Users\chenrj\AppData\Local\npm-cache\_logs\2024-05-02T02_22_00_539Z-debug-0.log

Aborting installation.
  npm install has failed.
# 

解决

换作以前,我们就只能通过浏览器去搜索我们遇到的问题,但是现在各种人工智能AI的出现,我们可以先问下它,可能就会有解决的思路,避免了在浏览器中浏览到的都是各种坑或者对自己无效的解决方法。我是先将以下错误信息复制粘贴到AI的对话框中,去问它如何解决的,至于是什么AI,这里就不展开说了,现在国内各种各样的AI都能免费使用了

下面是AI给出的问题原因

这个警告信息 npm WARN cleanup 指出在尝试清理(可能是在安装或更新过程中)node_modules 目录时遇到了权限问题。EPERM 错误码表示操作不允许,这通常意味着你没有足够的权限去删除或重命名指定的文件或目录。

以下是AI给出的一些解决这个问题的步骤:

1. 以管理员权限运行命令提示符或 PowerShell

如果你在使用 Windows 系统,尝试以管理员权限运行命令提示符或 PowerShell:

  • 搜索"命令提示符"或"PowerShell",右键点击搜索结果,选择"以管理员身份运行"。
  • 在打开的命令行窗口中,运行你的 npm 命令。

2. 检查文件锁定

确保没有其他进程正在使用 node_modules 目录中的文件。有时候,某些编辑器或 IDE 可能会锁定文件,导致无法删除。

3. 删除文件或目录的只读属性

在 Windows 上,文件或目录可能被设置为只读,这会阻止删除操作。你可以使用命令行工具来移除只读属性:

swift 复制代码
attrib -R "D:\path\to\file-or-directory"

4. 使用不同的用户账户

如果你在一个需要严格权限控制的环境中工作,尝试切换到具有更高权限的用户账户。

5. 清理 node_modules 并重新安装依赖

有时候,直接删除整个 node_modules 目录并重新安装所有依赖可以解决问题:

bash 复制代码
rm -rf node_modules
npm cache clean --force
npm install

6. 修复 Windows 权限

如果你是在 Windows 上遇到这个问题,尝试修复文件系统的权限问题:

bash 复制代码
icacls D:\path\to\directory /reset
icacls D:\path\to\directory /grant:r "Users":(OI)(CI)F
icacls D:\path\to\file /reset
icacls D:\path\to\file /grant:r "Users":(OI)(CI)R

看到以上的解决方式,其实我们也能大概的了解到问题的原因是什么了,那么我们如何通过它给出的方法尝试进行解决呢。我一般是先大概浏览一下上面的那些解决方式,看看哪一种最简单有用的,然后就尝试去操作了。可能第一个最简单,但是这里我选择了是第三个,通过一个命令行来修改文件目录的权限。这里我之所以选择第三个的原因是,因为我想着我只想在vscode编辑器中来执行我所有的命令的操作,而不是为了执行某个命令又要去打开电脑的终端。我前提是想到了,如果想要修改某个文件或者目录的权限,最好使用系统管理员,所有我这里尝试的是在电脑(win11)搜索框中输入cmd,然后我们可以看到下图的电脑终端位置。

我们再鼠标右键选择管理员身份运行进行打开终端,执行以下的命令。这里的D:\path\to\file-or-directory替换成自己vscode中执行命令所在的目录,我的这里是 D:\vscodeProject

shell 复制代码
attrib -R "D:\path\to\file-or-directory"

如图,没有指令报错,即成功了。我这里也只是抱着试试的态度。

验证

我再次回到vscode编辑器去执行上面的npm的命令,惊喜的是,他可以成功执行了

shell 复制代码
PS D:\vscodeProject> npx create-next-app@latest nextjs-dashboard --use-npm --example "https://github.com/vercel/next-learn/tree/main/dashboard/starter-example"
Creating a new Next.js app in D:\vscodeProject\nextjs-dashboard.

Downloading files from repo https://github.com/vercel/next-learn/tree/main/dashboard/starter-example. This might take a moment.

Installing packages. This might take a couple of minutes.


added 572 packages, and audited 573 packages in 29s

172 packages are looking for funding
  run `npm fund` for details

1 moderate severity vulnerability

To address all issues, run:
  npm audit fix

Run `npm audit` for details.

Initialized a git repository.

Success! Created nextjs-dashboard at D:\vscodeProject\nextjs-dashboard
Inside that directory, you can run several commands:

  npm run dev
    Starts the development server.

  npm run build
    Builds the app for production.

  npm start
    Runs the built app in production mode.

We suggest that you begin by typing:

  cd nextjs-dashboard
  npm run dev

感悟

最好的学习,就是在解决问题中去学习,去积累解决问题的经验和能力,时下,很重要的一点就是要学会使用AI工具来助力我们更好的去学习,才能不被AI所代替。这是我再掘金平台上第一次发表的文章,后续将会继续记录我在学习过程中遇到的问题和记录我是如何解决问题的。也希望我解决问题思路和方法对你有所帮助。说的不对的地方,也欢迎指正。终于可以继续我的前端之旅了。

相关推荐
小白学习日记38 分钟前
【复习】HTML常用标签<table>
前端·html
丁总学Java1 小时前
微信小程序-npm支持-如何使用npm包
前端·微信小程序·npm·node.js
yanlele1 小时前
前瞻 - 盘点 ES2025 已经定稿的语法规范
前端·javascript·代码规范
懒羊羊大王呀2 小时前
CSS——属性值计算
前端·css
xgq2 小时前
使用File System Access API 直接读写本地文件
前端·javascript·面试
用户3157476081352 小时前
前端之路-了解原型和原型链
前端
永远不打烊2 小时前
librtmp 原生API做直播推流
前端
北极小狐2 小时前
浏览器事件处理机制:从硬件中断到事件驱动
前端
无咎.lsy2 小时前
vue之vuex的使用及举例
前端·javascript·vue.js
fishmemory7sec2 小时前
Electron 主进程与渲染进程、预加载preload.js
前端·javascript·electron