You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 23, 2020. It is now read-only.
I have a problem to make the app on local server, when I enter npm start i have:
node server.js
/Users/Eric/Desktop/MVP Otablo/walma/whiteboard.coffee:9
app = express.createServer();
^
TypeError: express.createServer is not a function
at Object. (/Users/Eric/Desktop/MVP Otablo/walma/whiteboard.coffee:9:17)
at Object. (/Users/Eric/Desktop/MVP Otablo/walma/whiteboard.coffee:314:4)
at Module._compile (internal/modules/cjs/loader.js:777:30)
at Object.require.extensions..coffee (/Users/Eric/Desktop/MVP Otablo/walma/node_modules/coffee-script/lib/coffee-script.js:14:21)
at Module.load (internal/modules/cjs/loader.js:643:32)
at Function.Module._load (internal/modules/cjs/loader.js:556:12)
at Module.require (internal/modules/cjs/loader.js:683:19)
at require (internal/modules/cjs/helpers.js:16:16)
at Object. (/Users/Eric/Desktop/MVP Otablo/walma/server.js:2:1)
at Module._compile (internal/modules/cjs/loader.js:777:30)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! whiteboard@0.0.1 start: node server.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the whiteboard@0.0.1 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/Eric/.npm/_logs/2019-08-01T13_45_23_794Z-debug.log
Hello opinsys !
I have a problem to make the app on local server, when I enter
npm starti have:/Users/Eric/Desktop/MVP Otablo/walma/whiteboard.coffee:9
app = express.createServer();
^
TypeError: express.createServer is not a function
at Object. (/Users/Eric/Desktop/MVP Otablo/walma/whiteboard.coffee:9:17)
at Object. (/Users/Eric/Desktop/MVP Otablo/walma/whiteboard.coffee:314:4)
at Module._compile (internal/modules/cjs/loader.js:777:30)
at Object.require.extensions..coffee (/Users/Eric/Desktop/MVP Otablo/walma/node_modules/coffee-script/lib/coffee-script.js:14:21)
at Module.load (internal/modules/cjs/loader.js:643:32)
at Function.Module._load (internal/modules/cjs/loader.js:556:12)
at Module.require (internal/modules/cjs/loader.js:683:19)
at require (internal/modules/cjs/helpers.js:16:16)
at Object. (/Users/Eric/Desktop/MVP Otablo/walma/server.js:2:1)
at Module._compile (internal/modules/cjs/loader.js:777:30)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! whiteboard@0.0.1 start:
node server.jsnpm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the whiteboard@0.0.1 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/Eric/.npm/_logs/2019-08-01T13_45_23_794Z-debug.log