Skip to content
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

Deploying to my site Error: Cannot find module #9

Open
warmkenley opened this issue Dec 5, 2021 · 0 comments
Open

Deploying to my site Error: Cannot find module #9

warmkenley opened this issue Dec 5, 2021 · 0 comments

Comments

@warmkenley
Copy link

warmkenley commented Dec 5, 2021

I failed to create IBM Cloud account due to credit card but I have my own vps so I directly try to follow Deploying to my site but face below error

root@arm:~ # git clone https://github.com/shellyln/kanban-board-app.git
Cloning into 'kanban-board-app'...
remote: Enumerating objects: 644, done.
remote: Counting objects: 100% (91/91), done.
remote: Compressing objects: 100% (65/65), done.
remote: Total 644 (delta 51), reused 49 (delta 24), pack-reused 553
Receiving objects: 100% (644/644), 1.87 MiB | 4.51 MiB/s, done.
Resolving deltas: 100% (396/396), done.
root@arm:~ # cd kanban-board-app
root@arm:~/kanban-board-app# npm ci

core-js@2.6.12 postinstall /root/kanban-board-app/node_modules/babel-runtime/node_modules/core-js
node -e "try{require('./postinstall')}catch(e){}"

ejs@2.7.4 postinstall /root/kanban-board-app/node_modules/ejs
node ./postinstall.js

internal/modules/cjs/loader.js:638
throw err;
^

Error: Cannot find module '/root/kanban-board-app/node_modules/ejs/postinstall.js'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
at Function.Module._load (internal/modules/cjs/loader.js:562:25)
at Function.Module.runMain (internal/modules/cjs/loader.js:831:12)
at startup (internal/bootstrap/node.js:283:19)
at bootstrapNodeJSCore (internal/bootstrap/node.js:623:3)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! ejs@2.7.4 postinstall: node ./postinstall.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the ejs@2.7.4 postinstall 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! /root/.npm/_logs/2021-12-05T17_39_35_745Z-debug.log

PS... Is there any alternative option for database other than IBM Cloud?

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