Comments (6)
Please check your package-lock.json instead. The package.json file doesn't necessarily reflect what's installed.
AFAIK, the CommonJS warning should not appear until NG10. However, if you are using ivy, it may actually do.
Please try this and see if it solves the problem: https://alberthaff.dk/projects/ngx-papaparse/docs/v5/installation/angular-10-or-later
If so, i'll update the docs to also reflect ivy users in NG9.
from ngx-papaparse.
Closing this issue. My fault.
Its actually one of my dev dependency that causes this warning which is @angular-devkit/build-angular ^0.1001.6 . I just trace my previous version for this dev dependency then everything works fine.
In case of Ivy, I did not disable it and just leave it to default (which is enabled) and I think, this is nothing to do with Ivy IMO.
I remember I run a command to clean cache for npm and hit npm install and this might cause the accidental update of my dev dependency.
Anyways thanks for telling me that package-lock.json must be checked first instead of the package.json.
from ngx-papaparse.
Which version of ngx-papaparse are you using?
https://alberthaff.dk/projects/ngx-papaparse/docs/v5
You can choose between version in the upper left corner. Each version is only compatible with the stated Angular versions.
from ngx-papaparse.
Im sorry I forgot, but I used the current ngx-papaparse right now which is 5.0.0 and Angular 9.0.7.
I don't actually know what is the cause for this issue.
This is the another warning after I run again ng serve
from ngx-papaparse.
Are you sure that you aren't using Angular 10?
Try reading this: https://alberthaff.dk/projects/ngx-papaparse/docs/v5/installation/angular-10-or-later
from ngx-papaparse.
Im 300% sure that Im not using Angular 10 😕.
Yes Ive seen this solution which ignores the warning if you are using Angilar 10
This is my package.json for my version of angular
Im confused as to why is this even happening since Im on Angular 9.
from ngx-papaparse.
Related Issues (20)
- Error: Can't resolve 'papaparse/papaparse.min.js' wiht ngx-papaparse@6 HOT 7
- Angular 15 Ivy Engine HOT 4
- RenamedHeaders not present in metadata
- Update dev-environment to NG 8
- Thank you @alberthaff for maintaining this project HOT 1
- PapaParseModule missing, update documentation HOT 4
- Type definitions are incorrect HOT 5
- Result as Observable
- Please update for Angular 9 HOT 2
- Please publish v5 to npm HOT 1
- Angular10 reports a CommonJS warning for PapaParse HOT 2
- ERROR in node_modules/ngx-papaparse/lib/papa.d.ts:5:22 HOT 7
- Angular 10 - unable to install HOT 1
- CommonJS or AMD dependencies can cause optimization bailouts HOT 2
- Start the header at a specific row number. HOT 5
- Assign CSV results while complete callback triggered, but results are blank
- Preserve a leading zero HOT 1
- An accessor cannot be declared in an ambient context. HOT 1
- Enabled serviceworkers, but page still freezes while CSV file is being parsed HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ngx-papaparse.