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

Dev server won't start #7001

Open
ChrisJohnNewton opened this issue Jan 18, 2025 · 1 comment
Open

Dev server won't start #7001

ChrisJohnNewton opened this issue Jan 18, 2025 · 1 comment
Labels
status: missing info/reproduction type: bug code to address defects in shipped code

Comments

@ChrisJohnNewton
Copy link

ChrisJohnNewton commented Jan 18, 2025

Describe the bug

Running netlify dev in VS Code on the command line generates this error

Error: ENOENT: no such file or directory, open '../../../../var/folders/kl/b1h307gs0511wj2s_2wqdxp00000gn/T/tmp-21936-Cb7K2MqkFN3M/index.js'
    at open (node:internal/fs/promises:639:25)
    at writeFile (node:internal/fs/promises:1213:14)
    at file:///Users/chris/.nvm/versions/node/v23.6.0/lib/node_modules/netlify-cli/node_modules/@netlify/zip-it-and-ship-it/dist/runtimes/node/bundlers/esbuild/bundler.js:138:13
    at async Promise.all (index 0)
    at bundleJsFile (file:///Users/chris/.nvm/versions/node/v23.6.0/lib/node_modules/netlify-cli/node_modules/@netlify/zip-it-and-ship-it/dist/runtimes/node/bundlers/esbuild/bundler.js:119:9)
    at Object.bundle (file:///Users/chris/.nvm/versions/node/v23.6.0/lib/node_modules/netlify-cli/node_modules/@netlify/zip-it-and-ship-it/dist/runtimes/node/bundlers/esbuild/index.js:31:136)
    at zipFunction (file:///Users/chris/.nvm/versions/node/v23.6.0/lib/node_modules/netlify-cli/node_modules/@netlify/zip-it-and-ship-it/dist/runtimes/node/index.js:51:221)
    at zipFunction (file:///Users/chris/.nvm/versions/node/v23.6.0/lib/node_modules/netlify-cli/node_modules/@netlify/zip-it-and-ship-it/dist/zip.js:98:23)
    at buildFunction (file:///Users/chris/.nvm/versions/node/v23.6.0/lib/node_modules/netlify-cli/dist/lib/functions/runtimes/js/builders/zisi.js:59:158)
    at NetlifyFunction.build (file:///Users/chris/.nvm/versions/node/v23.6.0/lib/node_modules/netlify-cli/dist/lib/functions/netlify-function.js:130:78)

  System:
    OS: macOS 10.15.7
    CPU: (8) x64 Intel(R) Core(TM) i7-3720QM CPU @ 2.60GHz
  Binaries:
    Node: 23.6.0 - ~/.nvm/versions/node/v23.6.0/bin/node
    npm: 10.9.2 - ~/.nvm/versions/node/v23.6.0/bin/npm
  Browsers:
    Chrome: 128.0.6613.138
    Safari: 15.6.1
  npmGlobalPackages:
    netlify-cli: 18.0.1

Steps to reproduce

Run netlify dev

Configuration

No response

Environment

System:
OS: macOS 10.15.7
CPU: (8) x64 Intel(R) Core(TM) i7-3720QM CPU @ 2.60GHz
Memory: 3.60 GB / 16.00 GB
Shell: 5.7.1 - /bin/zsh
Binaries:
Node: 23.6.0 - ~/.nvm/versions/node/v23.6.0/bin/node
npm: 10.9.2 - ~/.nvm/versions/node/v23.6.0/bin/npm
npmPackages:
netlify-cli: ^17.37.1 => 17.38.1
npmGlobalPackages:
netlify-cli: 18.0.1

@ChrisJohnNewton ChrisJohnNewton added the type: bug code to address defects in shipped code label Jan 18, 2025
@serhalp
Copy link
Collaborator

serhalp commented Feb 24, 2025

Hi @ChrisJohnNewton, thanks for reporting this. Unfortunately there isn't enough detail here for us to take action. Would you be able to provide a minimal reproduction project? The steps you've provided aren't sufficient for us to reproduce the issue. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: missing info/reproduction type: bug code to address defects in shipped code
Projects
None yet
Development

No branches or pull requests

2 participants