Hi there!
I am experiencing a recurring issue with the @plasmicapp/loader-nextjs
package in my Next.js project, which is preventing me from successfully running my local development server. Despite my internet connection being stable and Plasmic’s server appearing operational, I am confronted with a persistent “Internal Server Error” related to fetching loader data.
Here’s the error message that appears in my terminal:
Error: Error fetching loader data: Internal Server Error
at Api.<anonymous> (C:\Users\[username]\[project-path]\node_modules\@plasmicapp\loader-fetcher\dist\index.js:144:15)
at Generator.next (<anonymous>)
at fulfilled (C:\Users\[username]\[project-path]\node_modules\@plasmicapp\loader-fetcher\dist\index.js:47:24)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
type: 'Error',
page: '/_next/static/webpack/[hash].webpack.hot-update.json'
}
This error seems to occur when the system is subscribing to Plasmic changes and attempting a fresh fetch of data. I have attempted various troubleshooting steps, including but not limited to:
• Ensuring environment variables are correctly set.
• Verifying that my API keys and project configuration are accurate.
• Reinstalling the @plasmicapp/loader-nextjs
package and related dependencies.
• Clearing my project’s cache and the .next
build directory.
• Restoring to an earlier version of my Plasmic project.
Despite these efforts, the error persists. It appears to be tied specifically to the data fetching process from the Plasmic loader, and I am unable to determine the root cause or a solution.
Could you give me any insights or additional troubleshooting steps?