Comments (4)
Hi @axecopfire, do you mind updating npm
to the latest version, then trying again?
You can do it by running npm install -g npm@latest
, then running npm install -g netlify-cli@latest
.
If that doesn't work, can you try npm uninstall -g netlify-cli
, then npm install -g netlify-cli
?
from cli.
Ahh thank you. I've been troubleshooting a different issue and didn't realize I was still on an older version and didn't actually update to 3.35.0
from cli.
Should be addressed in the upcoming 2.0.0 release.
from cli.
I just ran npm i -g netlify-cli
to update from version 3.34.0
to 3.35.0
. All netlify
commands now return:
internal/modules/cjs/loader.js:883
throw err;
^
Error: Cannot find module 'update-notifier'
Require stack:
- /home/[user]/.nvm/versions/node/v14.15.3/lib/node_modules/netlify-cli/src/index.js
- /home/[user]/.nvm/versions/node/v14.15.3/lib/node_modules/netlify-cli/bin/run
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:880:15)
at Function.Module._load (internal/modules/cjs/loader.js:725:27)
at Module.require (internal/modules/cjs/loader.js:952:19)
at require (internal/modules/cjs/helpers.js:88:18)
at Object.<anonymous> (/home/[user]/.nvm/versions/node/v14.15.3/lib/node_modules/netlify-cli/src/index.js:1:24)
at Module._compile (internal/modules/cjs/loader.js:1063:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)
at Module.load (internal/modules/cjs/loader.js:928:32)
at Function.Module._load (internal/modules/cjs/loader.js:769:14)
at Module.require (internal/modules/cjs/loader.js:952:19) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'/home/[user]/.nvm/versions/node/v14.15.3/lib/node_modules/netlify-cli/src/index.js',
'/home/[user]/.nvm/versions/node/v14.15.3/lib/node_modules/netlify-cli/bin/run'
]
}
from cli.
Related Issues (20)
- Invalid Typescript functions URL HOT 1
- CONTRIBUTING.md link in Pull Request Checklist is invalid
- Can anyone of you please explain me why this error is showing?
- switching branches causes crash
- Running netlify dev causes esm loader error
- CLI crash on loading of website HOT 1
- (dev) Deno crashes with PermissionDenied: Requires sys access to "cpus", run again with the --allow-sys flag HOT 1
- Please replace with a clear and descriptive title
- Code injection during dev mode
- Function file changes ignored by `netlify dev --framework "#static"` while using `vite build --watch` HOT 2
- Netlify cli crashes anytime an error is thrown from an express route HOT 2
- bug: import `execa` not found `bun install` failed for `postinstall` script HOT 3
- Error when running Playwright tests on 17.26.1
- `netlify serve` does not work with an Astro project using SSR and middleware HOT 4
- adsad
- Completions don't work
- Shrinkwrap is forcing insecure dependencies HOT 2
- Error: EISDIR: illegal operation on a directory, readlink
- Misleading error message when an invalid `NETLIFY_AUTH_TOKEN` is provided
- Impossible to update braces to ^3.0.3 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cli.