Comments (3)
What's your project's file structure? Did you install the package via npm or manually downloading it? Do you have a package.json in your projects root folder?
packageConfig = require(process.env.PWD + '/package.json');
ensures that it uses your config and not the config of the gulp-wp-theme package. With your change, this gets useless.
So first ensure you have a package config in the project's root and then check you are running the command out of the root folder.
from gulp-wp-theme.
yes thanks, im doing it wrong. i manually download it.
now i install it from npm and its work
thanks 👍
from gulp-wp-theme.
Good to hear. Let us know if you have troubles.
from gulp-wp-theme.
Related Issues (20)
- Add Asset Versions with gulp-rev and rev-del HOT 1
- Add MAKE shortcuts for updating WordPress + Plugins HOT 1
- Add possibility to bump version via command
- gulp markup fails because of substitution
- Add Browsersync Refresh on WordPress save HOT 3
- Installation & run fails on latest NPM version.
- Handling update routine HOT 1
- Add version placeholder to README inside gulp folder + VERSION file
- Add core config
- Make watcher task restart if new files are added to scope
- Theme rename task
- PKG_VERSION placeholder seems not to work in markup files HOT 5
- Replace bower normalize.styl with npm normalize-styl HOT 1
- Version 2
- Project generator with gulp-prompt
- Uglifify not found
- TypeError: gulp.task is not a function HOT 3
- Error: Cannot find module 'yargs' HOT 2
- How to enqueue or use jQuery with Browserify config HOT 3
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 gulp-wp-theme.