You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Actually building of bundle is done without errors, but when I try to run server.js - I get error:
Error: Cannot find module './style'
at Function.Module._resolveFilename (module.js:336:15)
at Function.Module._load (module.js:286:25)
at Module.require (module.js:365:17)
at require (module.js:384:17)
at Object.<anonymous> (/some-path/node_modules/react-toolbox/lib/font_icon/index.js:15:14)
at Module._compile (module.js:434:26)
at Object.Module._extensions..js (module.js:452:10)
at Module.load (module.js:355:32)
at Function.Module._load (module.js:310:12)
at Module.require (module.js:365:17)
In my server.js I do not using hot-middleware.
The text was updated successfully, but these errors were encountered:
Hi! I did not try toolbox from the server yet but you shouldn't have any problems. Apparently your server side is not able to resolve the path for the styling. This usually happens in the frontend because it's a common pattern to exclude node_modules from the loaders pipeline.
Maybe you can open an issue in the main repository pointing here to get help. I know there are some people using toolbox from the server with no issue. Also, this points that it could be cool to have the example with server side rendering better than just frontend.
Sorry I can't help too much at this moment, I'll try to do something during the evening.
Thanks!
Hi, I'm trying to use toolbpx in isomorphic application. But have some troubles...
Here is my webpack config:
Actually building of bundle is done without errors, but when I try to run server.js - I get error:
In my server.js I do not using hot-middleware.
The text was updated successfully, but these errors were encountered: