You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How are you deploying your application? (if relevant)
No response
Describe the Bug
Basically when I try to run the next.js app created fresh with the create next app command. I get the following error. I should point out though when I run the same command for the same app in the windows public user folder, I get no error. I saw somewhere that ./node_modules/next/dist/client/dev/amp-dev.js error is somehow related to the full file path containing a word starting with ud and my main user folder is called udabasili. But changing the main folder isn't an option since it could potentially break my whole system
info - Loaded env from C:\Users\udbasili\Documents\Programming\Acumen Developers\myportfolio\.env.local
wait - compiling...
error - ./node_modules/next/dist/client/dev/amp-dev.js
Module not found: Can't resolve 'C:\Usersudbasili\Documents\Programming\Acumen Developers\myportfolio\node_modules\next\dist\compiled\regenerator-runtime\runtime.js' in 'C:\Users\udbasili\Documents\Programming\Acumen Developers\myportfolio\node_modules\next\dist\client\dev'
wait - compiling /_error (client and server)...
wait - compiling...
error - ./node_modules/next/dist/client/dev/amp-dev.js
Module not found: Can't resolve 'C:\Usersudbasili\Documents\Programming\Acumen Developers\myportfolio\node_modules\next\dist\compiled\regenerator-runtime\runtime.js' in 'C:\Users\udbasili\Documents\Programming\Acumen Developers\myportfolio\node_modules\next\dist\client\dev'
error - Error: Cannot find module 'C:\Users\udbasili\Documents\Programming\Acumen Developers\myportfolio\.next\fallback-build-manifest.json'Require stack:
- C:\Users\udbasili\Documents\Programming\Acumen Developers\myportfolio\node_modules\next\dist\server\load-components.js
- C:\Users\udbasili\Documents\Programming\Acumen Developers\myportfolio\node_modules\next\dist\server\next-server.js
- C:\Users\udbasili\Documents\Programming\Acumen Developers\myportfolio\node_modules\next\dist\server\next.js
- C:\Users\udbasili\Documents\Programming\Acumen Developers\myportfolio\node_modules\next\dist\server\lib\start-server.js
- C:\Users\udbasili\Documents\Programming\Acumen Developers\myportfolio\node_modules\next\dist\cli\next-dev.js
- C:\Users\udbasili\Documents\Programming\Acumen Developers\myportfolio\node_modules\next\dist\bin\next
at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
at Function.mod._resolveFilename (C:\Users\udbasili\Documents\Programming\Acumen Developers\myportfolio\node_modules\next\dist\build\webpack\require-hook.js:183:28)
at Function.Module._load (node:internal/modules/cjs/loader:778:27)
at Module.require (node:internal/modules/cjs/loader:1005:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.loadDefaultErrorComponents (C:\Users\udbasili\Documents\Programming\Acumen Developers\myportfolio\node_modules\next\dist\server\load-components.js:23:24)
at DevServer.getFallbackErrorComponents (C:\Users\udbasili\Documents\Programming\Acumen Developers\myportfolio\node_modules\next\dist\server\dev\next-dev-server.js:768:43)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async DevServer.renderErrorToResponse (C:\Users\udbasili\Documents\Programming\Acumen Developers\myportfolio\node_modules\next\dist\server\base-server.js:1281:40) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'C:\\Users\\udbasili\\Documents\\Programming\\Acumen Developers\\myportfolio\\node_modules\\next\\dist\\server\\load-components.js',
'C:\\Users\\udbasili\\Documents\\Programming\\Acumen Developers\\myportfolio\\node_modules\\next\\dist\\server\\next-server.js',
'C:\\Users\\udbasili\\Documents\\Programming\\Acumen Developers\\myportfolio\\node_modules\\next\\dist\\server\\next.js',
'C:\\Users\\udbasili\\Documents\\Programming\\Acumen Developers\\myportfolio\\node_modules\\next\\dist\\server\\lib\\start-server.js',
'C:\\Users\\udbasili\\Documents\\Programming\\Acumen Developers\\myportfolio\\node_modules\\next\\dist\\cli\\next-dev.js',
'C:\\Users\\udbasili\\Documents\\Programming\\Acumen Developers\\myportfolio\\node_modules\\next\\dist\\bin\\next'
]
}
Error: Cannot find module 'C:\Users\udbasili\Documents\Programming\Acumen Developers\myportfolio\.next\fallback-build-manifest.json'
Require stack:
- C:\Users\udbasili\Documents\Programming\Acumen Developers\myportfolio\node_modules\next\dist\server\load-components.js
- C:\Users\udbasili\Documents\Programming\Acumen Developers\myportfolio\node_modules\next\dist\server\next-server.js
- C:\Users\udbasili\Documents\Programming\Acumen Developers\myportfolio\node_modules\next\dist\server\next.js
- C:\Users\udbasili\Documents\Programming\Acumen Developers\myportfolio\node_modules\next\dist\server\lib\start-server.js
- C:\Users\udbasili\Documents\Programming\Acumen Developers\myportfolio\node_modules\next\dist\cli\next-dev.js
- C:\Users\udbasili\Documents\Programming\Acumen Developers\myportfolio\node_modules\next\dist\bin\next
at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
at Function.mod._resolveFilename (C:\Users\udbasili\Documents\Programming\Acumen Developers\myportfolio\node_modules\next\dist\build\webpack\require-hook.js:183:28)
at Function.Module._load (node:internal/modules/cjs/loader:778:27)
at Module.require (node:internal/modules/cjs/loader:1005:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.loadDefaultErrorComponents (C:\Users\udbasili\Documents\Programming\Acumen Developers\myportfolio\node_modules\next\dist\server\load-components.js:23:24)
at DevServer.getFallbackErrorComponents (C:\Users\udbasili\Documents\Programming\Acumen Developers\myportfolio\node_modules\next\dist\server\dev\next-dev-server.js:768:43)
at async DevServer.renderErrorToResponse (C:\Users\udbasili\Documents\Programming\Acumen Developers\myportfolio\node_modules\next\dist\server\base-server.js:1281:40)
at async pipe.req.req (C:\Users\udbasili\Documents\Programming\Acumen Developers\myportfolio\node_modules\next\dist\server\base-server.js:1225:30)
at async DevServer.pipe (C:\Users\udbasili\Documents\Programming\Acumen Developers\myportfolio\node_modules\next\dist\server\base-server.js:663:25) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'C:\\Users\\udbasili\\Documents\\Programming\\Acumen Developers\\myportfolio\\node_modules\\next\\dist\\server\\load-components.js',
'C:\\Users\\udbasili\\Documents\\Programming\\Acumen Developers\\myportfolio\\node_modules\\next\\dist\\server\\next-server.js',
'C:\\Users\\udbasili\\Documents\\Programming\\Acumen Developers\\myportfolio\\node_modules\\next\\dist\\server\\next.js',
'C:\\Users\\udbasili\\Documents\\Programming\\Acumen Developers\\myportfolio\\node_modules\\next\\dist\\server\\lib\\start-server.js',
'C:\\Users\\udbasili\\Documents\\Programming\\Acumen Developers\\myportfolio\\node_modules\\next\\dist\\cli\\next-dev.js',
'C:\\Users\\udbasili\\Documents\\Programming\\Acumen Developers\\myportfolio\\node_modules\\next\\dist\\bin\\next'
]
}
### Expected Behavior
The app should run fine on the browser. But instead, it crashes with an internal server error
### To Reproduce
Run
> npm run dev
or
> yarn run dev in the root
The text was updated successfully, but these errors were encountered:
This closed issue has been automatically locked because it had no new activity for a month. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you.
Verify canary release
Provide environment information
Operating System:
Platform: win32
Arch: x64
Version: Windows 10 Home
Binaries:
Node: 16.14.0
npm: N/A
Yarn: N/A
pnpm: N/A
Relevant packages:
next: 12.1.7-canary.31
react: 18.1.0
react-dom: 18.1.0
What browser are you using? (if relevant)
No response
How are you deploying your application? (if relevant)
No response
Describe the Bug
Basically when I try to run the next.js app created fresh with the
create next app
command. I get the following error. I should point out though when I run the same command for the same app in the windows public user folder, I get no error. I saw somewhere that./node_modules/next/dist/client/dev/amp-dev.js
error is somehow related to the full file path containing a word starting withud
and my main user folder is calledudabasili
. But changing the main folder isn't an option since it could potentially break my whole systemThe text was updated successfully, but these errors were encountered: