Closed geuis closed 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.
yo chrome-extension
scripts
"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'.
After running
yo chrome-extension
and going through the setup process for a new extension, thescripts
directory and sub-files are not created automatically as described in the manifest.Since these are missing, trying to load the new extension as unpacked in Chrome fails with