mac上运行低版本node提示env: node: Bad CPU type in executable

遇到 "env: node: Bad CPU type in executable" 这个错误通常是因为你的系统架构与 Node.js 的可执行文件不兼容。以下是一些可能的解决方案:确认系统架构首先,确认你的系统架构。在终端中运行以下...

mac安装brew

第一步:下载地址:https://github.com/Homebrew/brew/releases/tag/4.1.4打开页面,拉倒最下面,下载pkg文件,并安装第二步:终端执行一下命令:echo 'export PATH=&quo...

SyntaxError: Unexpected token '.'

出現這個問題,大概率是node版本問題。

{"_h": 0, "_i": 0, "_j": null, "_k": null}

当出现上这些的时候,说明前面没有加await.

ppt微调工具

上传ppt到网站网站转成html/js/css通过对话进行微调导出

10 个必备的 React Native 组件

组件地址:Bouncy checkbox https://github.com/WrathChaos/react-native-bouncy-checkboxBottom sheet https://github.com/gorhom...

react native asyncstorage的一个小坑

有一段代码如下:useEffect(() => { const checkLoginStatus = async () => { try { const token = AsyncSto...

expo icons

https://icons.expo.fyi/Index

React Native创建项目

npx create-expo-app --template blank进入目录,然后 npx expo start,根据提示启动iOS或安卓模拟器打开:https://docs.expo.dev/router/installatio...

RN的几个命令

首先是创建项目:npx create-expo-app@latest 这样创建完,默认是ts的,如果要用js,就使用:npx create-expo-app --template blank 会创建一个基于js的基本的项目