Closed sinanyalcinkaya closed 4 years ago
Hi! My package doesn't use 'express', so it's not related to my package.
Please try to read the error stack to define which of your packages is using express. Good luck!
You can also see more info here, how to trace a dependency in your tree: https://stackoverflow.com/questions/31923195/how-to-find-reverse-dependencies-on-npm-package
===========nuxt.config.js=========== modules: [ // Doc: https://bootstrap-vue.js.org 'bootstrap-vue/nuxt', '@nuxtjs/pwa', // Doc: https://github.com/nuxt-community/dotenv-module '@nuxtjs/dotenv', ],
============package.json================ { "scripts": { "dev": "cross-env NODE_ENV=development nodemon server/index.js --watch server", "build": "nuxt build", "start": "cross-env NODE_ENV=production node server/index.js", "generate": "nuxt generate" }, "dependencies": { "@nuxtjs/dotenv": "^1.4.0", "@nuxtjs/pwa": "^3.0.0-0", "bootstrap": "^4.1.3", "bootstrap-vue": "^2.0.0", "cross-env": "^5.2.0", "express": "^4.16.4", "nuxt": "^2.0.0" }, "devDependencies": { "nodemon": "^1.18.9", "eslint-config-prettier": "^6.10.0", "eslint-plugin-prettier": "^3.1.2", "prettier": "^1.19.1" } }
=======install command====== npm i --save vuex-easy-accesss
========Throw Error========
[nodemon] starting
node server/index.js
internal/modules/cjs/loader.js:800 throw err; ^Error: Cannot find module 'express' Require stack: