Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Path must be a string #131

Open
JD2k opened this issue Sep 26, 2016 · 0 comments
Open

Path must be a string #131

JD2k opened this issue Sep 26, 2016 · 0 comments

Comments

@JD2k
Copy link

JD2k commented Sep 26, 2016

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant