Skip to content

Run Start Fail #1641

@chatwellai

Description

@chatwellai

Describe the bug

in both bolt and sttackblitz, "running start command fails" and in bolt the preview stays white
Setting up NativeScript aliases: ns, nsc, tns and nativescript...
Installing @nativescript/preview-cli@latest
Installing @nativescript/stackblitz@latest
npm WARN deprecated [email protected]: Rimraf versions prior to v4 are no longer supported
npm WARN deprecated [email protected]: This package is no longer supported.
npm WARN deprecated [email protected]: Glob versions prior to v9 are no longer supported
npm WARN deprecated [email protected]: Rimraf versions prior to v4 are no longer supported
npm WARN deprecated [email protected]: This package is no longer supported.
npm WARN deprecated [email protected]: Rimraf versions prior to v4 are no longer supported
npm WARN deprecated [email protected]: Glob versions prior to v9 are no longer supported
npm WARN deprecated [email protected]: Rimraf versions prior to v4 are no longer supported
npm ERR! code ENOTEMPTY
npm ERR! syscall rename
npm ERR! path /home/projects/sb1-rpz22l/node_modules/ajv
npm ERR! dest /home/projects/sb1-rpz22l/node_modules/.ajv-63kLxafa
npm ERR! errno -66
npm ERR! ENOTEMPTY: directory not empty, rename '/home/projects/sb1-rpz22l/node_modules/ajv' -> '/home/projects/sb1-rpz22l/node_modules/.ajv-63kLxafa'

npm ERR! A complete log of this run can be found in: /home/.npm/_logs/2024-11-29T15_59_10_516Z-debug-0.log
Error: spawn npm ENOTEMPTY
at __node_internal_captureLargerStackTrace2 (https://sb1rpz22l-imn5.w-corp-staticblitz.com/builtins.ddb8d84d.js:101:5335)
at __node_internal_errnoException2 (https://sb1rpz22l-imn5.w-corp-staticblitz.com/builtins.ddb8d84d.js:101:6592)
at ChildProcess._handle.onexit (https://sb1rpz22l-imn5.w-corp-staticblitz.com/builtins.ddb8d84d.js:52:3320)
at https://sb1rpz22l-imn5.w-corp-staticblitz.com/blitz.88b6dd69.js:40:198619 {
errno: -66,
code: 'ENOTEMPTY',
syscall: 'spawn npm',
path: 'npm',
spawnargs: [
'install',
'@nativescript/preview-cli@latest',
'--save-dev',
'--ignore-scripts'
]
}

Node.js v18.20.3
[############......] \ reify:finalize: timing reify:unpack Completed in 144ms
~/projects/sb1-rpz22l 3m 33s

added 243 packages, removed 148 packages, and changed 59 packages in 8s

134 packages are looking for funding
run npm fund for details

Link to the blitz that caused the error

https://stackblitz.com/edit/sb1-rpz22l?file=yarn.lock

Steps to reproduce

open chat/project and wait for it to load

Expected behavior

run start command

Parity with Local

Screenshots

No response

Platform

Browser name  = Chrome
Full version  = 131.0.0.0
Major version = 131
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Edg/131.0.0.0
performance.memory = {
  "totalJSHeapSize": 77382516,
  "usedJSHeapSize": 70091268,
  "jsHeapSizeLimit": 4294705152
}
Hash = 88b6dd69

Additional context

Setting up NativeScript aliases: ns, nsc, tns and nativescript...
Installing @nativescript/preview-cli@latest
Installing @nativescript/stackblitz@latest
npm WARN deprecated [email protected]: Rimraf versions prior to v4 are no longer supported
npm WARN deprecated [email protected]: This package is no longer supported.
npm WARN deprecated [email protected]: Glob versions prior to v9 are no longer supported
npm WARN deprecated [email protected]: Rimraf versions prior to v4 are no longer supported
npm WARN deprecated [email protected]: This package is no longer supported.
npm WARN deprecated [email protected]: Rimraf versions prior to v4 are no longer supported
npm WARN deprecated [email protected]: Glob versions prior to v9 are no longer supported
npm WARN deprecated [email protected]: Rimraf versions prior to v4 are no longer supported
npm ERR! code ENOTEMPTY
npm ERR! syscall rename
npm ERR! path /home/projects/sb1-rpz22l/node_modules/ajv
npm ERR! dest /home/projects/sb1-rpz22l/node_modules/.ajv-63kLxafa
npm ERR! errno -66
npm ERR! ENOTEMPTY: directory not empty, rename '/home/projects/sb1-rpz22l/node_modules/ajv' -> '/home/projects/sb1-rpz22l/node_modules/.ajv-63kLxafa'

npm ERR! A complete log of this run can be found in: /home/.npm/_logs/2024-11-29T15_59_10_516Z-debug-0.log
Error: spawn npm ENOTEMPTY
at __node_internal_captureLargerStackTrace2 (https://sb1rpz22l-imn5.w-corp-staticblitz.com/builtins.ddb8d84d.js:101:5335)
at __node_internal_errnoException2 (https://sb1rpz22l-imn5.w-corp-staticblitz.com/builtins.ddb8d84d.js:101:6592)
at ChildProcess._handle.onexit (https://sb1rpz22l-imn5.w-corp-staticblitz.com/builtins.ddb8d84d.js:52:3320)
at https://sb1rpz22l-imn5.w-corp-staticblitz.com/blitz.88b6dd69.js:40:198619 {
errno: -66,
code: 'ENOTEMPTY',
syscall: 'spawn npm',
path: 'npm',
spawnargs: [
'install',
'@nativescript/preview-cli@latest',
'--save-dev',
'--ignore-scripts'
]
}

Node.js v18.20.3
[############......] \ reify:finalize: timing reify:unpack Completed in 144ms
~/projects/sb1-rpz22l 3m 33s

added 243 packages, removed 148 packages, and changed 59 packages in 8s

134 packages are looking for funding
run npm fund for details

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions