serverless-typescript-starter icon indicating copy to clipboard operation
serverless-typescript-starter copied to clipboard

Issue running & deploying

Open vousmeevoyez opened this issue 5 years ago • 6 comments

Hi, i've clone this repository through serverless install, i've follow the instruction npm install and tried run it but nothing work

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

Error: Cannot find module '/Users/kelvindesman/apps/startup/knowid-backend/--max-old-space-size=2048'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:964:15)
    at Function.Module._resolveFilename (pkg/prelude/bootstrap.js:1346:46)
    at Function.Module._load (internal/modules/cjs/loader.js:840:27)
    at Function.Module.runMain (pkg/prelude/bootstrap.js:1375:12)
    at internal/main/run_main_module.js:17:47 {
  code: 'MODULE_NOT_FOUND',
  requireStack: []

vousmeevoyez avatar Oct 30 '20 00:10 vousmeevoyez

That's weird. Can you share the versions of Node, npm, Serverless, etc.?

jayair avatar Nov 13 '20 18:11 jayair

Same issue here, with:

macOS Catalina Version 10.15.7
node v12.15.0 (npm v6.13.4)

sls --version                                                                                                                                    
Serverless: DOTENV: Loading environment variables from :
Framework Core: 2.11.1 (standalone)
Plugin: 4.1.2
SDK: 2.3.2
Components: 3.3.0

cashmash avatar Dec 16 '20 00:12 cashmash

Instead of the serverless install, can you directly clone the repo?

jayair avatar Jan 03 '21 01:01 jayair

I'm having the same issue directly cloning the repo

Windows 10 19042.685 node v12.16.2 (npm v6.14.4)

serverless --version Framework Core: 1.78.1 (standalone) Plugin: 3.7.0 SDK: 2.3.1 Components: 2.33.4

luxiconn avatar Jan 08 '21 15:01 luxiconn

Any updates on this issue?

pcrodrigues0 avatar Sep 06 '21 12:09 pcrodrigues0

I'll need to try it again but I wasn't able to reproduce the issue.

jayair avatar Sep 06 '21 13:09 jayair