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

Stuck in the tutorial #26

Open
McPhelpsius opened this issue Sep 16, 2016 · 3 comments
Open

Stuck in the tutorial #26

McPhelpsius opened this issue Sep 16, 2016 · 3 comments

Comments

@McPhelpsius
Copy link

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?

@kdamken
Copy link

kdamken commented Sep 23, 2016

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)

@joeeames
Copy link
Owner

Did you review the course discussion forum for similar issues and solutions?

On Fri, Sep 23, 2016, 4:09 PM Kyle Damken notifications@github.com 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
#26 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABBcnaJqoUzbfUq4tr9REUiURkqqhKoCks5qs92vgaJpZM4J_UC6
.

@kdamken
Copy link

kdamken commented Sep 23, 2016

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

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

3 participants