State-of-the-Edge / lfedge-landscape

🌄The intent is for the Landscape to be a living document that developers, investors, vendors, researchers and others can use as a resource on the landscape of edge computing.
https://l.lfedge.org
Apache License 2.0
44 stars 30 forks source link

Failed to run the project locally #468

Open Doraemon-520 opened 7 months ago

Doraemon-520 commented 7 months ago

I followed the " INSTALL.md " instructions to run the project, but it failed.

Install on Linux

The " this script " link provided here is invalid.

Local development

I run the project by following the steps below:

  1. git clone https://github.com/State-of-the-Edge/lfedge-landscape.git

  2. Use Webstorm2023.1 to open a project.

  3. npm install

  4. npm run build , then npm run open:dist (compiles and opens a production build)

I looked at "package.json" and found that the "open:src" or "open:dist" commands were not defined in the file.

In addition, when the

npm run build

command is executed, the dist folder is not generated in the project.

Local Environment:

windows 10 、node v20.9.0 、npm v10.1.0

Can you give me a detailed solution or a local run case? Thank you very much!