Hello! Everything was working fine until recently, when a few updates to Netlify CLI seem to have introduced a new issue for me.
When I run ntl dev
, I receive this message:
Β± |master β origin U:2 β| β ntl dev
β Netlify Dev β
β Injected build setting env var: [ALL_MY_SHIT]
β Starting Netlify Dev with undefined
β Lambda server is listening on 34567
ValidationError: 'port' is required.
at validateParameters (~/.npm-global/lib/node_modules/netlify-cli/node_modules/wait-port/lib/validate-parameters.js:13:20)
at Promise (~/.npm-global/lib/node_modules/netlify-cli/node_modules/wait-port/lib/wait-port.js:183:9)
at new Promise (<anonymous>)
at waitPort (~/.npm-global/lib/node_modules/netlify-cli/node_modules/wait-port/lib/wait-port.js:173:10)
at startProxy (~/.npm-global/lib/node_modules/netlify-cli/src/commands/dev/index.js:126:9)
at DevCommand.run (~/.npm-global/lib/node_modules/netlify-cli/src/commands/dev/index.js:406:31)
And here is my .toml file, which hasnβt changed since:
[build]
command='npm run init; gulp all'
functions='lambda'
publish='build'
[context.production]
command='npm run init; gulp all -p'
[dev]
command='gulp dev -dn'
port=3000
publish='build'