❯ npm run dev
> nuxt-api-example@1.0.0 dev /home/anton/git/nuxt-api-example
> nuxt
ERROR Nuxt error
TypeError: Cannot read property 'push' of undefined
ERROR Failed to compile with 3 errors 10:41:23
These dependencies were not found:
* ~components/Header.vue in ./node_modules/babel-loader/lib?{"babelrc":false,"cacheDirectory":true,"presets":[["/home/anton/git/nuxt-api-example/node_modules/babel-preset-vue-app/dist/index.common.js",{"targets":{"ie":9,"uglify":true}}]]}!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./layouts/default.vue
* ~plugins/axios.js in ./store/index.js
* ~static/markdownFiles/HomeContent.md in ./node_modules/babel-loader/lib?{"babelrc":false,"cacheDirectory":true,"presets":[["/home/anton/git/nuxt-api-example/node_modules/babel-preset-vue-app/dist/index.common.js",{"targets":{"ie":9,"uglify":true}}]]}!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./pages/index.vue
To install them, you can run: npm install --save ~components/Header.vue ~plugins/axios.js ~static/markdownFiles/HomeContent.md
When I run
npm run devI get the following errors:and