btford / btford/angular-express-blog

node api.js cant running

Open
#18 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
601
Forks
244
PR merge metrics
No merged PRs in 30d

Description

after npm install and trying to running web server and it wont let running

not sure if the express is old version.

```
$ node api.js
module.js:338
throw err;
^
Error: Cannot find module 'C:\Users\Brian\Documents\GitHub\angular-express-blog\api.js'
at Function.Module._resolveFilename (module.js:336:15)
at Function.Module._load (module.js:278:25)
at Function.Module.runMain (module.js:501:10)
at startup (node.js:129:16)
at node.js:814:3

```

What cause is that?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the reported `node api.js` command and verify the repository's documented entry point after `npm install`; the issue reports that `api.js` cannot be found. Check the project files and startup instructions to determine the intended server command. Done means the documented command starts the web server without the reported module error.

Written by the indexing model from the issue text.

Assessment

Tech stack
angularjs, express, javascript, node.js
Domain
api, backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.