-
Notifications
You must be signed in to change notification settings - Fork 115
Closed
Labels
Description
I noticed that someone else a few months ago was struggling with this issue as well, however it wasn't clear what actually resolved the issue for this person. Do you have any idea why this works and builds fine locally, but the build fails in production with the following error? I'm using Netlify Dev as well so theoretically the environments should be pretty close.
5:58:42 PM: Error: In file "/opt/build/repo/lambda-server/user-create.js": Cannot find module 'encoding/package.json' from '/opt/build/repo/lambda-server'
Here's some evidence of the build failing at vue-cli-template#27
samajammin, luukdv and jakejarvis