Coder Social home page Coder Social logo

Comments (6)

alberthaff avatar alberthaff commented on May 27, 2024 1

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.

gitalvininfo avatar gitalvininfo commented on May 27, 2024 1

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.

alberthaff avatar alberthaff commented on May 27, 2024

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.

gitalvininfo avatar gitalvininfo commented on May 27, 2024

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

Screenshot_2020-10-15_17-34-03

Here is my package.json
Screenshot_2020-10-15_17-43-46

from ngx-papaparse.

alberthaff avatar alberthaff commented on May 27, 2024

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.

gitalvininfo avatar gitalvininfo commented on May 27, 2024

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
Screenshot_20201015_185101_com.android.chrome~2.jpg

Here is my dev dependency
Screenshot_20201015_185526.jpg

Im confused as to why is this even happening since Im on Angular 9.

from ngx-papaparse.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.