Full project for the Build a Website with Node course.
- Clone the repo:
[email protected]:scotch-io/node-website-course.git
- Install packages:
npm install
- Start the server:
node server.js
- Visit in browser at:
http://localhost:8080
Code for the Scotch School course by @hollylawly: Build Your First Node.js Website
Home Page: https://school.scotch.io/build-a-nodejs-website
Full project for the Build a Website with Node course.
[email protected]:scotch-io/node-website-course.git
npm install
node server.js
http://localhost:8080
When watching your video and following along I got this error, so I cloned our source from here and executed it and got the same error. Only thing I can figure is that there was a breaking change in one of your dependencies in package.json
SyntaxError: Unexpected identifier in /home/tempcke/node-website-course/views/pages/about.ejs while compiling ejs
If the above error is not helpful, you may want to try EJS-Lint:
https://github.com/RyanZim/EJS-Lint
at Object.Function (<anonymous>)
at Object.Template.compile (/home/tempcke/node-website-course/node_modules/ejs/lib/ejs.js:481:12)
at Object.compile (/home/tempcke/node-website-course/node_modules/ejs/lib/ejs.js:290:16)
at handleCache (/home/tempcke/node-website-course/node_modules/ejs/lib/ejs.js:168:18)
at View.exports.renderFile [as engine] (/home/tempcke/node-website-course/node_modules/ejs/lib/ejs.js:364:14)
at View.render (/home/tempcke/node-website-course/node_modules/express/lib/view.js:126:8)
at tryRender (/home/tempcke/node-website-course/node_modules/express/lib/application.js:639:10)
at EventEmitter.render (/home/tempcke/node-website-course/node_modules/express/lib/application.js:591:3)
at ServerResponse.render (/home/tempcke/node-website-course/node_modules/express/lib/response.js:960:7)
at ServerResponse.res.render (/home/tempcke/node-website-course/node_modules/express-ejs-layouts/lib/express-layouts.js:77:12)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.