hello, back at Meteor after about 6 years of absence… I’m pretty rusty!
I want to install a npm package ‘node-osc’
in my project folder, I call
meteor npm install --save node-osc
that installs the package and I see that reflected in the package.json
"@babel/runtime": "^7.17.9",
"meteor-node-stubs": "^1.2.1",
"node-osc": "^8.0.3",
"react": "^17.0.2",
"react-dom": "^17.0.2"
},
but if I try to import it into main.js
import { Client } from 'node-osc';
I get an error in the console - 'Cannot find module “node-osc”