Coder Social home page Coder Social logo

cnode-nodejs's Introduction

cNode-nodejs

一个基于nodejs+express+mySQL 开发的多人社区

mode_modules

public 存储客户端所需要的样式、js脚本、img图片等静态资源

views 存储所有的视图模板文件

app.js应用程序启动入口

.gitignore Git忽略信息

package.json 项目包说明文件

package-lock.json 根据package.json的更改自动更新

README.md 项目说明文件

遇到问题: C:\Users\Administrator\Desktop\cNode-nodejs>nodemon app.js [nodemon] 1.18.3 [nodemon] to restart at any time, enter rs [nodemon] watching: . [nodemon] starting node app.js module.js:540 throw err; ^

Error: Cannot find module 'express' at Function.Module._resolveFilename (module.js:538:15) at Function.Module._load (module.js:468:25) at Module.require (module.js:587:17) at require (internal/module.js:11:18) at Object. (C:\Users\Administrator\Desktop\cNode-nodejs\app.js:1:79) at Module._compile (module.js:643:30) at Object.Module._extensions..js (module.js:654:10) at Module.load (module.js:556:32) at tryModuleLoad (module.js:499:12) at Function.Module._load (module.js:491:3) [nodemon] app crashed - waiting for file changes before starting...

把项目中的nodemon卸载了,用node app.js 可以了

然后再全局,项目中重新装nodemon,再用nodemon app.js 就不报错了

1.可能是 之前全局有nodemon,然后项目中安装的nodemon版本比较高 2.也可能nodemon安装出现错误 3.项目内代码存在问题,且并不是单词拼写错误,而是 没有理解大意。。。。。。

知识点: 1.https://gitmoji.carloscuesta.me 上传github页面显示的标记 just for fun 开源项目很多都用 2.记住必要的域名 登录github进入相应的账号 github.com/Grace-GIRL

cnode-nodejs's People

Contributors

grace-girl avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.