A babel plugin that adds istanbul instrumentation to ES6 code
BSD 3-Clause "New" or "Revised" License
616
stars
72
forks
source link
Uncaught TypeError: Cannot read properties of undefined (reading 'import') #268
Open
AngelaWanChina2021 opened 2 years ago
An error during after install babel-plugin-istanbul, here is the screenshot of my error. Please let me know anyone can fix the issue.
here is my package.json file "@babel/core": "^7.0.0", "@babel/plugin-proposal-class-properties": "^7.0.0", "@babel/plugin-proposal-decorators": "^7.0.0", "@babel/plugin-proposal-export-default-from": "^7.14.5", "@babel/plugin-proposal-export-namespace-from": "^7.0.0", "@babel/plugin-proposal-function-sent": "^7.0.0", "@babel/plugin-proposal-json-strings": "^7.0.0", "@babel/plugin-proposal-nullish-coalescing-operator": "^7.8.3", "@babel/plugin-proposal-numeric-separator": "^7.0.0", "@babel/plugin-proposal-optional-chaining": "^7.2.0", "@babel/plugin-proposal-private-methods": "^7.6.0", "@babel/plugin-proposal-throw-expressions": "^7.0.0", "@babel/plugin-syntax-dynamic-import": "^7.0.0", "@babel/plugin-syntax-import-meta": "^7.0.0", "@babel/plugin-syntax-jsx": "^7.0.0", "@babel/plugin-transform-runtime": "^7.0.0", "@jacpbiz/sidebar": "^1.0.1", "@jmodule/cli": "^1.4.2", "@jmodule/webpack-jmodule-plugin": "^0.2.2", "@vue/babel-preset-app": "^3.6.0", "@vue/cli-plugin-babel": "^4.5.12", "@vue/cli-service": "^4.5.12", "autoprefixer": "^9.8.6", "babel-eslint": "^10.0.1", "babel-plugin-istanbul": “^6.1.1", "babel-plugin-jsx-v-model": "^2.0.3", "babel-plugin-syntax-jsx": "^6.18.0", "babel-plugin-transform-vue-jsx": "^4.0.1", "chokidar": "^3.4.1", "cypress": "^8.7.0", "eslint": "^5.16.0", "eslint-config-airbnb-base": "^13.1.0", "eslint-import-resolver-webpack": "^0.11.1", "eslint-loader": "^2.1.2", "eslint-plugin-html": "^5.0.3", "eslint-plugin-import": "^2.17.2", "eslint-plugin-std": "0.0.8", "eslint-plugin-vue": "^5.2.2", "eventsource-polyfill": "^0.9.6", "istanbul-lib-coverage": “^3.2.0", "launch-editor-middleware": "^2.2.1", "opn": "^6.0.0", "prettier": "^1.12.0", "vue-loader": "^14.2.4", "vue-template-compiler": "2.6.11", "webpack": "^4.44.1", "webpack-hot-middleware": "^2.18.0"