Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

264
Views
Failed to compile. ./node_modules/jquery/dist/jquery.js , Module build failed

I wanted to compile a vue project. However having following error:

here./node_modules/jquery/dist/jquery.js (./node_modules/expose-loader/dist/cjs.js?$!./node_modules/expose-loader/dist/cjs.js?jQuery!./node_modules/jquery/dist/jquery.js)

Module build failed (from ./node_modules/expose-loader/dist/cjs.js): TypeError: this.getOptions is not a function at Object.loader (/Users/gi/mms-client/node_modules/expose-loader/dist/index.js:19:24)

This is the package json.

enter image description here

And the main.js

import Vue from 'vue'
import App from './App.vue'
import 'expose-loader?$!expose-loader? 
jQuery!jquery'
import 'bootstrap'
import 'bootstrap/dist/css/bootstrap.min.css'
import i18n from './i18n'

Vue.config.productionTip = false

new Vue({
 i18n,
 render: h => h(App)
 }).$mount('#app')
about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!