GithubHelp home page GithubHelp logo

ackerapple / ack-webpack Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 110 KB

Includes webpack, babel-loader, json-loader, pug-loader and more

License: MIT License

JavaScript 94.75% HTML 1.15% TypeScript 3.84% CSS 0.25%

ack-webpack's People

Contributors

ackerapple avatar

Watchers

 avatar  avatar  avatar

ack-webpack's Issues

Create jsDependencies update process

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:

  • Create ack-webpack script:jsDependencies process
  • Create ack-webpack install:jsDependencies to only install jsDependencies and no child packages

init:angular:test needs Module pointing

When 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"

  • In future, lets prompt to ask file path to main module name to import
  • ALSO, check that this part of the test/app.module is actually needed

pug command not found while running npm run ack-webpack -- init:ack-app

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.