简体   繁体   中英

I have downloaded the ethereum blockchain project build in react,solidity,truffle

Now It doesn't run on my ubuntu machine. When I run the npm start command it says missing script start. Is there any method to run the downloaded project?

In your package.json file, check scripts property:

"scripts": {
    "clean": "rimraf build/*",
    "copy-assets": "ts-node src/tools/copyAssets",
    "tsc": " tsc",
    "build": "npm-run-all clean tsc copy-assets",
    "dev": "nodemon  --watch src -e ts,ejs,css --exec npm run dev:start",
    "dev:start": "npm-run-all build start",
  },

Looks like start script does not exist. Instead run the appropriate one from the scripts section.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM