Skip to content

Unable to start the site through "npm start" #788

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

Closed
ghost opened this issue Jun 17, 2016 · 1 comment
Closed

Unable to start the site through "npm start" #788

ghost opened this issue Jun 17, 2016 · 1 comment

Comments

@ghost
Copy link

ghost commented Jun 17, 2016

  • localhost:
  • Chrome Latest Version:
  • Windows 7 64-bit:

I just downloaded the code and am trying to run the project. As given in the instructions I typed
--npm install (this worked fine)
--npm start: When I run this I get the following error

> npm run serve


> [email protected] serve C:\Written Programs\OpenSourceProjects\nodejs.org
> node server.js

http://localhost:8080/en/
C:\Written Programs\OpenSourceProjects\nodejs.org\scripts\event-geo.js:111
  load().regions.forEach((reg) => {
        ^

TypeError: Cannot read property 'regions' of undefined
    at module.exports.load.regions.forEach.reg.meetups.forEach.reg.conferences.f
orEach (C:\Written Programs\OpenSourceProjects\nodejs.org\scripts\event-geo.js:1
11:9)
    at C:\Written Programs\OpenSourceProjects\nodejs.org\build.js:236:100
    at cb (C:\Written Programs\OpenSourceProjects\nodejs.org\node_modules\ncp\li
b\ncp.js:255:37)
    at C:\Written Programs\OpenSourceProjects\nodejs.org\node_modules\ncp\lib\nc
p.js:108:16
    at C:\Written Programs\OpenSourceProjects\nodejs.org\node_modules\ncp\lib\nc
p.js:227:14
    at FSReqWrap.oncomplete (fs.js:82:15)_  
@saadq
Copy link
Contributor

saadq commented Jun 17, 2016

What version of Node are you using? The README states:

Note: You'll need Node.js v4 or newer as the build system uses some native ES2015 features.

You can check your version by doing node --version inside the command line.

@ghost ghost closed this as completed in 4bbdd07 Jun 26, 2016
ghost pushed a commit that referenced this issue Jun 26, 2016
Make the event-geo script work on Windows
This issue was closed.
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

1 participant