yeoman / generator-chrome-extension

Scaffold out a Chrome extension
http://yeoman.io
MIT License
2.61k stars 226 forks source link

Scripts directory and sub-files not created during extension setup #195

Closed geuis closed 7 years ago

geuis commented 7 years ago

After running yo chrome-extension and going through the setup process for a new extension, the scripts directory and sub-files are not created automatically as described in the manifest.

    "scripts": [
      "scripts/chromereload.js",
      "scripts/background.js"
    ]
  },

Since these are missing, trying to load the new extension as unpacked in Chrome fails with

Failed to load extension from: /usr/local/apps/test-extension/app
Could not load background script 'scripts/chromereload.js'.