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

ng serve issue: Error: ./node_modules/exceljs/dist/es5/exceljs.browser.js #259

Closed
alanwongct opened this issue Jan 15, 2021 · 2 comments
Closed

Comments

@alanwongct
Copy link

I receive the following errors when I try to install

*******~/attack-navigator/nav-app$ sudo ng serve
✔ Browser application bundle generation complete.

Initial Chunk Files | Names | Size
vendor.js | vendor | 7.09 MB
scripts.js | scripts | 2.70 MB
main.js | main | 1.09 MB
polyfills.js | polyfills | 385.51 kB
styles.css | styles | 75.98 kB
runtime.js | runtime | 6.15 kB

                | Initial Total |  11.33 MB

Build at: 2021-01-15T20:17:05.633Z - Hash: 2a0c1d7434cfd49d0f92 - Time: 17766ms

Warning: Zone.js does not support native async/await in ES2017+.
These blocks are not intercepted by zone.js and will not triggering change detection.
See: angular/zone.js#1140 for more information.

Warning: /home/debianadmin/attack-navigator/nav-app/src/app/app.module.ts depends on 'rxjs/add/operator/map'. CommonJS or AMD dependencies can cause optimization bailouts.
For more info see: https://angular.io/guide/build#configuring-commonjs-dependencies

Error: ./node_modules/exceljs/dist/es5/exceljs.browser.js
Module not found: Error: Can't resolve 'core-js/modules/es.array.find' in '/home/debianadmin/attack-navigator/nav-app/node_modules/exceljs/dist/es5'

Error: ./node_modules/exceljs/dist/es5/exceljs.browser.js
Module not found: Error: Can't resolve 'core-js/modules/es.array.find-index' in '/home/debianadmin/attack-navigator/nav-app/node_modules/exceljs/dist/es5'

Error: ./node_modules/exceljs/dist/es5/exceljs.browser.js
Module not found: Error: Can't resolve 'core-js/modules/es.array.includes' in '/home/debianadmin/attack-navigator/nav-app/node_modules/exceljs/dist/es5'

Error: ./node_modules/exceljs/dist/es5/exceljs.browser.js
Module not found: Error: Can't resolve 'core-js/modules/es.array.iterator' in '/home/debianadmin/attack-navigator/nav-app/node_modules/exceljs/dist/es5'

Error: ./node_modules/exceljs/dist/es5/exceljs.browser.js
Module not found: Error: Can't resolve 'core-js/modules/es.number.is-nan' in '/home/debianadmin/attack-navigator/nav-app/node_modules/exceljs/dist/es5'

Error: ./node_modules/exceljs/dist/es5/exceljs.browser.js
Module not found: Error: Can't resolve 'core-js/modules/es.object.assign' in '/home/debianadmin/attack-navigator/nav-app/node_modules/exceljs/dist/es5'

Error: ./node_modules/exceljs/dist/es5/exceljs.browser.js
Module not found: Error: Can't resolve 'core-js/modules/es.object.keys' in '/home/debianadmin/attack-navigator/nav-app/node_modules/exceljs/dist/es5'

Error: ./node_modules/exceljs/dist/es5/exceljs.browser.js
Module not found: Error: Can't resolve 'core-js/modules/es.object.values' in '/home/debianadmin/attack-navigator/nav-app/node_modules/exceljs/dist/es5'

Error: ./node_modules/exceljs/dist/es5/exceljs.browser.js
Module not found: Error: Can't resolve 'core-js/modules/es.promise' in '/home/debianadmin/attack-navigator/nav-app/node_modules/exceljs/dist/es5'

Error: ./node_modules/exceljs/dist/es5/exceljs.browser.js
Module not found: Error: Can't resolve 'core-js/modules/es.string.from-code-point' in '/home/debianadmin/attack-navigator/nav-app/node_modules/exceljs/dist/es5'

Error: ./node_modules/exceljs/dist/es5/exceljs.browser.js
Module not found: Error: Can't resolve 'core-js/modules/es.string.includes' in '/home/debianadmin/attack-navigator/nav-app/node_modules/exceljs/dist/es5'

Error: ./node_modules/exceljs/dist/es5/exceljs.browser.js
Module not found: Error: Can't resolve 'core-js/modules/es.symbol' in '/home/debianadmin/attack-navigator/nav-app/node_modules/exceljs/dist/es5'

Error: ./node_modules/exceljs/dist/es5/exceljs.browser.js
Module not found: Error: Can't resolve 'core-js/modules/es.symbol.async-iterator' trie'/home/debianadmin/attack-navigator/nav-app/node_modules/exceljs/dist/es5'

** Angular Live Development Server is listening on localhost:4200, open your browser on http://localhost:4200/ **

I opened browser on http://localhost:4200/ and only get" Cannot GET / "
tried "npm run postinstall" and still having the same issue.

@isaisabel
Copy link
Contributor

Hi @alanwongct,

We released an update today (version 4.2), can you verify whether you still are having the issue on the new version?

Also, I'm not sure you have to run ng serve with sudo. I've not tried hosting the Navigator on Linux but on OSX I know it can be served without the sudo command. This is probably not the issue but it's worth noting regardless.

@isaisabel
Copy link
Contributor

Closing due to lack of activity. I'm happy to reopen it if the problem is still occuring.

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

2 participants