Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cant Start Netlify Dev #393

Open
theobouwman opened this issue Mar 22, 2023 · 1 comment
Open

Cant Start Netlify Dev #393

theobouwman opened this issue Mar 22, 2023 · 1 comment
Labels
type: bug code to address defects in shipped code

Comments

@theobouwman
Copy link

I get this error. But I want to uninstall emails plugin which is causing the error.

How can I fix this? Im on latest netlify functions 1.4.0

$ netlify dev   
\◈ Netlify Dev ◈
◈ Injecting environment variable values for all scopes
◈ Injected site settings env var: MAILGUN_DOMAIN
◈ Injected site settings env var: MAILGUN_PROVIDER_API_KEY
◈ Injected site settings env var: MAILJET_KEY
◈ Injected site settings env var: MAILJET_SECRET
◈ Setting up local development server
​
❯ Installing plugins
   - @netlify/[email protected]
   - @netlify/[email protected]
​
  Dependencies installation error                               
────────────────────────────────────────────────────────────────
​
  Error message
  Error while installing dependencies in /Users/theobouwman/dev/projects/momo/momo-website/.netlify/plugins/
​​
  Resolved config
  build:
    command: npm run build
    commandOrigin: config
    publish: /Users/theobouwman/dev/projects/momo/momo-website/.next
    publishOrigin: config
  functionsDirectory: /Users/theobouwman/dev/projects/momo/momo-website/netlify/functions
  plugins:
    - inputs: {}
      origin: ui
      package: '@netlify/plugin-nextjs'
    - inputs: {}
      origin: ui
      package: '@netlify/plugin-emails'
 ›   Error: Could not start local development server

Error while installing dependencies in /Users/theobouwman/dev/projects/momo/momo-website/.netlify/plugins/


Error: Error while installing dependencies in /Users/theobouwman/dev/projects/momo/momo-website/.netlify/plugins/

    at runCommand (file:///Users/theobouwman/.config/yarn/global/node_modules/@netlify/build/lib/install/main.js:20:24)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async installMissingPlugins (file:///Users/theobouwman/.config/yarn/global/node_modules/@netlify/build/lib/install/missing.js:16:5)
    at async handleMissingPlugins (file:///Users/theobouwman/.config/yarn/global/node_modules/@netlify/build/lib/plugins/resolve.js:97:5)
    at async resolvePluginsPath (file:///Users/theobouwman/.config/yarn/global/node_modules/@netlify/build/lib/plugins/resolve.js:32:29)
    at async tGetPluginsOptions (file:///Users/theobouwman/.config/yarn/global/node_modules/@netlify/build/lib/plugins/options.js:12:29)
    at async tGetPluginsOptions (file:///Users/theobouwman/.config/yarn/global/node_modules/@netlify/build/lib/time/main.js:18:63)
    at async initAndRunBuild (file:///Users/theobouwman/.config/yarn/global/node_modules/@netlify/build/lib/core/build.js:241:66)
    at async runAndReportBuild (file:///Users/theobouwman/.config/yarn/global/node_modules/@netlify/build/lib/core/build.js:144:156)
    at async tExecBuild (file:///Users/theobouwman/.config/yarn/global/node_modules/@netlify/build/lib/core/build.js:92:127)


@theobouwman theobouwman added the type: bug code to address defects in shipped code label Mar 22, 2023
@lemusthelroy
Copy link

Thanks for filing this issue. Just wondering what is making you believe this is related to the emails plugin?

Reason I ask is that the emails plugin has no dependencies. Is this a consistent error that you are seeing?

The emails plugin can be removed by disabling the emails integration via the Netlify UI.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug code to address defects in shipped code
Projects
None yet
Development

No branches or pull requests

2 participants