question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Failed to load next.config.js

See original GitHub issue

Describe the bug First time running npx mailing after installing causes the following error. image

I definitely have a valid next.config.js

To Reproduce Steps to reproduce the behavior:

  1. install dependencies
  2. run npx mailing

EDIT: Note that I am running Next 12.3.0

Issue Analytics

  • State:closed
  • Created 10 months ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
SSardorfcommented, Nov 8, 2022

@SSardorf thanks for making an issue.

Any idea why esbuild wouldn’t have been installed by installing mailing? It’s a direct dependency of mailing so I’d think it should just get installed by npm. 😕

Not entirely sure why that would happen. Looking into it as well

0reactions
psugiharacommented, Nov 21, 2022

Closing for now, think we resolved the initial issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Failed to load next.config.js - Stack Overflow
Solution: Modify the build script to use the correct path to Node.js, or update the Node.js version under the used path. 4. broken...
Read more >
next-config-error - Next.js
When attempting to load your next.config.js or next.config.mjs file, an error occurred. This could be due to a syntax error or attempting to...
Read more >
Failed to load next.config.js · Issue #274 - GitHub
After cloning the repository I created and set my .env.local file, ran npm i then ran npm run dev. The server starts, env...
Read more >
Error: Failed to load next.config.js - Square Developer
I'm getting a config error when running npm run dev coming from next.config.js and can't figure out what's causing it.…
Read more >
[Solved]-Failed to load next.config.js-Reactjs - appsloveworld
Solutions: · update Node.js to the supported version. · make sure you are using the correct environment, or use the correct path to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found