Nuxt.js: now deployment failing (sh: nuxt: not found)

Created on 16 Mar 2018  路  5Comments  路  Source: nuxt/nuxt.js

image

package.json

{
  "name": "www",
  "version": "1.0.0",
  "description": "personal website",
  "author": "tchret",
  "private": true,
  "scripts": {
    "dev": "nuxt",
    "build": "nuxt build",
    "start": "nuxt start",
    "generate": "nuxt generate",
    "lint": "eslint --ext .js,.vue --ignore-path .gitignore .",
    "precommit": "npm run lint"
  },
  "dependencies": {
    "@nuxtjs/axios": "^5.0.0",
    "@nuxtjs/markdownit": "^1.2.0",
    "emoji-mart-vue": "^2.4.5",
    "lodash": "^4.17.5",
    "nuxt": "^1.0.0",
    "vue-lodash": "^1.0.4",
    "vue-markdown": "^2.2.4",
    "vue-markdown-loader": "^2.4.0"
  },
  "devDependencies": {
    "babel-eslint": "^8.2.1",
    "cross-env": "^5.0.1",
    "eslint": "^4.15.0",
    "eslint-loader": "^1.7.1",
    "eslint-plugin-vue": "^4.0.0",
    "node-sass": "^4.7.2",
    "nuxt-sass-resources-loader": "^1.1.1",
    "sass-loader": "^6.0.6",
    "style-loader": "^0.19.1"
  }
}

This question is available on Nuxt.js community (#c2634)

Most helpful comment

This happened to me also. I first installed using yarn.
Then installed a dependency using NPM and the error started happening.
Calling yarn fixed this issue for me.

All 5 comments

How did you solve it?

Also having this issue. Any advice @tchret ?

same issue here

This happened to me also. I first installed using yarn.
Then installed a dependency using NPM and the error started happening.
Calling yarn fixed this issue for me.

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

lazycrazy picture lazycrazy  路  3Comments

gary149 picture gary149  路  3Comments

jaredreich picture jaredreich  路  3Comments

vadimsg picture vadimsg  路  3Comments

vadimsg picture vadimsg  路  3Comments