title: How do I install node module @babel/plugin-transform-class-properties?
body: <p>I have been following instructions from <a href="https://github.com/babel/babelify" rel="noreferrer">https://github.com/babel/babelify</a> and I ran into an error along the way. I run the following line of code:</p>
  
  <pre><code>browserify script.js -o bundle.js -t [ babelify --presets [ @babel/preset-env @babel/preset-react ] --plugins [ @babel/plugin-transform-class-properties ] ]
  </code></pre>
  
  <p>The terminal produces the following error message:</p>
  
  <pre><code>Error: Cannot find module '@babel/plugin-transform-class-properties' from '/path/to/file' while parsing file: /path/to/file/circle-graph-2.js
  </code></pre>
  
  <p>My package.json file is</p>
  
  <pre><code>{
    "name": "robert",
    "version": "1.0.0",
    "description": "This is the third step of my first attempt to learn canvas. I want to improve a piece a made a few weeks ago about the division of [occupations](http://nbremer.github.io/occupations/). The D3.js version has so many DOM elements due to all the small bar charts that it is very slow. Therefore, I hope that a canvas version might improve things",
    "main": "server.js",
    "scripts": {
      "test": "echo \"Error: no test specified\" &amp;&amp; exit 1"
    },
    "babel": {
      "presets": [
        "es2015",
        "react",
        "transform-class-properties"
      ]
    },
    "author": "",
    "license": "ISC",
    "devDependencies": {
      "@babel/core": "^7.1.6",
      "babel-core": "^6.26.3",
      "babel-plugin-transform-class-properties": "^6.24.1",
      "babel-preset-es2015": "^6.24.1",
      "babelify": "^10.0.0"
    }
  }
  </code></pre>
  
  <p>When I try the following line in the terminal then it says the package isn't found:</p>
  
  <pre><code>npm install --save-dev @babel/plugin-transform-class-properties
  </code></pre>
  
  <p>How do I overcome this error message?</p>