Comments (5)
I solved it by killing my Local WP sever instance, deleting the theme folder from my WP site, copying the theme (without node_modules
) from where I installed to the WP site, reinstalling (npm i
) and opening the server back up on Local WP.
As a test: When I replaced pb-12
with pb-10
the padding changed to 10 units, even though the pb-1
utility class was not used elsewhere before, so I know it's generating the classes. Still have to refresh the page for it to appear but that's on Local WP.
from tailpress.
I'm not able to reproduce this issue. Can you provide more information, like the OS are you using and which node version?
from tailpress.
I'm sure that he is not using the unix-like operating system. (Windows?) and not using proper terminal to do that.
from tailpress.
I'm on Windows and get this output for npm run watch
:
C:\Users\justin.golden\Local Sites\hello-world\app\public\wp-content\themes\example-theme>npm run watch
> [email protected] watch
> cross-env NODE_ENV=development concurrently "npm run watch:css-app" "npm run watch:css-editor" "npm run watch:js"
[0] Error occurred when executing command: npm run watch:css-app
[0] Error: spawn cmd.exe ENOENT
[0] at Process.ChildProcess._handle.onexit (node:internal/child_process:282:19)
[0] at onErrorNT (node:internal/child_process:477:16)
[0] at processTicksAndRejections (node:internal/process/task_queues:83:21)
[1] Error occurred when executing command: npm run watch:css-editor
[1] Error: spawn cmd.exe ENOENT
[1] at Process.ChildProcess._handle.onexit (node:internal/child_process:282:19)
[1] at onErrorNT (node:internal/child_process:477:16)
[1] at processTicksAndRejections (node:internal/process/task_queues:83:21)
[2] Error occurred when executing command: npm run watch:js
[2] Error: spawn cmd.exe ENOENT
[2] at Process.ChildProcess._handle.onexit (node:internal/child_process:282:19)
[2] at onErrorNT (node:internal/child_process:477:16)
[2] at processTicksAndRejections (node:internal/process/task_queues:83:21)
[2] npm run watch:js exited with code -4058
[1] npm run watch:css-editor exited with code -4058
[0] npm run watch:css-app exited with code -4058
C:\Users\justin.golden\Local Sites\hello-world\app\public\wp-content\themes\example-theme>
from tailpress.
Closing this for now.
from tailpress.
Related Issues (20)
- Why is lodash required? HOT 1
- Font sizes HOT 1
- please add same files like archive
- `npm run watch` heap crash HOT 10
- how to add dasy ui component HOT 2
- Issue with Watch and JS compiling HOT 3
- how to use global css
- Add colors outside of pallette
- Tailwind Dark and Light Theme implementation error
- Why is `resolve-url-loader` needed in Tailpress?
- npm run watch-sync requires to force browser cache to see changes HOT 6
- Tailwind CSS IntelliSense, not working with the theme
- Errors on install WordPress not installed but theme installation pass good HOT 2
- sub menu fail with tailwind 3.3.1
- .wp-caption-text font size=0
- Avoiding using deprecated global Mix HOT 1
- Bowser-sync missing or removed? HOT 2
- Moving to production, all theme color classes break
- incompatible with php 8.3 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tailpress.