npm install -g express
expressをインストールしてもexpressが見つけられない。。。
node server.js
internal/modules/cjs/loader.js:883
throw err;
^
Error: Cannot find module 'express'
やろうとしていること
vuex/examples at dev · vuejs/vuex
のserver.jsを実行したい
解決
npm install
でパッケージをインストールすればいいだけ