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

Invalid file path format - Peer dependencies support #240

Closed
SagnikPradhan opened this issue Nov 3, 2020 · 3 comments
Closed

Invalid file path format - Peer dependencies support #240

SagnikPradhan opened this issue Nov 3, 2020 · 3 comments

Comments

@SagnikPradhan
Copy link
Member

Console output for d-zone

Uncaught TypeError: Error resolving module specifier “public\build\dependencies\dependencies\react\index.js”. Relative module specifiers must start with “./”, “../” or “/”.

Example resolved paths

{
  ecsy: 'public\\build\\dependencies\\dependencies\\ecsy\\index.js',
  'pixi-cull': 'public\\build\\dependencies\\dependencies\\pixi-cull\\index.js',
  'pixi-viewport': 'public\\build\\dependencies\\dependencies\\pixi-viewport\\index.js',
  'pixi.js-legacy': 'public\\build\\dependencies\\dependencies\\pixi.js-legacy\\index.js',
  react: 'public\\build\\dependencies\\dependencies\\react\\index.js',
  'react-dom': 'public\\build\\dependencies\\dependencies\\react-dom\\index.js',
  'react-router-dom': 'public\\build\\dependencies\\dependencies\\react-router-dom\\index.js',
  regexparam: 'public\\build\\dependencies\\dependencies\\regexparam\\index.js',
  tslib: 'public\\build\\dependencies\\dependencies\\tslib\\index.js'
}
@SagnikPradhan
Copy link
Member Author

Seems like a remain from #238 fix

@SagnikPradhan SagnikPradhan mentioned this issue Nov 3, 2020
Closed
@SagnikPradhan SagnikPradhan linked a pull request Nov 3, 2020 that will close this issue
Closed
@SagnikPradhan
Copy link
Member Author

Seems like there are edge cases when peer dependencies do not seem to work. Specifically in our case the react dependency bundle only seems to have a default export, but react-router-dom uses named exports from react. Very weird error, not sure what to do here.

@SagnikPradhan SagnikPradhan changed the title Invalid file path format Invalid file path format - Peer dependencies support Nov 3, 2020
@SagnikPradhan
Copy link
Member Author

I got no idea how this happened. Peer dependencies were never needed. Rolling back yakshaving soon.

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

Successfully merging a pull request may close this issue.

1 participant