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

I am seeing two problems #1

Open
richtera opened this issue Sep 21, 2016 · 1 comment
Open

I am seeing two problems #1

richtera opened this issue Sep 21, 2016 · 1 comment

Comments

@richtera
Copy link

richtera commented Sep 21, 2016

  1. The peer dependencies don't work for a root project. They only seem to work for peers of other npm modules.
  2. I am getting an error when starting the dev server:
ERROR in Path must be a string. Received undefined

Unfortunately there is no stack trace for this but it seems to be caused by one of these:

Searching 59073 files for "Path must be a string." (regex)

/Users/andy/Development/material-ui-template/node_modules/react-native/node_modules/serve-static/index.js:
   41  
   42    if (typeof root !== 'string') {
   43:     throw new TypeError('root path must be a string')
   44    }
   45  

/Users/andy/Development/material-ui-template/node_modules/resolve/lib/async.js:
   14      if (typeof x !== 'string') {
   15          return process.nextTick(function () {
   16:             cb(new Error('path must be a string'));
   17          });
   18      }

/Users/andy/Development/material-ui-template/node_modules/serve-static/index.js:
   42  
   43    if (typeof root !== 'string') {
   44:     throw new TypeError('root path must be a string')
   45    }
   46  

Also I think the react-tap-event-plugin@^0.2.0 is a missing dependency.

richtera added a commit to richtera/material-ui-template that referenced this issue Sep 21, 2016
This resolves the problems when using node v6.
@richtera
Copy link
Author

richtera commented Sep 21, 2016

So all these problems were related to using node v6. node v5 seems to install peerDependencies on a root project but v6 does not (I guess it's npm's doing but the packaged npm for v6 ignores peerDependencies for the root project)

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