ackerapple / ack-webpack Goto Github PK
View Code? Open in Web Editor NEWIncludes webpack, babel-loader, json-loader, pug-loader and more
License: MIT License
Includes webpack, babel-loader, json-loader, pug-loader and more
License: MIT License
Essentially run install --lock process but do not install anything. Just create a new package.json.jsDependencies object full of every subdependecy
Two step process:
ack-webpack script:jsDependencies
processack-webpack install:jsDependencies
to only install jsDependencies and no child packagesWhen init:angular:test is used, a file that maybe created "/test/app.module.ts" has bad module pointing.
As a temp fix, to better highlight a module name change is required, I have named the default hard-coded module name to "Your_Module_Name_Here"
During execution of npm run ack-webpack -- init:ack-app, I got the error: pug:command not found.
Here is what I got
sh: pug: command not found
npm ERR! Darwin 16.7.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "build:index"
npm ERR! node v6.11.2
npm ERR! npm v3.10.10
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR! [email protected] build:index: `pug app/src/index.pug --out app/www`
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the [email protected] build:index script 'pug app/src/index.pug --out app/www'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the satya-works package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! pug app/src/index.pug --out app/www
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs satya-works
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls satya-works
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /Users/satyachamarthi/Documents/Satya-works/npm-debug.log
Satyas-Mac-mini:Satya-works satyachamarthi$ npm install pug-cli --save-dev
npm WARN prefer global [email protected] should be installed with -g
[email protected] /Users/satyachamarthi/Documents/Satya-works
└─┬ [email protected]
└─┬ [email protected]
├── [email protected]
└── [email protected]
Work around for this issue is to run the following commands:
npm install pug --save-dev
npm install pug-cli --save-dev
Then ran the following commands npm run build
and then npm run watch
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.