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

Please replace with a clear and descriptive title #6630

Open
Aadij724 opened this issue May 20, 2024 · 0 comments
Open

Please replace with a clear and descriptive title #6630

Aadij724 opened this issue May 20, 2024 · 0 comments
Labels
type: bug code to address defects in shipped code

Comments

@Aadij724
Copy link

Describe the bug

Error: Build failed with 8 errors:
functions/api.js:2:23: ERROR: Could not resolve "./routes/auth.route.js"
functions/api.js:3:23: ERROR: Could not resolve "./routes/users.route.js"
functions/api.js:4:23: ERROR: Could not resolve "./routes/posts.route.js"
functions/api.js:5:26: ERROR: Could not resolve "./routes/comments.route.js"
functions/api.js:6:23: ERROR: Could not resolve "./routes/likes.route.js"
...
at failureErrorWithLog (C:\Users\HP\AppData\Roaming\npm\node_modules\netlify-cli\node_modules\esbuild\lib\main.js:1651:15)
at C:\Users\HP\AppData\Roaming\npm\node_modules\netlify-cli\node_modules\esbuild\lib\main.js:1059:25
at runOnEndCallbacks (C:\Users\HP\AppData\Roaming\npm\node_modules\netlify-cli\node_modules\esbuild\lib\main.js:1486:45)
at buildResponseToResult (C:\Users\HP\AppData\Roaming\npm\node_modules\netlify-cli\node_modules\esbuild\lib\main.js:1057:7)
at C:\Users\HP\AppData\Roaming\npm\node_modules\netlify-cli\node_modules\esbuild\lib\main.js:1086:16
at responseCallbacks. (C:\Users\HP\AppData\Roaming\npm\node_modules\netlify-cli\node_modules\esbuild\lib\main.js:704:9)
at handleIncomingPacket (C:\Users\HP\AppData\Roaming\npm\node_modules\netlify-cli\node_modules\esbuild\lib\main.js:764:9)
at Socket.readFromStdout (C:\Users\HP\AppData\Roaming\npm\node_modules\netlify-cli\node_modules\esbuild\lib\main.js:680:7)
at Socket.emit (node:events:513:28)
at Socket.emit (node:domain:489:12)

System:
OS: Windows 11 10.0.22631
CPU: (12) x64 AMD Ryzen 5 5500U with Radeon Graphics
Binaries:
Node: 18.15.0 - C:\Program Files\nodejs\node.EXE
Yarn: 1.22.19 - ~\AppData\Roaming\npm\yarn.CMD
npm: 9.6.7 - C:\Program Files\nodejs\npm.CMD
Browsers:
Chrome: 124.0.6367.209
Edge: Chromium (123.0.2420.97)

Steps to reproduce

make a express app
use netlify dev

Configuration

No response

Environment

netlify dev

Error: Build failed with 8 errors:
functions/api.js:2:23: ERROR: Could not resolve "./routes/auth.route.js"
functions/api.js:3:23: ERROR: Could not resolve "./routes/users.route.js"
functions/api.js:4:23: ERROR: Could not resolve "./routes/posts.route.js"
functions/api.js:5:26: ERROR: Could not resolve "./routes/comments.route.js"
functions/api.js:6:23: ERROR: Could not resolve "./routes/likes.route.js"
...
at failureErrorWithLog (C:\Users\HP\AppData\Roaming\npm\node_modules\netlify-cli\node_modules\esbuild\lib\main.js:1651:15)
at C:\Users\HP\AppData\Roaming\npm\node_modules\netlify-cli\node_modules\esbuild\lib\main.js:1059:25
at runOnEndCallbacks (C:\Users\HP\AppData\Roaming\npm\node_modules\netlify-cli\node_modules\esbuild\lib\main.js:1486:45)
at buildResponseToResult (C:\Users\HP\AppData\Roaming\npm\node_modules\netlify-cli\node_modules\esbuild\lib\main.js:1057:7)
at C:\Users\HP\AppData\Roaming\npm\node_modules\netlify-cli\node_modules\esbuild\lib\main.js:1086:16
at responseCallbacks. (C:\Users\HP\AppData\Roaming\npm\node_modules\netlify-cli\node_modules\esbuild\lib\main.js:704:9)
at handleIncomingPacket (C:\Users\HP\AppData\Roaming\npm\node_modules\netlify-cli\node_modules\esbuild\lib\main.js:764:9)
at Socket.readFromStdout (C:\Users\HP\AppData\Roaming\npm\node_modules\netlify-cli\node_modules\esbuild\lib\main.js:680:7)
at Socket.emit (node:events:513:28)
at Socket.emit (node:domain:489:12)

System:
OS: Windows 11 10.0.22631
CPU: (12) x64 AMD Ryzen 5 5500U with Radeon Graphics
Binaries:
Node: 18.15.0 - C:\Program Files\nodejs\node.EXE
Yarn: 1.22.19 - ~\AppData\Roaming\npm\yarn.CMD
npm: 9.6.7 - C:\Program Files\nodejs\npm.CMD
Browsers:
Chrome: 124.0.6367.209
Edge: Chromium (123.0.2420.97)

@Aadij724 Aadij724 added the type: bug code to address defects in shipped code label May 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug code to address defects in shipped code
Projects
None yet
Development

No branches or pull requests

1 participant