Previously I was using Meteor 1.2
, npm: '2.11.3'
and node: '0.12.7'
in my application
and I was using
var path = require('path');
var fs = require('fs');
const remote = require('remote');
var fsPlus =remote.require('fs-plus');
var nconf = remote.require('nconf');
Currently I migrate it in Meteor 1.4
, npm: '2.15.9'
and node: '4.5.0'
for above code Error: “path module not found” not found so I did some changes
and Changes are
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
var path = _interopRequireDefault('path');
var fs = _interopRequireDefault('fs');
const remote = _interopRequireDefault('remote');
// It is working but
// same is not working for
var fsPlus =remote.require('fs-plus');
var nconf = remote.require('nconf');
It is showing o.require is not found
and file line denoting to fs-plus
Can you Please help me out ?