Description
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
- I have run the project in my local machine and I could not reproduce the issue.
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 xss-clean@0.1.4: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
npm WARN deprecated superagent@8.1.2: 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 ladjs/superagent#1800 for insight. This project is supported and maintained by the team at Forward Email @ https://forwardemail.net
npm WARN deprecated rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported
npm WARN deprecated inflight@1.0.6: 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 glob@7.2.3: Glob versions prior to v9 are no longer supported
npm WARN deprecated eslint@8.57.1: This version is no longer supported. Please see https://eslint.org/version-support for other options.
npm WARN deprecated @humanwhocodes/object-schema@2.0.3: Use @eslint/object-schema instead
npm WARN deprecated @humanwhocodes/config-array@0.13.0: Use @eslint/config-array instead
npm WARN deprecated glob@7.1.6: 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
community-platform@1.0.0 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