title: simplemde package error in laravel integration with vuejs
body: <p>There is a <code>Laravel 8</code> project integrated with Vuejs. Node and NPM versions are 14.15.1 and 6.14.8. When I run <code>npm run watch</code> The following error is reported</p>
  <pre><code>ERROR in ./node_modules/simplemde/src/js/simplemde.js
  Module not found: Error: Can't resolve 'codemirror' in '/var/www/html/project/node_modules/simplemde/src/js'
   @ ./node_modules/simplemde/src/js/simplemde.js 3:17-38
   @ ./node_modules/vue-loader/lib??vue-loader-options!./node_modules/vue-simplemde/src/index.vue?vue&amp;type=script&amp;lang=js&amp;
   @ ./node_modules/vue-simplemde/src/index.vue?vue&amp;type=script&amp;lang=js&amp;
   @ ./node_modules/vue-simplemde/src/index.vue
   @ ./resources/assets/js/app.js
   @ multi ./resources/assets/js/app.js ./resources/assets/sass/app.scss ./resources/assets/sass/frontend.scss
  </code></pre>
  <p>Here is <code>package.json</code></p>
  <pre><code>{
  &quot;private&quot;: true,
  &quot;scripts&quot;: {
    &quot;dev&quot;: &quot;npm run development&quot;,
    &quot;development&quot;: &quot;cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js&quot;,
    &quot;watch&quot;: &quot;cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --watch --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js&quot;,
    &quot;watch-poll&quot;: &quot;npm run watch -- --watch-poll&quot;,
    &quot;hot&quot;: &quot;cross-env NODE_ENV=development node_modules/webpack-dev-server/bin/webpack-dev-server.js --inline --hot --config=node_modules/laravel-mix/setup/webpack.config.js&quot;,
    &quot;prod&quot;: &quot;npm run production&quot;,
    &quot;production&quot;: &quot;cross-env NODE_ENV=production node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js&quot;
  },
  &quot;devDependencies&quot;: {
    &quot;babel-polyfill&quot;: &quot;^6.26.0&quot;,
    &quot;bootstrap-sass&quot;: &quot;^3.3.7&quot;,
    &quot;cross-env&quot;: &quot;^5.1.3&quot;,
    &quot;eslint&quot;: &quot;^4.15.0&quot;,
    &quot;eslint-config-airbnb-base&quot;: &quot;^12.0.2&quot;,
    &quot;eslint-plugin-import&quot;: &quot;^2.8.0&quot;,
    &quot;eslint-plugin-vue&quot;: &quot;^3.14.0&quot;,
    &quot;jquery&quot;: &quot;^3.1.1&quot;,
    &quot;laravel-mix&quot;: &quot;^4.1.2&quot;,
    &quot;resolve-url-loader&quot;: &quot;^3.1.0&quot;,
    &quot;sass&quot;: &quot;^1.22.10&quot;,
    &quot;sass-loader&quot;: &quot;^7.2.0&quot;
  },
  &quot;dependencies&quot;: {
    &quot;@ckeditor/ckeditor5-build-classic&quot;: &quot;^20.0.0&quot;,
    &quot;@riophae/vue-treeselect&quot;: &quot;^0.4.0&quot;,
    &quot;@syncfusion/ej2-vue-calendars&quot;: &quot;^17.4.51&quot;,
    &quot;axios&quot;: &quot;^0.19.0&quot;,
    &quot;babel-plugin-transform-runtime&quot;: &quot;^6.23.0&quot;,
    &quot;babel-preset-es2015&quot;: &quot;^6.24.1&quot;,
    &quot;babel-preset-stage-3&quot;: &quot;^6.24.1&quot;,
    &quot;bootstrap-vue&quot;: &quot;^2.0.4&quot;,
    &quot;cldr-data&quot;: &quot;^36.0.0&quot;,
    &quot;element-ui&quot;: &quot;^2.13.0&quot;,
    &quot;font-awesome&quot;: &quot;^4.7.0&quot;,
    &quot;form-backend-validation&quot;: &quot;^2.1.0&quot;,
    &quot;less&quot;: &quot;^3.10.3&quot;,
    &quot;less-loader&quot;: &quot;^5.0.0&quot;,
    &quot;lodash&quot;: &quot;^4.17.4&quot;,
    &quot;moment&quot;: &quot;^2.20.1&quot;,
    &quot;v-calendar&quot;: &quot;^0.9.7&quot;,
    &quot;v-contextmenu&quot;: &quot;^2.8.1&quot;,
    &quot;v-select2-component&quot;: &quot;^0.4.1&quot;,
    &quot;vue&quot;: &quot;^2.6.11&quot;,
    &quot;vue-awesome-swiper&quot;: &quot;^3.1.3&quot;,
    &quot;vue-bootstrap-typeahead&quot;: &quot;^0.2.6&quot;,
    &quot;vue-carousel&quot;: &quot;^0.18.0&quot;,
    &quot;vue-chartjs&quot;: &quot;^3.4.2&quot;,
    &quot;vue-data-tables&quot;: &quot;^2.1.1&quot;,
    &quot;vue-events&quot;: &quot;^3.1.0&quot;,
    &quot;vue-i18n&quot;: &quot;^7.4.0&quot;,
    &quot;vue-infinite-scroll&quot;: &quot;^2.0.2&quot;,
    &quot;vue-js-modal&quot;: &quot;^1.3.31&quot;,
    &quot;vue-line-clamp&quot;: &quot;^1.3.2&quot;,
    &quot;vue-loader&quot;: &quot;^15.9.0&quot;,
    &quot;vue-multiselect&quot;: &quot;^2.1.6&quot;,
    &quot;vue-perfect-scrollbar&quot;: &quot;^0.2.0&quot;,
    &quot;vue-radial-progress&quot;: &quot;^0.2.10&quot;,
    &quot;vue-resize&quot;: &quot;^0.4.5&quot;,
    &quot;vue-router&quot;: &quot;^3.1.2&quot;,
    &quot;vue-scroll-loader&quot;: &quot;^1.1.6&quot;,
    &quot;vue-scrollto&quot;: &quot;^2.17.1&quot;,
    &quot;vue-select&quot;: &quot;^3.2.0&quot;,
    &quot;vue-shortkey&quot;: &quot;^2.2.2&quot;,
    &quot;vue-simplemde&quot;: &quot;^1.0.0&quot;,
    &quot;vue-template-compiler&quot;: &quot;^2.6.11&quot;,
    &quot;vue-tree-list&quot;: &quot;^1.3.2&quot;,
    &quot;vue-youtube-embed&quot;: &quot;^2.2.2&quot;,
    &quot;vuedraggable&quot;: &quot;^2.24.0&quot;,
    &quot;vuex&quot;: &quot;^3.5.1&quot;
  }
  }
  </code></pre>
  <p>Why is the above error being reported?</p>