Ionic 3, Adding Third Party Libs Error

Error when “Adding Third Party Libs”

Following the tutorial “Adding Third Party Libs”, the following error jumps

npm package

  • npm i os --save

my imports:

  • import os from ‘os’;

use

  • console.log(os.arch());