Closed budak7273 closed 1 year ago
I updated to the latest Node and Next.js versions and it now compiles pages in like 5 seconds instead inside the container.
Looks like slow compilation has been an issue they are actively working on fixing: https://github.com/vercel/next.js/issues/48748
20.x
I tested by running the addNums.py experiment and everything behaved as expected.
If you get:
panic: runtime error: index out of range [3] with length 3 goroutine 1 [running]: main.checkVersionExceedsLatest({0x11c0e0d0, 0x6}) C:/Users/corey/OneDrive/Documents/workspace/libraries/oss/coreybutler/nvm-windows/src/nvm.go:875 +0x220 main.install({0x11c0e0d0, 0x6}, {0x639d26, 0x2}) C:/Users/corey/OneDrive/Documents/workspace/libraries/oss/coreybutler/nvm-windows/src/nvm.go:308 +0x337 main.main() C:/Users/corey/OneDrive/Documents/workspace/libraries/oss/coreybutler/nvm-windows/src/nvm.go:87 +0xaea
running the dev install script, you should update to the latest NVM: https://github.com/coreybutler/nvm-windows/releases/download/1.1.11/nvm-setup.exe
I updated to the latest Node and Next.js versions and it now compiles pages in like 5 seconds instead inside the container.
Looks like slow compilation has been an issue they are actively working on fixing: https://github.com/vercel/next.js/issues/48748
20.x
I tested by running the addNums.py experiment and everything behaved as expected.
If you get:
running the dev install script, you should update to the latest NVM: https://github.com/coreybutler/nvm-windows/releases/download/1.1.11/nvm-setup.exe