Error Building Site
Closed this issue · 4 comments
Hello! I tried both two methods on the README, but none of these work, and all showing
WARN 2022/03/29 23:07:14 The "twitter_simple" shortcode will soon require two named parameters: user and id. Error: Error building site: POSTCSS: failed to transform "css/style.css" (text/css): 'C:\Program' is not recognized as an internal or external command, operable program or batch file.
I tried moving the whole file into exampleSite
as a theme and run it too, but sadly ended up with the same result as above. Is there any way I can fix this problem?
Thanks a lot!!
Perhaps it is because your working directory or package is under a directory containing spaces, such as Program Files
.
You should either move the working directory or change the initial installation location of the node.js global package.
@opera7133 I'm not sure will directory Natalie Lin
affect, the whole error message looks like this
In this case, first move the working directory to a location that does not contain spaces, then change the global installation location of npm.
@opera7133 Woah it works!!!! Thank you so much :)