Dependencies of Netlify Functions and local plugins are automatically installed. Same with plugins automatic installs. However when the repository has no package.json, this creates the following error:
npm ERR! code ENOLOCAL
npm ERR! Could not install from "../my/plugin" as it does not contain a package.json file.
This might also be an issue for missing plugins, which assume there is a package.json.
This issue has been linked to an error in Bugsnag
dependencies in Packages installation
Bug in our code
Comment added in Bugsnag by Mickael Hebert
dependencies in Packages installation
Other instances:
Experiencing a similar issue when using a Jekyll project with a local plugin that I've set up to demo my plugin https://github.com/daviddarnes/netlify-plugin-ghost-markdown
This issue has been linked to an error in Bugsnag
dependencies in Packages installation
An error linked to this issue has been marked as fixed in Bugsnag
dependencies in Packages installation
An error linked to this issue has been marked as fixed in Bugsnag
dependencies in Packages installation
This bug has been fixed.
To automatically install dependencies in a local plugin, either this plugin or the repository must have a package.json.