Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Karma dependency is missing in latest release 4.0.0 #15

Open
pipiobjo opened this issue Nov 10, 2017 · 0 comments
Open

Karma dependency is missing in latest release 4.0.0 #15

pipiobjo opened this issue Nov 10, 2017 · 0 comments

Comments

@pipiobjo
Copy link

pipiobjo commented Nov 10, 2017

Hi,

Steps to reproduce

yo metal

? How do you want to name your class? SelectInput
? What do you want your class to extend from? Component
? Which template language do you want to use? Soy
? Which build format will this component use? amd
? Which test enviroment do you want to use? Karma
? Is this component supposed to run on node environment? (that is, should other modules be able to "require" and use it?) Yes
? What's the GitHub username? my-user
? How would you describe this project? My awesome Metal.js project
   create demos\index.html
   create src\select-input.scss
   create src\SelectInput.soy
   create src\SelectInput.js
   create __tests__\SelectInput.js
   create __tests__\.jshintrc
   create karma.conf.js
   create karma-coverage.conf.js
   create env\test\node.js
   create package.json
   create README.md
   create CONTRIBUTING.md
   create LICENSE.md
   create .editorconfig
   create .gitignore
   create .jshintrc
   create webpack.config.js
   create .eslintrc
npm WARN deprecated [email protected]: �  Thanks for using Babel: we recommend using babel-preset-env now: please read babeljs.io/env to update!
npm WARN deprecated [email protected]: to-iso-string has been deprecated, use @segment/to-iso-string instead.
npm WARN deprecated [email protected]: Jade has been renamed to pug, please install the latest version of pug instead of jade
npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN prefer global [email protected] should be installed with -g

npm install

npm run test
Command "karma" is not found

Workaround:

npm install --save-dev karma
npm run test
Tests are executed ;-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant