-
Notifications
You must be signed in to change notification settings - Fork 92
Closed
Labels
status: awaiting user responsetype: bugcode to address defects in shipped codecode to address defects in shipped code
Description
Steps to reproduce
I'm facing the following error on my Netlify Build: A Netlify Function failed to require one of its dependencies.
It seems related to my dependencies update commit.
A link to a reproduction repository
https://github.com/monsieurnebo/website-etchebades/
Plugin version
3.9.2
More information about your build
- I am building using the CLI
- I am building using file-based configuration (
netlify.toml)
What OS are you using?
Mac OS
Your netlify.toml file
`netlify.toml`
# Paste content of your `netlify.toml` file hereRelevant log output (or link to your logs)
Build logs
7:49:29 PM: ────────────────────────────────────────────────────────────────
7:49:29 PM: 4. Functions bundling
7:49:29 PM: ────────────────────────────────────────────────────────────────
7:49:29 PM:
7:49:29 PM: Packaging Functions from .netlify/functions-internal directory:
7:49:29 PM: - next_api_quotes/next_api_quotes.js
7:49:29 PM: - next_api_randomQuote/next_api_randomQuote.js
7:49:29 PM: - next_citations_index/next_citations_index.js
7:49:29 PM: - next_image/next_image.js
7:49:31 PM: ────────────────────────────────────────────────────────────────
7:49:31 PM: Dependencies installation error
7:49:31 PM: ────────────────────────────────────────────────────────────────
7:49:31 PM:
7:49:31 PM: Error message
7:49:31 PM: A Netlify Function failed to require one of its dependencies.
7:49:31 PM: Please make sure it is present in the site's top-level "package.json".
7:49:31 PM: In file "/opt/build/repo/.netlify/functions-internal/next_citations_index/next_citations_index.js"
7:49:31 PM: Cannot find module '../../webpack-runtime.js' from '/opt/build/repo/.netlify/functions-internal/next_citations_index/nextPage/pages/citations'
7:49:31 PM:
7:49:31 PM: Resolved config
7:49:31 PM: build:
7:49:31 PM: command: npm run build
7:49:31 PM: commandOrigin: ui
7:49:31 PM: publish: /opt/build/repo/dist
7:49:31 PM: publishOrigin: ui
7:49:31 PM: functions:
7:49:31 PM: '*':
7:49:31 PM: included_files:
7:49:31 PM: - '!node_modules/@next/swc-*/**/*'
7:49:31 PM: - '!node_modules/next/dist/compiled/@ampproject/toolbox-optimizer/**/*'
7:49:31 PM: headers:
7:49:34 PM: - for: /_next/static/chunks/*
values:
cache-control: public, max-age=31536000, immutable
plugins:
- inputs: {}
origin: ui
package: '@netlify/plugin-nextjs'
Metadata
Metadata
Assignees
Labels
status: awaiting user responsetype: bugcode to address defects in shipped codecode to address defects in shipped code