angular-6-web-components
angular-6-web-components copied to clipboard
Unable to view demo locally
Hey @sulco I have pulled down the repo and tried to run the commands you've listed in the README.md but I'm unable to find the command npm run package-elements
is this something you have locally but have not pushed up?
only npm run package
Demo is working only in Chrome
Hi Sulco, I have started programming with version 6 of Angular two months ago. I have a problem when executing the command: npm run package I get the following errors: "cat" is not recognized as an internal or external command, events.js: 183 throw er; // Unhandled 'error' event
Error: ENOENT: no such file or directory, open ... gzip: no one pattern is not specified. Operation is skipped.
I do not recognize the cat and gzip commands
Exactly what is the reason why you do not recognize the commands?
Best regards
@joexjs I think you should probably raise that as another issue as it is unrelated to this issue. You are likely on windows and need something like cygwin to execute the unix commands cat and gzip
Just leave it here
"package": "bash -c 'cat dist/angular6-elements/{runtime,polyfills,scripts,main}.js' | gzip > elements.js.gz"