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

File to import not found or unreadable #100

Closed
Huy-Ngo opened this issue Jul 21, 2017 · 3 comments
Closed

File to import not found or unreadable #100

Huy-Ngo opened this issue Jul 21, 2017 · 3 comments

Comments

@Huy-Ngo
Copy link

Huy-Ngo commented Jul 21, 2017

When I run npm start, an error occur:

ERROR in ./~/css-loader?{"sourceMap":false,"importLoaders":1}!./~/postcss-loader                                                                                                                                                                                               ?{"ident":"postcss"}!./~/sass-loader/lib/loader.js?{"sourceMap":false,"precision                                                                                                                                                                                               ":8,"includePaths":[]}!./src/main.scss
Module build failed:
undefined
^
      File to import not found or unreadable: C:\Users\Admin\desktop\Jarethien-E                                                                                                                                                                                               nglish Dictionary 2.0\node_modules\bootstrap\scss\mixins\_reset-text.scss.
Parent style sheet: C:/Users/Admin/desktop/Jarethien-English Dictionary 2.0/node                                                                                                                                                                                               _modules/bootstrap/scss/_mixins.scss
      in C:\Users\Admin\desktop\Jarethien-English Dictionary 2.0\node_modules\bo                                                                                                                                                                                               otstrap\scss\_mixins.scss (line 29, column 1)
 @ ./src/main.scss 4:14-187
 @ multi ./src/main.scss
webpack: Failed to compile.

I thought that this happens because my computer cannot read scss files, but even after I installed sass, the error is still not solved.

@sinedied
Copy link
Member

Could you post your OS, Node and NPM versions?

Also it seems that there is a space in your path, and some npm modules do not like that, please try running it from a folder without any space in its name and see if it solves the issue.

@Huy-Ngo
Copy link
Author

Huy-Ngo commented Jul 22, 2017

I run window 7 ultimate, npm 5.3.0, node 8.1.4. But possibly the error occurred because of the space. I will try it.

@Huy-Ngo
Copy link
Author

Huy-Ngo commented Jul 22, 2017

Well, it was the space in file that made the error. Thanks for pointing that out.

@Huy-Ngo Huy-Ngo closed this as completed Jul 22, 2017
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

2 participants