English 中文(简体)
如何在林地上采用实际应用 零现在吗?
原标题:How to use create-react-app on a RaspberryPi Zero nowadays?
The bounty expires in 6 days. Answers to this question are eligible for a +50 reputation bounty. Kevin Castejon wants to draw more attention to this question:
a step-to-step explanation on how to create an app using CRA on RaspberryPiZero with modern NodeJs (>=14.x.x)

我愿在<罗伯里>上设定一份<>React>/strong>申请。 Piper 零 W。

现在,create-react-app, 要求NodeJs edition >=14.x.

I used to select builds that are present at https://nodejs.org/dist/ to install NodeJs on RPZ, but the compatible ones stop at version 11.x.x.

我尝试如下:

  • Use create-react-app with an older version npx create-react-app@4 my-app but this fails with log stating that global installations are no longer supported with older version than the current one.
  • Install CRA@4 locally and execute the create-react-app command from /node_modules/.bin but this throw the exact same error.
  • Install a non-official NodeJs build among the ones present at https://unofficial-builds.nodejs.org/ and execute the latest version of CRA via npx. But these builds look unstable... With build 20.11.0 I got Internet disconnection error logs (but the connection is actually OK), and with build 14.21.3, I got insufficient memory error logs, in both cases these errors happens when executing the create-react-app command, and make it fail.

www.un.org/Depts/DGACM/index_spanish.htm 如何在RaspberryPi零上使用制造-反应 现今:

问题回答




相关问题
How to make Sequelize use singular table names

I have an model called User but Sequelize looks for the table USERS whenever I am trying to save in the DB. Does anyone know how to set Sequelize to use singular table names? Thanks.

What is Node.js? [closed]

I don t fully get what Node.js is all about. Maybe it s because I am mainly a web based business application developer. What is it and what is the use of it? My understanding so far is that: The ...

Clientside going serverside with node.js

I`ve been looking for a serverside language for some time, and python got my attention somewhat. But as I already know and love javascript, I now want learn to code on the server with js and node.js. ...

Can I use jQuery with Node.js?

Is it possible to use jQuery selectors/DOM manipulation on the server-side using Node.js?

How do I escape a string for a shell command in node?

In nodejs, the only way to execute external commands is via sys.exec(cmd). I d like to call an external command and give it data via stdin. In nodejs there does yet not appear to be a way to open a ...

热门标签