I am unable to install datatables using npm

I am unable to install datatables using npm

Lynn RoseLynn Rose Posts: 1Questions: 1Answers: 0

i get the error below
C:\Windows\System32>npm install --save datatables.net-dt
npm WARN saveError ENOENT: no such file or directory, open 'C:\Windows\System32\package.json'
npm WARN enoent ENOENT: no such file or directory, open 'C:\Windows\System32\package.json'
npm WARN System32 No description
npm WARN System32 No repository field.
npm WARN System32 No README data
npm WARN System32 No license field.

  • datatables.net-dt@1.10.19
    updated 1 package and audited 2094 packages in 5.358s
    found 0 vulnerabilities

Answers

  • colincolin Posts: 15,240Questions: 1Answers: 2,599

    Hi @Lynne Rose ,

    I don't think you need the "--save" option, see here.

    Cheers,

    colin

This discussion has been closed.