mgechev / angular-seed

🌱 [Deprecated] Extensible, reliable, modular, PWA ready starter project for Angular (2 and beyond) with statically typed build and AoT compilation
https://mgechev.github.io/angular-seed
MIT License
4.57k stars 1.45k forks source link

Node module conflict with angular-seed #2252

Closed badcef closed 6 years ago

badcef commented 6 years ago

I'm submitting a ... (check one with "x")

[x ] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request => Please do not submit support request here, instead see use [gitter](https://gitter.im/mgechev/angular2-seed) or [stackoverflow](https://stackoverflow.com/questions/tagged/angular2)

Current behavior After installation of the node 'XLSX' and adding it to the code the node returns a SystemJS Not found error of nodes that are not to be found anywhere on the web: fs.js, crypto.js and stream.js

Expected behavior It's a simple node installation and it would be expected to work easily.

Minimal reproduction of the problem with instructions

Install xlsx via npm: npm -g install xlsx --save (or mostly any variant)

importing xlsx and implementing any method.

What is the motivation / use case for changing the behavior? No information on the net regarding this issue

Please tell us about your environment: Working with this right now: "devDependencies": { "@angular/cli": "1.2.5", "@angular/compiler-cli": "4.3.0", "@angular/platform-server": "4.3.0", "@types/async": "2.0.40", "@types/browser-sync": "0.0.34", "@types/express": "4.0.35", "@types/gulp": "3.8.32", "@types/gulp-filter": "3.0.30", "@types/gulp-load-plugins": "0.0.28", "@types/gulp-protractor": "1.0.30", "@types/gulp-sass": "0.0.29", "@types/gulp-util": "3.0.31", "@types/jasmine": "2.5.41", "@types/lodash": "4.14.64", "@types/node": "6.0.68", "@types/rimraf": "0.0.28", "@types/run-sequence": "0.0.28", "@types/selenium-webdriver": "2.53.42", "@types/systemjs": "0.19.33", "@types/yargs": "6.6.0", "@types/zone.js": "0.0.27", "async": "2.3.0", "autoprefixer": "6.7.7", "browser-sync": "2.18.8", "codelyzer": "2.1.1", "compodoc": "0.0.40", "connect-history-api-fallback": "1.3.0", "cssnano": "3.10.0", "deep-extend": "0.4.1", "event-stream": "3.3.4", "express": "4.14.1", "express-history-api-fallback": "2.1.0", "gulp": "3.9.1", "gulp-cached": "1.1.1", "gulp-concat": "2.6.1", "gulp-concat-css": "2.3.0", "gulp-filter": "4.0.0", "gulp-inject": "4.2.0", "gulp-inline-ng2-template": "4.0.0", "gulp-load-plugins": "1.5.0", "gulp-plumber": "1.1.0", "gulp-postcss": "6.4.0", "gulp-progeny": "0.3.2", "gulp-protractor": "3.0.0", "gulp-rename": "1.2.2", "gulp-replace": "0.5.4", "gulp-sass": "3.1.0", "gulp-sourcemaps": "2.2.0", "gulp-template": "4.0.0", "gulp-tslint": "7.0.1", "gulp-typescript": "3.1.6", "gulp-uglify": "2.1.2", "gulp-util": "3.0.8", "gulp-watch": "4.3.11", "is-ci": "1.0.10", "isstream": "0.1.2", "jasmine-core": "2.4.1", "jasmine-spec-reporter": "3.2.0", "karma": "1.3.0", "karma-chrome-launcher": "2.0.0", "karma-coverage": "1.1.1", "karma-jasmine": "1.1.0", "karma-mocha-reporter": "2.2.0", "karma-phantomjs-launcher": "1.0.4", "karma-remap-istanbul": "0.2.1", "merge-stream": "1.0.1", "minimatch": "3.0.3", "open": "0.0.5", "protractor": "4.0.14", "remap-istanbul": "0.8.4", "rimraf": "2.6.1", "rollup": "0.41.6", "rollup-plugin-commonjs": "7.1.0", "rollup-plugin-includepaths": "0.2.1", "rollup-plugin-node-resolve": "2.1.1", "run-sequence": "1.2.2", "semver": "5.3.0", "serve-static": "1.12.1", "slash": "1.0.0", "supports-color": "3.2.3", "systemjs-builder": "0.15.34", "tildify": "1.2.0", "traceur": "0.0.111", "ts-node": "2.1.2", "tslint": "4.5.1", "typescript": "2.2.2", "walk": "2.3.9", "yargs": "6.6.0" }, "dependencies": { "@angular/animations": "4.3.0", "@angular/cdk": "2.0.0-beta.10", "@angular/common": "4.3.0", "@angular/compiler": "4.3.0", "@angular/core": "4.3.0", "@angular/forms": "4.3.0", "@angular/http": "4.3.0", "@angular/material": "2.0.0-beta.5", "@angular/platform-browser": "4.3.0", "@angular/platform-browser-dynamic": "4.3.0", "@angular/router": "4.3.0", "@angular/service-worker": "1.0.0-beta.6", "@covalent/core": "1.0.0-beta.4", "@covalent/http": "1.0.0-beta.4", "@ngx-translate/core": "6.0.1", "@ngx-translate/http-loader": "0.0.3", "ajv": "5.0.0", "angular-dual-listbox": "^4.6.3", "bootstrap": "3.3.7", "core-js": "2.4.1", "d3": "4.9.0", "font-awesome": "4.7.0", "gulp-merge-json": "1.0.0", "intl": "1.2.5", "lodash": "4.17.4", "moment": "2.18.1", "ng2-toastr": "4.0.1", "ngx-bootstrap": "1.7.1", "ngx-restangular": "1.0.11", "primeng": "4.2.0", "reflect-metadata": "0.1.10", "rxjs": "5.3.0", "systemjs": "0.19.41", "webpack": "3.0.0", "zone.js": "0.8.5" }

mgechev commented 6 years ago

Looks problem specific to your environment. If you're just getting started with Angular/JavaScript tooling you can try Angular CLI, it'll reduce the amount of manual configuration for you.