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

netlify build error with email and nextjs plugin does not install dependencies #4906

Closed
theobouwman opened this issue Mar 2, 2023 · 3 comments
Labels
Ecosystem: Dev Foundations stale type: bug code to address defects in shipped code

Comments

@theobouwman
Copy link

Describe the bug

netlify build doest not install dependencies and fails

Steps to reproduce

~/dev/projects/momo/momo-website on  main ⌚ 13:53:46
$ netlify build
​
  Netlify Build                                                 
────────────────────────────────────────────────────────────────
​
❯ Version
  @netlify/build 29.6.0
​
❯ Flags
  dry: false
  offline: false
​
❯ Current directory
  /Users/theobouwman/dev/projects/momo/momo-website
​
❯ Config file
  /Users/theobouwman/dev/projects/momo/momo-website/netlify.toml
​
❯ Context
  production
​
❯ Installing plugins
   - @netlify/plugin-nextjs@4.30.4
   - @netlify/plugin-emails@1.0.3
​
  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
  plugins:
    - inputs: {}
      origin: ui
      package: '@netlify/plugin-nextjs'
    - inputs: {}
      origin: config
      package: '@netlify/plugin-emails'

CLI command and flags

netlify build

Configuration

[build]
  command = "npm run build"
  publish = ".next"

[[plugins]]
  package = "@netlify/plugin-emails"

CLI output

  Netlify Build                                                 
────────────────────────────────────────────────────────────────
​
❯ Version
  @netlify/build 29.6.0
​
❯ Flags
  dry: false
  offline: false
​
❯ Current directory
  /Users/theobouwman/dev/projects/momo/momo-website
​
❯ Config file
  /Users/theobouwman/dev/projects/momo/momo-website/netlify.toml
​
❯ Context
  production
​
❯ Installing plugins
   - @netlify/plugin-nextjs@4.30.4
   - @netlify/plugin-emails@1.0.3
​
  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
  plugins:
    - inputs: {}
      origin: ui
      package: '@netlify/plugin-nextjs'
    - inputs: {}
      origin: config
      package: '@netlify/plugin-emails'

Environment

npm ERR! cb.apply is not a function

@theobouwman theobouwman added the type: bug code to address defects in shipped code label Mar 2, 2023
@theobouwman theobouwman changed the title Please replace with a clear and descriptive title netlify build error with email and nextjs plugin does not install dependencies Mar 2, 2023
@lukasholzer
Copy link
Contributor

Hi @theobouwman can you maybe create a small reproducible example for us to have it easier fixable?

Something like a repo or a stack blitz container please

Copy link
Contributor

This issue has been automatically marked as stale because it has not had activity in 1 year. It will be closed in 14 days if no further activity occurs. Thanks!

@github-actions github-actions bot added the stale label May 14, 2024
Copy link
Contributor

This issue was closed because it had no activity for over 1 year.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale May 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Ecosystem: Dev Foundations stale type: bug code to address defects in shipped code
Projects
None yet
Development

No branches or pull requests

2 participants