这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@kpoxo6op
Copy link
Contributor

@kpoxo6op kpoxo6op commented May 11, 2024

Fix yarn workaround for Windows.

npx degit 'timlrx/tailwind-nextjs-starter-blog'

yarn
➤ YN0000: ┌ Resolution step
...
➤ YN0000: └ Completed in 16s 814ms

yarn dev
Unbound variable "PWD"
# Try workaround from Readme
set PWD="$(pwd)"
yarn dev        
Unbound variable "PWD"
# Try the fixed syntax for the workaround
$env:PWD = $(Get-Location).Path
yarn dev
  ▲ Next.js 14.2.3
  - Local:        http://localhost:3000

 ✓ Starting...
Warning: Contentlayer might not work as expected on Windows
 ✓ Ready in 3.5s
Contentlayer config change detected. Updating type definitions and data...
successCallback C:/Users/borex/code/test/.contentlayer
(node:796) ExperimentalWarning: Import assertions are not a stable feature of the JavaScript language. Avoid relying on their current behavior and syntax as those might change in a future version of Node.js.
(Use `node --trace-warnings ...` to show where the warning was created)
(node:796) ExperimentalWarning: Importing JSON modules is an experimental feature and might change at any time
Local search index generated...
Generated 13 documents in .contentlayer

@vercel
Copy link

vercel bot commented May 11, 2024

@kpoxo6op is attempting to deploy a commit to the timlrx's projects Team on Vercel.

A member of the Team first needs to authorize it.

@timlrx
Copy link
Owner

timlrx commented Jun 2, 2024

Thanks!

@timlrx timlrx merged commit da933e1 into timlrx:main Jun 2, 2024
Meez25 pushed a commit to Meez25/Blog that referenced this pull request Jun 17, 2024
Fix yarn workaround for Windows
bhiwagade-rahul pushed a commit to bhiwagade-rahul/tailwind-nextjs-starter-blog that referenced this pull request Sep 22, 2025
Fix yarn workaround for Windows
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants