-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
BUILD ERROR following README installation instructions #1929
Comments
tried the same yesterday, do have the same issue. but isn't this a duplicate of the media-error issue ? |
same error here, and didnt find any media-error in closed issues. would you have a link? |
i have actually both issues. i was able to get rid of the flex issue following an answer in above.thread, but.now i have another runtime.problem. i thing a working -lock file.would be great |
same error here, please help! |
This issue is because of webpack... Steps I took to fix this problem:
|
thats what i basically did yesterday and no help. i will redo the excercise once more from a fresh starting point and report so: after npm install i do still have this "webpack": "^4.26.1", npm start results in: (the original issue) and browser shows: {"message":"ENOENT: no such file or directory, stat 'C:\Users\Lilu\Documents\GitHub\linnovate-mean\mean\dist\index.html'"} can you please be more precise ? |
I try to follow you, but at the end I still got the message after I run "npm start" and go to: http://localhost:4040/: @yogesh2022 could you send me .zip file of your project? |
Extremely sorry guys, You have to remove the webpack & webpack dev server from dependencies it should not be installed as a local module but a global module. You can also check by running this command " npm ls webpack " if you see multiple instances then you have multiple webpack installed. |
You can simply comment out that code and try re-building the code again... I did the same thing and its working for me.. I will work on the permanent fix and let you know. Extremely sorry, You have to remove the webpack & webpack dev server from dependencies it should not be installed as a local module but a global module. You can also check by running this command " npm ls webpack " if you see multiple instances then you have multiple webpack installed. |
I'm still stuck in this issue with webpack package, could you send me your fixed folder? please... @yogesh2022 |
Same here. Followed step by step, but still same error. @yogesh2022 :-( |
Same here. Followed step by step, but still same error. @yogesh2022 :-( I use win 10 |
Is this still actual? I tried and had no issues related to this one. I'm using Windows 10 Build 1809 and WSL (Ubuntu 18.04 LTS) |
not sure whether this is still relevant, but I had the same issues on dist folder not found. |
6 years later, still the same problem .... looking to learn MEAN Stack , not really a great experience for a repo which has that many stars |
On Windows10 machine, following README installation instructions:
c:\code\mean>npm start
[SERVER] [nodemon] 1.18.9
[SERVER] [nodemon] to restart at any time, enter
rs
[SERVER] [nodemon] watching: .
[SERVER] [nodemon] starting
node server
[SERVER] ../../dist/
[SERVER] (node:8028) DeprecationWarning: current URL string parser is deprecated, and will be removed in a future version. To use the new parser, pass option { useNewUrlParser: true } to MongoClient.connect.
[SERVER] server started on port 4040 (development)
[SERVER] (node:8028) DeprecationWarning: collection.ensureIndex is deprecated. Use createIndexes instead.
[BUILD]
[BUILD] Date: 2018-12-16T10:53:53.908Z
[BUILD] Hash: 1b8a55cd0d0ed1e5b8ce
[BUILD] Time: 7949ms
[BUILD] chunk {main} main.js, main.js.map (main) 603 bytes [initial] [rendered]
[BUILD] chunk {polyfills} polyfills.js, polyfills.js.map (polyfills) 658 bytes [initial] [rendered]
[BUILD] chunk {runtime} runtime.js, runtime.js.map (runtime) 6.22 kB [entry] [rendered]
[BUILD] chunk {styles} styles.js, styles.js.map (styles) 102 kB [initial] [rendered]
[BUILD]
[BUILD] ERROR in src/app/shared/shared.module.ts(4,34): error TS2307: Cannot find module '@angular/flex-layout'.
[BUILD]
On Chrome browser, localhost:4040, you get:
{"message":"ENOENT: no such file or directory, stat 'c:\code\mean\dist\index.html'"}
Any clues? Thx in advance.
The text was updated successfully, but these errors were encountered: