Module build failed: ReferenceError: Unknown plugin "transform-runtime"

  • Hey all,

    I am looking for help with my dev build.
    I am able to build and run my app from the installation folder.

    I committed my project folder to git repository, and the node_modules are ignored in the commit because of setting in .gitignore file.

    I pulled the project to a different folder and did ran npm install command. It has installed many node modules. When I run the quasar dev, I am getting the below error

    Module build failed: ReferenceError: Unknown plugin “transform-runtime” specified in…

    Please advice if I am missing any step here.


  • Could you please post your package.json content here, maybe something is missing there.
    Also which version of Quasar do you use?

  • package.json file

    “name”: “abc Service”,
    “version”: “1.0.0”,
    “description”: “Mobile app for abc Service”,
    “productName”: “abc Service”,
    “cordovaId”: “”,
    “author”: “abc”,
    “private”: true,
    “scripts”: {
    “test”: “echo “No test specified” && exit 0”
    “dependencies”: {
    “all”: “0.0.0”,
    “axios”: “^0.17.1”,
    “transform-runtime”: “0.0.0”,
    “vue2-google-maps”: “^0.8.8”
    “devDependencies”: {
    “@babel/plugin-transform-runtime”: “^7.0.0-beta.40”,
    “quasar-cli”: “^0.15.2”
    “engines”: {
    “node”: “>= 8.9.0”,
    “npm”: “>= 5.6.0”
    “browserslist”: [
    “> 1%”,
    “last 2 versions”,
    “not ie <= 10”

  • error in ./.quasar/entry.js

    Module build failed: ReferenceError: Unknown plugin “transform-runtime” specified in “C:\Users\…\app\.babel rc” at 0, attempted to resolve relative to “C:\Users\…\app”

    • option-manager.js:180


    • option-manager.js:158 Function.normalisePlugins

    • option-manager.js:234 OptionManager.mergeOptions

    • option-manager.js:368 OptionManager.init

    • index.js:212 File.initOptions

    • index.js:135 new File

    • pipeline.js:46 Pipeline.transform

    • index.js:50 transpile

    • index.js:175 Object.module.exports

    @ multi (webpack)-dev-server/client? webpack/hot/dev-server ./.quasar/entry.js

  • Admin

    Remove @babel/plugin-transform-runtime from your package.json. Delete node_modules and package-lock.json. NPM/yarn install again.

Log in to reply