Npm run start error after deployment of nuxt.js project

The configuration in

package.json is as follows

"scripts": {
    "dev": "nuxt",
    "build": "cross-env NODE_ENV=production nuxt build && nuxt start",
    "start": "nuxt start",
    "server": "cross-env NODE_ENV=production nodemon server --exec babel-node --presets es2015,stage-2",
    "online": "babel server -d dist --presets es2015,stage-2",
    "serve": "cross-env NODE_ENV=production pm2 start dist/index.js",
    "generate": "nuxt generate",
    "lint": "eslint --ext .js,.vue --ignore-path .gitignore .",
    "precommit": "npm run lint"
  }

there are only these files in the .nuxt folder after the nuxt project build

clipboard.png

.nuxtstatic,package.jsonnuxt.config.js

clipboard.png

npm run start

Error: No SSR build! Please start with nuxt start --spa or build using nuxt build --universal

clipboard.png

What is the reason for

? How to deploy correctly.


Don't use nuxt, or try the two commands it prompts


1: first download dependent npm i;
2:npm build (build first);
3:npm start (execute this command to find the .nuxt file found by build);

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1beb503-31a62.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1beb503-31a62.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?