question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[webpack-isomorphic-tools] [error] asset not found: ./src/components/UserList/styles.scss

See original GitHub issue

I try remove component UserList from Home component. And I have error

[webpack-isomorphic-tools] [error] asset not found: ./src/components/UserList/styles.scss
==> 😭  Rendering routes error: TypeError: Cannot read property '_style' of undefined

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
martin2786commented, Aug 23, 2017

You also need to remove this line from /utils/html.js require(‘…/components/UserList/styles.scss’)._style Since the component is no longer being imported, the style is not getting imported either and the html fails.

0reactions
martin2786commented, Aug 23, 2017

no problem, glad to help 👍

Read more comments on GitHub >

github_iconTop Results From Across the Web

[webpack-isomorphic-tools] [error] asset not found #106 - GitHub
It's strange. I remove webpack-asset.json, then do a fresh build with webpack, I can get webpack-asset.json correctly.
Read more >
How to correctly configure React-Toolbox in an isomorphic ...
1 Answer 1 ... Alright, the issue specifically seems to be that you are requiring css in your component (indirectly through React Toolbox)...
Read more >
webpack-isomorphic-tools - npm
Transforms CSS-alike text into a React style JSON object. Latest version: 4.0.0, last published: 2 years ago.
Read more >
Adding assets to your isomorphic application (using webpack ...
First of all, let's understand what loaders we are going to use for our assets. I'd suggest to start with these here: css-loader;...
Read more >
Developing isomorphic applications using webpack - Medium
I have proceeded to develop the application using React and webpack. I have had the application up and running, but there was one...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found