webcontainer-core icon indicating copy to clipboard operation
webcontainer-core copied to clipboard

Node.js v18.20.3 [nodemon] app crashed - waiting for file changes before starting

Open mimarc-lab opened this issue 11 months ago • 0 comments

Describe the bug

I have a project created in Windsurf, which I saved on my local machine. I'm using the Local Project - Alpha feature to open the files and migrate them to Bolt. However, it keeps crashing with the error:

Node.js v18.20.3 [nodemon] app crashed - waiting for file changes before starting.

Can you help troubleshoot this issue?

Link to the blitz that caused the error

https://stackblitz.com/edit/node-twymbgk8?file=README.md

Steps to reproduce

https://stackblitz.com/ go to Local Project - Alpha Open the project file

Expected behavior

I'm using the Local Project - Alpha feature to open the files and migrate them to Bolt.

Parity with Local

Screenshots

No response

Platform

Browser name  = Chrome
Full version  = 132.0.0.0
Major version = 132
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36
performance.memory = {
  "totalJSHeapSize": 75646681,
  "usedJSHeapSize": 67817909,
  "jsHeapSizeLimit": 4294705152
}
Hash = 1b4252dd

Additional context

~/projects/node-twymbgk8 ❯ npm install && npm run dev npm WARN deprecated [email protected]: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info. npm WARN deprecated [email protected]: Please upgrade to v9.0.0+ as we have fixed a public vulnerability with formidable dependency. Note that v9.0.0+ requires Node.js v14.18.0+. See https://github.com/ladjs/superagent/pull/1800 for insight. This project is supported and maintained by the team at Forward Email @ https://forwardemail.net npm WARN deprecated [email protected]: Rimraf versions prior to v4 are no longer supported npm WARN deprecated [email protected]: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful. npm WARN deprecated [email protected]: Glob versions prior to v9 are no longer supported npm WARN deprecated [email protected]: This version is no longer supported. Please see https://eslint.org/version-support for other options. npm WARN deprecated @humanwhocodes/[email protected]: Use @eslint/object-schema instead npm WARN deprecated @humanwhocodes/[email protected]: Use @eslint/config-array instead npm WARN deprecated [email protected]: Glob versions prior to v9 are no longer supported

added 746 packages in 20s

142 packages are looking for funding run npm fund for details

[email protected] dev nodemon src/server.js

[nodemon] 3.1.7 [nodemon] to restart at any time, enter rs [nodemon] watching path(s): . [nodemon] watching extensions: js,mjs,cjs,json [nodemon] starting node src/server.js Starting server initialization...

=== Initializing Subscription Routes === Services received: { hasDb: true, hasAdmin: true }

=== Registered Subscription Routes === Route: { path: '/test', methods: [ 'get' ] } Route: { path: '/user/:userId', methods: [ 'get' ] } Route: { path: '/creator/:creatorId', methods: [ 'get' ] } Subscription routes initialized successfully

=== Services Initialization === DB instance: Present Admin instance: Present Error: Cannot find module '../middleware/adminAuth' Require stack:

  • /home/projects/node-twymbgk8/src/routes/userRoutes.js
  • /home/projects/node-twymbgk8/src/server.js at Module._resolveFilename (https://nodetwymbgk8-s1oe.w-credentialless-staticblitz.com/builtins.ddb8d84d.js:144:12334) at Module._load (https://nodetwymbgk8-s1oe.w-credentialless-staticblitz.com/builtins.ddb8d84d.js:144:9839) at Module.require (https://nodetwymbgk8-s1oe.w-credentialless-staticblitz.com/builtins.ddb8d84d.js:144:13097) at require3 (https://nodetwymbgk8-s1oe.w-credentialless-staticblitz.com/builtins.ddb8d84d.js:163:2815) at _0x5f1add (https://nodetwymbgk8-s1oe.w-credentialless-staticblitz.com/blitz.1b4252dd.js:40:799730) at Object.eval (file:///home/projects/node-twymbgk8/src/routes/userRoutes.js#cjs:3:19) at Object._0x59ce1a (https://nodetwymbgk8-s1oe.w-credentialless-staticblitz.com/blitz.1b4252dd.js:40:800333) at Module._compile (https://nodetwymbgk8-s1oe.w-credentialless-staticblitz.com/builtins.ddb8d84d.js:144:14246) at Module._extensions..js (https://nodetwymbgk8-s1oe.w-credentialless-staticblitz.com/builtins.ddb8d84d.js:144:14855) at Module.load (https://nodetwymbgk8-s1oe.w-credentialless-staticblitz.com/builtins.ddb8d84d.js:144:12820) { code: 'MODULE_NOT_FOUND', requireStack: [ '/home/projects/node-twymbgk8/src/routes/userRoutes.js', '/home/projects/node-twymbgk8/src/server.js' ] }

Node.js v18.20.3 [nodemon] app crashed - waiting for file changes before starting... ^C

~/projects/node-twymbgk8 1m 35s

mimarc-lab avatar Jan 28 '25 16:01 mimarc-lab