AngularFundamentalsFiles
AngularFundamentalsFiles copied to clipboard
Stuck in the tutorial
I've been trying to get past the Thrid Module, but the code isn't working for me when I try to request an event from the data file. Could you point me to some help?
I'm having the same issue, it's preventing me from moving forward in the course. @joeeames Do you have any advice?
Here is my error log: Error: ENOENT: no such file or directory, open 'app/data/event1.json' at Error (native) at Object.fs.openSync (fs.js:549:18) at Object.fs.readFileSync (fs.js:397:15) at eventGrabber.get (/Users/user_name/Desktop/DemoApp/scripts/web-server.js:14:20) at Layer.handle as handle_request at next (/Users/user_name/Desktop/DemoApp/node_modules/express/lib/router/route.js:131:13) at Route.dispatch (/Users/user_name/Desktop/DemoApp/node_modules/express/lib/router/route.js:112:3) at Layer.handle as handle_request at /Users/user_name/Desktop/DemoApp/node_modules/express/lib/router/index.js:277:22 at param (/Users/user_name/Desktop/DemoApp/node_modules/express/lib/router/index.js:349:14)
Did you review the course discussion forum for similar issues and solutions?
On Fri, Sep 23, 2016, 4:09 PM Kyle Damken [email protected] wrote:
I'm having the same issue, it's preventing me from moving forward in the course. @joeeames https://github.com/joeeames Do you have any advice?
Here is my error log: Error: ENOENT: no such file or directory, open 'app/data/event1.json' at Error (native) at Object.fs.openSync (fs.js:549:18) at Object.fs.readFileSync (fs.js:397:15) at eventGrabber.get (/Users/user_name/Desktop/DemoApp/scripts/web-server.js:14:20) at Layer.handle as handle_request http:///Users/user_name/Desktop/DemoApp/node_modules/express/lib/router/layer.js:95:5 at next (/Users/user_name/Desktop/DemoApp/node_modules/express/lib/router/route.js:131:13) at Route.dispatch (/Users/user_name/Desktop/DemoApp/node_modules/express/lib/router/route.js:112:3) at Layer.handle as handle_request http:///Users/user_name/Desktop/DemoApp/node_modules/express/lib/router/layer.js:95:5 at /Users/user_name/Desktop/DemoApp/node_modules/express/lib/router/index.js:277:22 at param (/Users/user_name/Desktop/DemoApp/node_modules/express/lib/router/index.js:349:14)
— You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/joeeames/AngularFundamentalsFiles/issues/26#issuecomment-249203147, or mute the thread https://github.com/notifications/unsubscribe-auth/ABBcnaJqoUzbfUq4tr9REUiURkqqhKoCks5qs92vgaJpZM4J_UC6 .
Hey thanks for responding. I didn't even realize that board existed lol. Turns out it was due to me missing a slash on my file path.
For other users, the link to the discussion board is - https://app.pluralsight.com/library/courses/angularjs-fundamentals/discussion