meteor-hmr icon indicating copy to clipboard operation
meteor-hmr copied to clipboard

Path must be a string

Open JD2k opened this issue 7 years ago • 0 comments

Description of Problem

Hello,

at meteor start i am getting following Errors:

While processing files with gadicc:ecmascript-hot (for target web.browser):
   path.js:8:11: Path must be a string. Received { __esModule: true,
   Plugin: [Function: Plugin],
   transformFile: [Function: transformFile],
   transformFileSync: [Function: transformFileSync],
   File: [Function: File],
   options: 
   { filename: 
   { type: 'filename',
   description: 'filename to use when reading from stdin - this will be used in
   source-maps, errors etc',
   default: 'unknown',
   shorthand: 'f' },
   filenameRelative: { hidden: true, type: 'string' },
   inputSourceMap: { hidden: true },
   env: { hidden: true, default: {} },
   mode: { description: '', hidden: true },
   retainLines: 
   { type: 'boolean',
   default: false,
   description: 'retain line numbers - will result in really ugly code' },
   highlightCode: 
   { description: 'enable/disable ANSI syntax highlighting of code frames (on
   by default)',
   type: 'boolean',
   default: true },
   suppressDeprecationMessages: { type: 'boolean', default: false, hidden: true
   },
   presets: { type: 'list', description: '', default: [] },
   plugins: { type: 'list', default: [], description: '' },
   ignore: 
   { type: 'list',
   description: 'list of glob paths to **not** compile',
   default: [] },
   only: 
   { type: 'list',
   description: 'list of glob paths to **only** compile' }, 

I switched back to the regular ecmascript and the problem went away.

Please copy and paste the full error from the console, if one occcured.

Environment

  • Meteor version: Meteor 1.4.1.1
  • ecmascript-hot version:
  • Operating System: Mac OS X

Supporting files

.meteor/packages

accounts-password        1.3.0  Password support for accounts
blaze-html-templates     1.0.4* Compile HTML templates into reactive UI with Meteor Blaze
es5-shim                 4.6.14  Shims and polyfills to improve ECMAScript 5 support
fortawesome:fontawesome  4.5.0  Font Awesome (official): 500+ scalable vector icons, customizable via CSS, Retina friendly
gadicc:ecmascript-hot    1.3.1_1  Replacement ecmascript package providing react hotloading
insecure                 1.0.7  (For prototyping only) Allow all database writes from the client
jabbslad:basic-auth      0.2.2  Add HTTP Basic Auth support to your application
jquery                   1.11.9  Manipulate the DOM using CSS selectors
kadira:flow-router       2.12.1  Carefully Designed Client Side Router for Meteor
less                     2.7.5  Leaner CSS language
meteor-base              1.0.4  Packages that every Meteor app needs
mobile-experience        1.0.4  Packages for a great mobile user experience
mongo                    1.1.12  Adaptor for using MongoDB and Minimongo over DDP
react-meteor-data        0.2.9  React mixin for reactively tracking Meteor data
reactive-var             1.0.10  Reactive variable
session                  1.1.6  Session variable
shell-server             0.2.1  Server-side component of the `meteor shell` command.
standard-minifier-css    1.2.0  Standard css minifier used with Meteor apps by default.
standard-minifier-js     1.2.0  Standard javascript minifiers used with Meteor apps by default.
tracker                  1.1.0  Dependency tracker to allow reactive callbacks
twbs:bootstrap           3.3.6  The most popular front-end framework for developing responsive, mobile first projects on the web.

packages.json

{
  "name": "hello",
  "private": true,
  "scripts": {
    "start": "meteor run"
  },
  "dependencies": {
    "babel-preset-es2015": "^6.9.0",
    "babel-preset-meteor": "^6.12.0",
    "babel-preset-react": "^6.11.1",
    "bcrypt": "^0.8.7",
    "meteor-node-stubs": "~0.2.0",
    "react": "^15.3.0",
    "react-addons-pure-render-mixin": "^15.3.0",
    "react-bootstrap": "^0.30.2",
    "react-data-components": "^1.1.0",
    "react-dom": "^15.3.0",
    "react-hot-loader": "^3.0.0-beta.5",
    "winterfell": "^1.0.8"
  },
  "devDependencies": {
    "redbox-react": "^1.3.1"
  }
}

.babelrc (if you modified it)

{

  "presets": [
  ],

  "plugins": [ "react-hot-loader/babel"
  ]

}

Thanks in advance, any help is appreciated.

JD2k avatar Sep 26 '16 08:09 JD2k