Turns out I’ve been making a mistake while importing from NPM. I’ll show all my steps. I made a test app:
meteor create test
meteor npm install
decided to just start and close the app
then I tried installing moment, as it seemed like the go to example for node installs
meteor npm install --save moment
I checked in node_modules and ensured moment was installed, along with an update in packages.json
I then went into main.js and added
import moment from 'moment';
No errors shown in console, so I fire up chrome, open the dev console and check:
and… nothing. Ref errors.
What am I missing?