Closed D3bo closed 11 months ago
you can set it manually by typing
export PWD="$(pwd)"
Duplicate of https://github.com/timlrx/tailwind-nextjs-starter-blog/issues/686
Seems like you are on Windows and might encounter this issue later on as well: https://github.com/timlrx/tailwind-nextjs-starter-blog/issues/704
you can set it manually by typing
export PWD="$(pwd)"
As I said the variable is already recognised by the terminal
Ok will add to the documentation that you might have to define it on windows
Hi @timlrx - did you add that to the docs? I don't see any occurrence of the "PWD" in the readme. Thank you :)
you can set it manually by typing
export PWD="$(pwd)"
Duplicate of #686
Seems like you are on Windows and might encounter this issue later on as well: #704
On windows it's set PWD="$(pwd)"
Im having the same problem in windows 11 and set PWD="$(pwd)"
is not helping.
Im having the same problem in windows 11 and
set PWD="$(pwd)"
is not helping.
same here. i've also tried doing the ./scripts/postContentlayer.mjs
from #704, didn't work for me. Unbound variable "PWD" still shows on my terminal after running yarn dev.
I was able to fix issue by following:
set PWD="$(pwd)"
command following with replacing $PWD
with just PWD
(removed $
sign) in package.jsonOS: Win10 Home Edition
In VS Code, on the top right corner of your terminal, press "+" and open a "Command Prompt".
My default was set to "Powershell" and I kept receiving the same error. Hope it helps someone.
Describe the bug Same as #686 : got Unbound variable "PWD" when try yarn dev. if I type $PWD on the terminal it output correctly the actual folder $PWD: C:\dev\blog\nextj-blog
work on my mac with node 16.14 and npm 8.3.1
To Reproduce Steps to reproduce the behavior:
System Info (if dev / build issue):