Open jmorganh opened 7 years ago
Hi, @jmorganh. Can you write your setup - Gulp, npm and bower versions? Also, did you installed Node.js (4.x and above)? Also, have you tried running your CMD as administrator?
Yes i am in CMD as administrator. node.js is installed 6.10.3
autoprefixer@6.7.7 bower@1.8.0 extraneous css-mqpacker@4.0.1 cssnano@3.10.0 event-stream@3.3.4 gulp@3.9.1 gulp-angular-filesort@1.1.1 gulp-cached@1.1.1 gulp-concat@2.6.1 gulp-csslint@0.1.5 gulp-embedlr@0.5.2 gulp-header@1.8.8 gulp-htmlmin@1.3.0 gulp-inject@1.5.0 gulp-install@1.1.0 gulp-jshint@1.12.0 gulp-karma@0.0.4 gulp-livereload@3.8.1 gulp-load-plugins@0.8.1 gulp-minify-css@1.1.6 gulp-ng-annotate@0.4.4 gulp-ng-html2js@0.1.8 gulp-postcss@6.4.0 gulp-rename@1.2.2 gulp-replace@0.5.4 gulp-serve@0.3.1 gulp-sourcemaps@1.12.0 gulp-uglify@1.5.4 gulp-util@3.0.8 jshint-stylish@1.0.2 UNMET PEER DEPENDENCY karma@>=0.10 <=0.13 lazypipe@0.2.4 main-bower-files@2.13.1 postcss-calc@5.3.1 postcss-color-function@2.0.1 postcss-custom-media@5.0.1 postcss-custom-properties@5.0.2 postcss-import@7.1.3 postcss-pxtorem@3.3.1 rimraf@2.6.1 streamqueue@0.1.3
I changed the package.json "postinstall" to "postinstall": "bower install --verbose --force"
That seems to help and still not able to run "gulp serve"
and I removed the "min" from bower.json changed to: "name": "baasic-angularjs-app-starter-kit", "main": [ "/dist/myBlog.js", "/dist/myBlog.css" ],
That seems to help and still not able to run "gulp serve"
here is the result of "npm install"
baasic-angularjs-app-starter-kit@0.1.1 postinstall C:\Users\mhayes\Documents\My Web Sites\baasic-website bower install --verbose --force
bower baasic-angularjs-core# resolve https://github.com/baasic/baasic-sdk-angularjs-core.git# bower baasic-uritemplate# resolve https://github.com/Baasic/uritemplate-js.git# bower baasic-angular-hal# resolve https://github.com/Baasic/angular-hal.git# bower baasic-javascript-framework# resolve https://github.com/Baasic/baasic-sdk-javascript.git# bower baasic-angular-membership#~0.2.0 resolve https://github.com/Baasic/baasic-sdk-angularjs-membership.git#~0.2.0 bower baasic-angular-security#~0.2.0 resolve https://github.com/Baasic/baasic-sdk-angularjs-security.git#~0.2.0 bower baasic-angular-article#~0.2.0 resolve https://github.com/Baasic/baasic-sdk-angularjs-articles.git#~0.2.0 bower baasic-angular-dynamic-resource#~0.2.0 resolve https://github.com/Baasic/baasic-sdk-angularjs-dynamic-resource.git#~0.2.0 bower angular-sanitize#^1.0.8 resolve https://github.com/angular/bower-angular-sanitize.git#^1.0.8 bower angular-mocks#~1.3.0 resolve https://github.com/angular/bower-angular-mocks.git#~1.3.0 bower headroom.js#~0.7.0 resolve https://github.com/unkn0wn-kgb/headroom.js.git#~0.7.0 bower showdown#~0.3.1 resolve https://github.com/showdownjs/showdown.git#~0.3.1 bower angular-ui-router#~0.2.13 resolve https://github.com/angular-ui/angular-ui-router-bower.git#~0.2.13 bower ng-readingtime# resolve https://github.com/jiin/ng-readingtime.git# bower angular-picturefill# resolve https://github.com/tinacious/angular-picturefill.git# bower ng-tags-input#~2.3.0 resolve https://github.com/mbenford/ngTagsInput-bower.git#~2.3.0 bower picturefill#~1.2.1 resolve https://github.com/scottjehl/picturefill.git#~1.2.1 bower angular-markdown-directive#~0.3.1 resolve https://github.com/btford/angular-markdown-directive.git#~0.3.1 bower angular#1.3.0 resolve https://github.com/angular/bower-angular.git#1.3.0 bower baasic-uritemplate# download https://github.com/Baasic/uritemplate-js/archive/0.3.7.tar.gz bower baasic-angular-security#~0.2.0 download https://github.com/Baasic/baasic-sdk-angularjs-security/archive/0.2.7.tar.gz bower baasic-javascript-framework# download https://github.com/Baasic/baasic-sdk-javascript/archive/1.0.0.tar.gz bower baasic-angular-dynamic-resource#~0.2.0 download https://github.com/Baasic/baasic-sdk-angularjs-dynamic-resource/archive/0.2.4.tar.gz bower baasic-angular-hal# download https://github.com/Baasic/angular-hal/archive/v0.1.7.tar.gz bower baasic-angular-security#~0.2.0 extract archive.tar.gz bower baasic-angular-hal# extract archive.tar.gz bower baasic-uritemplate# extract archive.tar.gz bower baasic-javascript-framework# extract archive.tar.gz bower baasic-angular-dynamic-resource#~0.2.0 extract archive.tar.gz bower baasic-javascript-framework# invalid-meta for:C:\Users\mhayes\AppData\Local\Temp\OFFICE-mhayes\bower\4f501db7d250c36184f78a8014423a44-14200-x2q43G\bower.json bower baasic-javascript-framework# invalid-meta The "main" field cannot contain globs (example: ".js") bower baasic-javascript-framework# mismatch Version declared in the json (0.9.0) is different than the resolved one (1.0.0) bower baasic-angular-article#~0.2.0 download https://github.com/Baasic/baasic-sdk-angularjs-articles/archive/0.2.10.tar.gz bower baasic-angular-security#~0.2.0 resolved https://github.com/Baasic/baasic-sdk-angularjs-security.git#0.2.7 bower baasic-angular-hal# resolved https://github.com/Baasic/angular-hal.git#0.1.7 bower baasic-javascript-framework# resolved https://github.com/Baasic/baasic-sdk-javascript.git#1.0.0 bower baasic-angular-dynamic-resource#~0.2.0 resolved https://github.com/Baasic/baasic-sdk-angularjs-dynamic-resource.git#0.2.4 bower baasic-angularjs-core# download https://github.com/baasic/baasic-sdk-angularjs-core/archive/1.0.0.tar.gz bower baasic-angular-membership#~0.2.0 download https://github.com/Baasic/baasic-sdk-angularjs-membership/archive/0.2.9.tar.gz bower angular-sanitize#^1.0.8 download https://github.com/angular/bower-angular-sanitize/archive/v1.6.4.tar.gz bower angular-mocks#~1.3.0 download https://github.com/angular/bower-angular-mocks/archive/v1.3.20.tar.gz bower baasic-angular-article#~0.2.0 extract archive.tar.gz bower angular-ui-router#~0.2.13 download https://github.com/angular-ui/angular-ui-router-bower/archive/0.2.18.tar.gz bower ng-readingtime# download https://github.com/jiin/ng-readingtime/archive/master.tar.gz bower showdown#~0.3.1 download https://github.com/showdownjs/showdown/archive/0.3.4.tar.gz bower headroom.js#~0.7.0 download https://github.com/unkn0wn-kgb/headroom.js/archive/v0.7.0.tar.gz bower baasic-uritemplate# invalid-meta for:C:\Users\mhayes\AppData\Local\Temp\OFFICE-mhayes\bower\7b30b53383841ec4c39213b3d9707578-14200-rlz3mj\bower.json bower baasic-uritemplate# invalid-meta The "name" is recommended to be lowercase, can contain digits, dots, dashes bower baasic-uritemplate# resolved https://github.com/Baasic/uritemplate-js.git#0.3.7 bower angular-picturefill# download https://github.com/tinacious/angular-picturefill/archive/master.tar.gz bower baasic-angular-membership#~0.2.0 extract archive.tar.gz bower angular-sanitize#^1.0.8 extract archive.tar.gz bower baasic-angularjs-core# extract archive.tar.gz bower angular-mocks#~1.3.0 extract archive.tar.gz bower angular-ui-router#~0.2.13 extract archive.tar.gz bower ng-readingtime# extract archive.tar.gz bower headroom.js#~0.7.0 extract archive.tar.gz bower showdown#~0.3.1 extract archive.tar.gz bower angular-picturefill# extract archive.tar.gz bower angular-sanitize#^1.0.8 resolved https://github.com/angular/bower-angular-sanitize.git#1.6.4 bower angular#1.6.4 resolve https://github.com/angular/bower-angular.git#1.6.4 bower angular-mocks#~1.3.0 resolved https://github.com/angular/bower-angular-mocks.git#1.3.20 bower ng-readingtime# invalid-meta for:C:\Users\mhayes\AppData\Local\Temp\OFFICE-mhayes\bower\fa31c98d26b292dd32481621366268a9-14200-9BUt63\bower.json bower ng-readingtime# invalid-meta The "main" field cannot contain minified files bower angular-picturefill# resolved https://github.com/tinacious/angular-picturefill.git#6d1e2d58f9 bower baasic-angular-article#~0.2.0 resolved https://github.com/Baasic/baasic-sdk-angularjs-articles.git#0.2.10 bower angular#1.3.20 resolve https://github.com/angular/bower-angular.git#1.3.20 bower ng-readingtime# resolved https://github.com/jiin/ng-readingtime.git#1bae43bcb5 bower baasic-angular-membership#~0.2.0 resolved https://github.com/Baasic/baasic-sdk-angularjs-membership.git#0.2.9 bower angular#~1.2.0 resolve https://github.com/angular/bower-angular.git#~1.2.0 bower baasic-angularjs-core# resolved https://github.com/baasic/baasic-sdk-angularjs-core.git#1.0.0 bower headroom.js#~0.7.0 invalid-meta for:C:\Users\mhayes\AppData\Local\Temp\OFFICE-mhayes\bower\dd05581f431a09af2d50f0b8e8d1ba46-14200-W24vWK\bower.json bower headroom.js#~0.7.0 invalid-meta The "main" field has to contain only 1 file per filetype; found multiple .js files: ["dist/headroom.js","dist/jQuery.headroom.js","dist/angular.headroom.js"] bower angular-ui-router#~0.2.13 resolved https://github.com/angular-ui/angular-ui-router-bower.git#0.2.18 bower headroom.js#~0.7.0 resolved https://github.com/unkn0wn-kgb/headroom.js.git#0.7.0 bower showdown#~0.3.1 resolved https://github.com/showdownjs/showdown.git#0.3.4 bower ng-tags-input#~2.3.0 download https://github.com/mbenford/ngTagsInput-bower/archive/v2.3.0.tar.gz bower angular-markdown-directive#~0.3.1 download https://github.com/btford/angular-markdown-directive/archive/v0.3.1.tar.gz bower picturefill#~1.2.1 download https://github.com/scottjehl/picturefill/archive/1.2.1.tar.gz bower angular#1.6.4 download https://github.com/angular/bower-angular/archive/v1.6.4.tar.gz bower angular#1.3.20 download https://github.com/angular/bower-angular/archive/v1.3.20.tar.gz bower angular#~1.2.0 download https://github.com/angular/bower-angular/archive/v1.2.32.tar.gz bower angular#1.3.0 download https://github.com/angular/bower-angular/archive/v1.3.0.tar.gz bower ng-tags-input#~2.3.0 extract archive.tar.gz bower ng-tags-input#~2.3.0 invalid-meta for:C:\Users\mhayes\AppData\Local\Temp\OFFICE-mhayes\bower\7bc24627f2e4d5aadfb669f4483ce0fb-14200-z42JNC\bower.json bower ng-tags-input#~2.3.0 invalid-meta The "main" field cannot contain minified files bower ng-tags-input#~2.3.0 invalid-meta The "main" field cannot contain minified files bower ng-tags-input#~2.3.0 resolved https://github.com/mbenford/ngTagsInput-bower.git#2.3.0 bower angular-markdown-directive#~0.3.1 extract archive.tar.gz bower angular-markdown-directive#~0.3.1 resolved https://github.com/btford/angular-markdown-directive.git#0.3.1 bower angular#1.6.4 extract archive.tar.gz bower angular#1.3.20 extract archive.tar.gz bower angular#~1.2.0 extract archive.tar.gz bower angular#1.3.0 extract archive.tar.gz bower angular#1.6.4 resolved https://github.com/angular/bower-angular.git#1.6.4 bower angular# resolve https://github.com/angular/bower-angular.git# bower angular# download https://github.com/angular/bower-angular/archive/v1.6.4.tar.gz bower angular#1.3.20 resolved https://github.com/angular/bower-angular.git#1.3.20 bower angular#^1.0.8 resolve https://github.com/angular/bower-angular.git#^1.0.8 bower angular#^1.0.8 download https://github.com/angular/bower-angular/archive/v1.6.4.tar.gz bower angular#>=1.2.1 resolve https://github.com/angular/bower-angular.git#>=1.2.1 bower angular#>=1.2.1 download https://github.com/angular/bower-angular/archive/v1.6.4.tar.gz bower angular#1.3.0 resolved https://github.com/angular/bower-angular.git#1.3.0 bower angular#~1.2.0 resolved https://github.com/angular/bower-angular.git#1.2.32 bower picturefill#~1.2.1 extract archive.tar.gz bower picturefill#~1.2.1 resolved https://github.com/scottjehl/picturefill.git#1.2.1 bower angular# extract archive.tar.gz bower angular#* resolved https://github.com/angular/bower-angular.git#1.6.4 bower angular#^1.0.8 extract archive.tar.gz bower angular#>=1.2.1 extract archive.tar.gz bower angular#^1.0.8 resolved https://github.com/angular/bower-angular.git#1.6.4 bower angular#>=1.2.1 resolved https://github.com/angular/bower-angular.git#1.6.4
Please note that, angular-picturefill#6d1e2d58f9 depends on angular#~1.2.0 which resolved to angular#1.2.32 baasic-angularjs-app-starter-kit depends on angular#1.3.0 which resolved to angular#1.3.0 angular-mocks#1.3.20 depends on angular#1.3.20 which resolved to angular#1.3.20 angular-sanitize#1.6.4 depends on angular#1.6.4 which resolved to angular#1.6.4 angular-ui-router#0.2.18 depends on angular#^1.0.8 which resolved to angular#1.6.4 ng-tags-input#2.3.0 depends on angular#>=1.2.1 which resolved to angular#1.6.4 baasic-angular-hal#0.1.7 depends on angular#* which resolved to angular#1.6.4 Resort to using angular#1.3.0 which resolved to angular#1.3.0 Code incompatibilities may occur.
bower baasic-angular-security#~0.2.0 install baasic-angular-security#0.2.7 bower baasic-angular-hal# install baasic-angular-hal#0.1.7 bower baasic-javascript-framework# install baasic-javascript-framework#1.0.0 bower baasic-angular-dynamic-resource#~0.2.0 install baasic-angular-dynamic-resource#0.2.4 bower baasic-uritemplate# install baasic-uritemplate#0.3.7 bower angular-sanitize#^1.0.8 install angular-sanitize#1.6.4 bower angular-mocks#~1.3.0 install angular-mocks#1.3.20 bower angular-picturefill# install angular-picturefill#6d1e2d58f9 bower baasic-angular-article#~0.2.0 install baasic-angular-article#0.2.10 bower ng-readingtime# install ng-readingtime#1bae43bcb5 bower baasic-angular-membership#~0.2.0 install baasic-angular-membership#0.2.9 bower baasic-angularjs-core# install baasic-angularjs-core#1.0.0 bower angular-ui-router#~0.2.13 install angular-ui-router#0.2.18 bower headroom.js#~0.7.0 install headroom.js#0.7.0 bower showdown#~0.3.1 install showdown#0.3.4 bower ng-tags-input#~2.3.0 install ng-tags-input#2.3.0 bower angular-markdown-directive#~0.3.1 install angular-markdown-directive#0.3.1 bower angular#1.3.0 install angular#1.3.0 bower picturefill#~1.2.1 install picturefill#1.2.1
baasic-angular-security#0.2.7 bower_components\baasic-angular-security └── baasic-angularjs-core#1.0.0
baasic-angular-hal#0.1.7 bower_components\baasic-angular-hal └── angular#1.3.0
baasic-javascript-framework#1.0.0 bower_components\baasic-javascript-framework
baasic-angular-dynamic-resource#0.2.4 bower_components\baasic-angular-dynamic-resource └── baasic-angularjs-core#1.0.0
baasic-uritemplate#0.3.7 bower_components\baasic-uritemplate
angular-sanitize#1.6.4 bower_components\angular-sanitize └── angular#1.3.0
angular-mocks#1.3.20 bower_components\angular-mocks └── angular#1.3.0
angular-picturefill#6d1e2d58f9 bower_components\angular-picturefill ├── angular#1.3.0 └── picturefill#1.2.1
baasic-angular-article#0.2.10 bower_components\baasic-angular-article └── baasic-angularjs-core#1.0.0
ng-readingtime#1bae43bcb5 bower_components\ng-readingtime
baasic-angular-membership#0.2.9 bower_components\baasic-angular-membership └── baasic-angular-security#0.2.7
baasic-angularjs-core#1.0.0 bower_components\baasic-angularjs-core ├── baasic-angular-hal#0.1.7 ├── baasic-javascript-framework#1.0.0 └── baasic-uritemplate#0.3.7
angular-ui-router#0.2.18 bower_components\angular-ui-router └── angular#1.3.0
headroom.js#0.7.0 bower_components\headroom.js
showdown#0.3.4 bower_components\showdown
ng-tags-input#2.3.0 bower_components\ng-tags-input └── angular#1.3.0
angular-markdown-directive#0.3.1 bower_components\angular-markdown-directive ├── angular#1.3.0 ├── angular-sanitize#1.6.4 └── showdown#0.3.4
angular#1.3.0 bower_components\angular
picturefill#1.2.1 bower_components\picturefill npm WARN gulp-karma@0.0.4 requires a peer of karma@>=0.10 <=0.13 but none was installed.
@jmorganh thanks for info and logs. We believe it's a package.json issue. We're trying to identify the problem and when we solve it we'll notice you ASAP. Thanks!
Hi @jmorganh,
I have updated the starter kit on the development branch so please try to run "gulp serve" now and let us know if you have get any errors.
Regards
I have cloned the current files and then ran the following.
C:\Users\mhayes\Documents\My Web Sites\baasic-website>npm install -g bower C:\Users\administrator\AppData\Roaming\npm\bower -> C:\Users\administrator\AppData\Roaming\npm\node_modules\bower\bin\bower C:\Users\administrator\AppData\Roaming\npm `-- bower@1.8.0
C:\Users\mhayes\Documents\My Web Sites\baasic-website>npm install
baasic-angularjs-app-starter-kit@0.1.1 postinstall C:\Users\mhayes\Documents\My Web Sites\baasic-website bower install
'bower' is not recognized as an internal or external command, operable program or batch file.
npm WARN gulp-karma@0.0.4 requires a peer of karma@>=0.10 <=0.13 but none was installed.
npm ERR! Windows_NT 10.0.14393
npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "install"
npm ERR! node v6.10.3
npm ERR! npm v3.10.10
npm ERR! code ELIFECYCLE
npm ERR! baasic-angularjs-app-starter-kit@0.1.1 postinstall: bower install
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the baasic-angularjs-app-starter-kit@0.1.1 postinstall script 'bower install'.
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 baasic-angularjs-app-starter-kit package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! bower install
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs baasic-angularjs-app-starter-kit
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls baasic-angularjs-app-starter-kit
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request: npm ERR! C:\Users\mhayes\Documents\My Web Sites\baasic-website\npm-debug.log
C:\Users\mhayes\Documents\My Web Sites\baasic-website>gulp serve 'gulp' is not recognized as an internal or external command, operable program or batch file.
I ran the above in CMD as administrator
Hello, can you check if you have in your environment variables path towards npm packages for example it should be something like this:
C:\Users\{username}\appdata\roaming\npm
NPM should add it by default but depending on which options are checked sometimes it doesn't add these. For gulp issues can you try installing gulp globally as well:
npm install gulp -g
I have cloned "baasic-starterkit-angularjs-app-website" ran "npm install" ran "gulp serve" and get an error. Error: This program is blocked by group policy. For more information, contact your system administrator.
Also i have noticed when I run "npm install" i get an error after bower install command. bower invalid-meta for:C:\Users\mhayes\Documents\My Web Sites\baasic-website\bower.json bower invalid-meta The "main" field cannot contain minified files bower invalid-meta The "main" field cannot contain minified files npm WARN gulp-karma@0.0.4 requires a peer of karma@>=0.10 <=0.13 but none was installed.