Open jcayzac opened 3 years ago
When dependencies are symlinked, e.g. when using PNPM, packages cannot get resolved.
Package resolution shouldn't be layout-dependent.
Package resolution breaks when dependencies aren't organized in legacy layout.
$ pnpm install -D fusuma $ pnpx fusuma init $ pnpx fusuma start ERROR Failed to compile with 3 errors 11:14:34 AM error Module not found: Error: Can't resolve 'babel-loader' in '/Users/julien.cayzac/Desktop/presentation' error Module not found: Error: Can't resolve 'regenerator-runtime' in '/Users/julien.cayzac/Desktop/presentation' error Module not found: Error: Can't resolve 'webpack-hot-middleware/client?reload=true' in '/Users/julien.cayzac/Desktop/presentation' start Serving on http://localhost:8080
thank you for reporting. I haven't checked pnpm yet, I'll fix it.
hm, it seems the same issue(https://github.com/webpack/webpack/issues/5087)
Info
Type
For Bugs
When dependencies are symlinked, e.g. when using PNPM, packages cannot get resolved.
Expected Behavior
Package resolution shouldn't be layout-dependent.
Actual Behavior
Package resolution breaks when dependencies aren't organized in legacy layout.
How can we reproduce the behavior?