-
Notifications
You must be signed in to change notification settings - Fork 39
'ELEVENTY_PRODUCTION' is not recognized as an internal or external command #3
Comments
Looks like a problem on Windows. : / I haven’t used Windows in years. I’m afraid I can’t help. : ( |
Same issue :( |
Also on Windows? |
No worries Greg. If it helps anyone else on Windows, I was able to set up 11ty + tailwind just following the basic instructions on their home sites. Then adding the following under "scripts" in package.json: "build": "postcss css/tailwind.css -o _site/css/tailwind.css" Running "build" in the terminal pushes tailwind.css (which you create when setting up Tailwind) into the _site folder (so your website build can use it)... I think through postcss, but I have no idea! It's working though :) |
Yes Windows. I had to remove the ENV stuff to make it work. |
run:npm install --save-dev cross-env change into:package.json
|
This project should add |
Thank you for your solution everything works fine now |
Hi Greg,
Thanks for putting this together.
I'm new to this, so apologies if the answer to this problem is obvious (I tried searching online but couldn't find anything).
I just downloaded the repo to my computer and am getting this error when running 'npm run build':
Any idea why?
Sorry if this is a silly question!
Thanks.
The text was updated successfully, but these errors were encountered: