Last active
April 26, 2021 20:00
-
-
Save JavascriptLearner815/a3e4cc430def6ad6e9997582e6ac667b to your computer and use it in GitHub Desktop.
npm is Gone
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://stackoverflow.com/questions/67259763/why-is-npm-giving-the-error-cannot-find-module-functions-valid-and-how-do | |
Windows PowerShell | |
Copyright (C) Microsoft Corporation. All rights reserved. | |
Try the new cross-platform PowerShell https://aka.ms/pscore6 | |
Warning: PowerShell detected that you might be using a screen reader and has disabled PSReadLine for compatibility purposes. If you want to re-enable it, run 'Import-Module PSReadLine'. | |
PS C:\Users\dspee> mkdir best-housings | |
Directory: C:\Users\dspee | |
Mode LastWriteTime Length Name | |
---- ------------- ------ ---- | |
d----- 4/25/2021 8:07 PM best-housings | |
PS C:\Users\dspee> cd best-housings | |
PS C:\Users\dspee\best-housings> node -v | |
v14.7.0 | |
PS C:\Users\dspee\best-housings> npm init -y | |
Wrote to C:\Users\dspee\best-housings\package.json: | |
{ | |
"name": "best-housings", | |
"version": "1.0.0", | |
"description": "", | |
"main": "index.js", | |
"scripts": { | |
"test": "echo \"Error: no test specified\" && exit 1" | |
}, | |
"keywords": [], | |
"author": "", | |
"license": "ISC" | |
} | |
PS C:\Users\dspee\best-housings> dir | |
Directory: C:\Users\dspee\best-housings | |
Mode LastWriteTime Length Name | |
---- ------------- ------ ---- | |
-a---- 4/25/2021 8:08 PM 227 package.json | |
PS C:\Users\dspee\best-housings> dir | |
Directory: C:\Users\dspee\best-housings | |
Mode LastWriteTime Length Name | |
---- ------------- ------ ---- | |
-a---- 4/25/2021 8:08 PM 227 package.json | |
PS C:\Users\dspee\best-housings> npm --version | |
7.6.3 | |
PS C:\Users\dspee\best-housings> npx --version | |
7.6.3 | |
PS C:\Users\dspee\best-housings> npm install -g npm | |
Terminate batch job (Y/N)? Y | |
PS C:\Users\dspee\best-housings> npm install discord.js | |
internal/modules/cjs/loader.js:1088 | |
throw err; | |
^ | |
Error: Cannot find module './functions/valid' | |
Require stack: | |
- C:\Users\dspee\AppData\Roaming\npm\node_modules\npm\node_modules\semver\index.js | |
- C:\Users\dspee\AppData\Roaming\npm\node_modules\npm\lib\utils\unsupported.js | |
- C:\Users\dspee\AppData\Roaming\npm\node_modules\npm\lib\cli.js | |
- C:\Users\dspee\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js | |
←[90m at Function.Module._resolveFilename (internal/modules/cjs/loader.js:1085:15)←[39m | |
←[90m at Function.Module._load (internal/modules/cjs/loader.js:928:27)←[39m | |
←[90m at Module.require (internal/modules/cjs/loader.js:1145:19)←[39m | |
←[90m at require (internal/modules/cjs/helpers.js:75:18)←[39m | |
at Object.<anonymous> (C:\Users\dspee\AppData\Roaming\npm\node_modules\←[4mnpm←[24m\node_modules\←[4msemver←[24m\index.js:12:10) | |
←[90m at Module._compile (internal/modules/cjs/loader.js:1256:30)←[39m | |
←[90m at Object.Module._extensions..js (internal/modules/cjs/loader.js:1277:10)←[39m | |
←[90m at Module.load (internal/modules/cjs/loader.js:1105:32)←[39m | |
←[90m at Function.Module._load (internal/modules/cjs/loader.js:967:14)←[39m | |
←[90m at Module.require (internal/modules/cjs/loader.js:1145:19)←[39m { | |
code: ←[32m'MODULE_NOT_FOUND'←[39m, | |
requireStack: [ | |
←[32m'C:\\Users\\dspee\\AppData\\Roaming\\npm\\node_modules\\npm\\node_modules\\semver\\index.js'←[39m, | |
←[32m'C:\\Users\\dspee\\AppData\\Roaming\\npm\\node_modules\\npm\\lib\\utils\\unsupported.js'←[39m, | |
←[32m'C:\\Users\\dspee\\AppData\\Roaming\\npm\\node_modules\\npm\\lib\\cli.js'←[39m, | |
←[32m'C:\\Users\\dspee\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js'←[39m | |
] | |
} | |
PS C:\Users\dspee\best-housings> npm install discord.js | |
internal/modules/cjs/loader.js:1088 | |
throw err; | |
^ | |
Error: Cannot find module './functions/valid' | |
Require stack: | |
- C:\Users\dspee\AppData\Roaming\npm\node_modules\npm\node_modules\semver\index.js | |
- C:\Users\dspee\AppData\Roaming\npm\node_modules\npm\lib\utils\unsupported.js | |
- C:\Users\dspee\AppData\Roaming\npm\node_modules\npm\lib\cli.js | |
- C:\Users\dspee\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js | |
←[90m at Function.Module._resolveFilename (internal/modules/cjs/loader.js:1085:15)←[39m | |
←[90m at Function.Module._load (internal/modules/cjs/loader.js:928:27)←[39m | |
←[90m at Module.require (internal/modules/cjs/loader.js:1145:19)←[39m | |
←[90m at require (internal/modules/cjs/helpers.js:75:18)←[39m | |
at Object.<anonymous> (C:\Users\dspee\AppData\Roaming\npm\node_modules\←[4mnpm←[24m\node_modules\←[4msemver←[24m\index.js:12:10) | |
←[90m at Module._compile (internal/modules/cjs/loader.js:1256:30)←[39m | |
←[90m at Object.Module._extensions..js (internal/modules/cjs/loader.js:1277:10)←[39m | |
←[90m at Module.load (internal/modules/cjs/loader.js:1105:32)←[39m | |
←[90m at Function.Module._load (internal/modules/cjs/loader.js:967:14)←[39m | |
←[90m at Module.require (internal/modules/cjs/loader.js:1145:19)←[39m { | |
code: ←[32m'MODULE_NOT_FOUND'←[39m, | |
requireStack: [ | |
←[32m'C:\\Users\\dspee\\AppData\\Roaming\\npm\\node_modules\\npm\\node_modules\\semver\\index.js'←[39m, | |
←[32m'C:\\Users\\dspee\\AppData\\Roaming\\npm\\node_modules\\npm\\lib\\utils\\unsupported.js'←[39m, | |
←[32m'C:\\Users\\dspee\\AppData\\Roaming\\npm\\node_modules\\npm\\lib\\cli.js'←[39m, | |
←[32m'C:\\Users\\dspee\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js'←[39m | |
] | |
} | |
PS C:\Users\dspee\best-housings> npm init -y | |
internal/modules/cjs/loader.js:1088 | |
throw err; | |
^ | |
Error: Cannot find module './functions/valid' | |
Require stack: | |
- C:\Users\dspee\AppData\Roaming\npm\node_modules\npm\node_modules\semver\index.js | |
- C:\Users\dspee\AppData\Roaming\npm\node_modules\npm\lib\utils\unsupported.js | |
- C:\Users\dspee\AppData\Roaming\npm\node_modules\npm\lib\cli.js | |
- C:\Users\dspee\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js | |
←[90m at Function.Module._resolveFilename (internal/modules/cjs/loader.js:1085:15)←[39m | |
←[90m at Function.Module._load (internal/modules/cjs/loader.js:928:27)←[39m | |
←[90m at Module.require (internal/modules/cjs/loader.js:1145:19)←[39m | |
←[90m at require (internal/modules/cjs/helpers.js:75:18)←[39m | |
at Object.<anonymous> (C:\Users\dspee\AppData\Roaming\npm\node_modules\←[4mnpm←[24m\node_modules\←[4msemver←[24m\index.js:12:10) | |
←[90m at Module._compile (internal/modules/cjs/loader.js:1256:30)←[39m | |
←[90m at Object.Module._extensions..js (internal/modules/cjs/loader.js:1277:10)←[39m | |
←[90m at Module.load (internal/modules/cjs/loader.js:1105:32)←[39m | |
←[90m at Function.Module._load (internal/modules/cjs/loader.js:967:14)←[39m | |
←[90m at Module.require (internal/modules/cjs/loader.js:1145:19)←[39m { | |
code: ←[32m'MODULE_NOT_FOUND'←[39m, | |
requireStack: [ | |
←[32m'C:\\Users\\dspee\\AppData\\Roaming\\npm\\node_modules\\npm\\node_modules\\semver\\index.js'←[39m, | |
←[32m'C:\\Users\\dspee\\AppData\\Roaming\\npm\\node_modules\\npm\\lib\\utils\\unsupported.js'←[39m, | |
←[32m'C:\\Users\\dspee\\AppData\\Roaming\\npm\\node_modules\\npm\\lib\\cli.js'←[39m, | |
←[32m'C:\\Users\\dspee\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js'←[39m | |
] | |
} | |
PS C:\Users\dspee\best-housings> npm --version | |
internal/modules/cjs/loader.js:1088 | |
throw err; | |
^ | |
Error: Cannot find module './functions/valid' | |
Require stack: | |
- C:\Users\dspee\AppData\Roaming\npm\node_modules\npm\node_modules\semver\index.js | |
- C:\Users\dspee\AppData\Roaming\npm\node_modules\npm\lib\utils\unsupported.js | |
- C:\Users\dspee\AppData\Roaming\npm\node_modules\npm\lib\cli.js | |
- C:\Users\dspee\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js | |
←[90m at Function.Module._resolveFilename (internal/modules/cjs/loader.js:1085:15)←[39m | |
←[90m at Function.Module._load (internal/modules/cjs/loader.js:928:27)←[39m | |
←[90m at Module.require (internal/modules/cjs/loader.js:1145:19)←[39m | |
←[90m at require (internal/modules/cjs/helpers.js:75:18)←[39m | |
at Object.<anonymous> (C:\Users\dspee\AppData\Roaming\npm\node_modules\←[4mnpm←[24m\node_modules\←[4msemver←[24m\index.js:12:10) | |
←[90m at Module._compile (internal/modules/cjs/loader.js:1256:30)←[39m | |
←[90m at Object.Module._extensions..js (internal/modules/cjs/loader.js:1277:10)←[39m | |
←[90m at Module.load (internal/modules/cjs/loader.js:1105:32)←[39m | |
←[90m at Function.Module._load (internal/modules/cjs/loader.js:967:14)←[39m | |
←[90m at Module.require (internal/modules/cjs/loader.js:1145:19)←[39m { | |
code: ←[32m'MODULE_NOT_FOUND'←[39m, | |
requireStack: [ | |
←[32m'C:\\Users\\dspee\\AppData\\Roaming\\npm\\node_modules\\npm\\node_modules\\semver\\index.js'←[39m, | |
←[32m'C:\\Users\\dspee\\AppData\\Roaming\\npm\\node_modules\\npm\\lib\\utils\\unsupported.js'←[39m, | |
←[32m'C:\\Users\\dspee\\AppData\\Roaming\\npm\\node_modules\\npm\\lib\\cli.js'←[39m, | |
←[32m'C:\\Users\\dspee\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js'←[39m | |
] | |
} | |
PS C:\Users\dspee\best-housings> cd .. | |
PS C:\Users\dspee> node | |
Welcome to Node.js v14.7.0. | |
Type ".help" for more information. | |
> | |
(To exit, press ^C again or ^D or type .exit) | |
> | |
PS C:\Users\dspee> rmdir best-housings | |
Confirm | |
The item at C:\Users\dspee\best-housings has children and the Recurse parameter was not specified. If you continue, all | |
children will be removed with the item. Are you sure you want to continue? | |
[Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is "Y"): A | |
PS C:\Users\dspee> dir | |
Directory: C:\Users\dspee | |
Mode LastWriteTime Length Name | |
---- ------------- ------ ---- | |
d----- 3/25/2021 8:24 PM .atom | |
d----- 7/9/2020 7:44 PM .config | |
d----- 9/3/2020 9:21 PM .dotnet | |
d----- 9/26/2020 12:55 PM .electron | |
d----- 9/7/2020 4:40 PM .gem | |
d----- 2/1/2021 8:16 PM .gnupg | |
d----- 2/20/2021 2:58 PM .lunarclient | |
d----- 9/3/2020 9:50 PM .omnisharp | |
d----- 8/28/2020 7:51 PM .pm2 | |
d----- 8/16/2020 6:13 PM .pylint.d | |
d----- 4/25/2021 7:35 PM .quokka | |
d----- 9/7/2020 4:44 PM .solargraph | |
d----- 8/31/2020 2:34 PM .ssh | |
d----- 11/8/2020 1:19 PM .VirtualBox | |
d----- 5/5/2020 1:43 PM .vscode | |
d----- 8/19/2020 8:56 PM .vscode-insiders | |
d----- 4/25/2021 7:32 PM .wallaby | |
d----- 8/28/2020 7:13 PM .windows-build-tools | |
d-r--- 3/29/2021 2:03 AM 3D Objects | |
d----- 7/20/2020 3:22 PM BACKUP 2 - 1-0-2 | |
d----- 10/3/2020 3:12 PM Clyde | |
d-r--- 3/29/2021 2:03 AM Contacts | |
d----- 5/5/2020 12:12 PM Documents | |
d-r--- 4/4/2021 6:54 PM Downloads | |
d-r--- 7/22/2020 8:39 PM Dropbox | |
d----- 9/12/2020 3:37 PM efficiency-org.github.io | |
d----- 3/13/2021 1:44 PM entity-data-manager | |
d-r--- 3/29/2021 2:03 AM Favorites | |
d----- 9/3/2020 9:50 PM Hello CS | |
d----- 9/1/2020 2:34 PM hyf-homework-nodejs-3 | |
d----- 9/26/2020 7:34 PM js-app | |
d----- 9/15/2020 6:30 PM keyboard-project | |
d----- 6/26/2020 4:26 PM leocraft | |
d-r--- 3/29/2021 2:03 AM Links | |
d----- 3/25/2021 7:57 PM Mine-imator | |
d----- 5/13/2020 7:10 PM miniature-winner | |
d-r--- 3/29/2021 2:03 AM Music | |
d----- 10/7/2020 7:15 PM My HTML Website | |
d----- 4/2/2021 1:28 PM my-reason-react-app | |
d----- 9/3/2020 10:00 PM Node Server | |
d----- 9/4/2020 10:17 AM node-express-course | |
d----- 2/26/2021 4:59 PM node_modules | |
dar--l 4/25/2021 7:50 PM OneDrive | |
d----- 8/19/2020 10:38 AM Postman Agent | |
d----- 9/26/2020 6:09 PM PycharmProjects | |
d----- 7/31/2020 5:32 PM python-random-quote | |
d----- 8/15/2020 11:41 PM reimagined-spork | |
d----- 8/15/2020 9:26 PM reimagined-spork.wiki | |
d----- 9/17/2020 9:28 PM rmg-bot | |
d----- 9/7/2020 8:53 PM Ruby | |
d----- 9/15/2020 4:02 PM ruby-course | |
d-r--- 3/29/2021 2:03 AM Saved Games | |
d-r--- 3/29/2021 2:03 AM Searches | |
d----- 9/3/2020 11:08 AM security-strategy-essentials | |
d----- 9/19/2020 3:40 PM socketio-chat | |
d----- 9/11/2020 10:05 PM speed-bot | |
d----- 8/15/2020 8:49 PM speedo-bot | |
d----- 10/3/2020 11:17 AM speedo-dictionary | |
d----- 9/4/2020 12:19 PM speedo-server-bot | |
d----- 9/3/2020 5:49 PM speedo-server-bot-oauth2 | |
d----- 9/11/2020 3:59 PM speedo.js | |
d----- 9/7/2020 10:57 PM speedo.js-test | |
d----- 9/26/2020 1:21 PM speedos-camp | |
d----- 9/11/2020 7:18 PM speedos-home-discord | |
d----- 10/3/2020 11:06 AM test-api | |
d----- 9/6/2020 11:29 AM the-armpit | |
d----- 11/1/2020 4:02 PM ultimate-minecraft | |
d----- 9/13/2020 3:06 PM ultimate-speedo | |
d-r--- 3/29/2021 2:03 AM Videos | |
d----- 11/8/2020 1:19 PM VirtualBox VMs | |
-a---- 8/31/2020 2:30 PM 485 .bashrc | |
-a---- 10/1/2020 3:06 PM 11040 .bash_history | |
-a---- 8/31/2020 2:20 PM 99 .bash_profile | |
-a---- 9/15/2020 4:42 PM 53 .git-for-windows-updater | |
-a---- 10/1/2020 2:45 PM 549 .gitconfig | |
-a---- 8/16/2020 1:31 PM 14 .gitignore | |
-a---- 10/1/2020 2:43 PM 281 .gitignore_global | |
-a---- 9/19/2020 10:39 PM 121 .gitmessage.txt | |
-a---- 4/25/2021 8:11 PM 32 .node_repl_history | |
-a---- 9/7/2020 7:54 PM 71 .npmrc | |
-a---- 9/11/2020 3:58 PM 500 .profile | |
-a---- 9/19/2020 10:41 PM 7103 .viminfo | |
-a---- 9/15/2020 8:05 PM 374 .vivaldi_reporting_data | |
-a---- 8/31/2020 2:21 PM 0 bashrc | |
-a---- 10/4/2020 4:34 PM 229 discord_alt_backup_codes | |
-a---- 9/26/2020 12:47 PM 233 discord_backup_codes.txt | |
-a---- 2/26/2021 4:59 PM 97636 package-lock.json | |
-a---- 3/29/2021 7:27 PM 389 pythonchatbot.py | |
PS C:\Users\dspee> mkdir best-housings-bot | |
Directory: C:\Users\dspee | |
Mode LastWriteTime Length Name | |
---- ------------- ------ ---- | |
d----- 4/25/2021 8:12 PM best-housings-bot | |
PS C:\Users\dspee> cd best-housings-bot | |
PS C:\Users\dspee\best-housings-bot> npm --version | |
internal/modules/cjs/loader.js:1088 | |
throw err; | |
^ | |
Error: Cannot find module './functions/valid' | |
Require stack: | |
- C:\Users\dspee\AppData\Roaming\npm\node_modules\npm\node_modules\semver\index.js | |
- C:\Users\dspee\AppData\Roaming\npm\node_modules\npm\lib\utils\unsupported.js | |
- C:\Users\dspee\AppData\Roaming\npm\node_modules\npm\lib\cli.js | |
- C:\Users\dspee\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js | |
←[90m at Function.Module._resolveFilename (internal/modules/cjs/loader.js:1085:15)←[39m | |
←[90m at Function.Module._load (internal/modules/cjs/loader.js:928:27)←[39m | |
←[90m at Module.require (internal/modules/cjs/loader.js:1145:19)←[39m | |
←[90m at require (internal/modules/cjs/helpers.js:75:18)←[39m | |
at Object.<anonymous> (C:\Users\dspee\AppData\Roaming\npm\node_modules\←[4mnpm←[24m\node_modules\←[4msemver←[24m\index.js:12:10) | |
←[90m at Module._compile (internal/modules/cjs/loader.js:1256:30)←[39m | |
←[90m at Object.Module._extensions..js (internal/modules/cjs/loader.js:1277:10)←[39m | |
←[90m at Module.load (internal/modules/cjs/loader.js:1105:32)←[39m | |
←[90m at Function.Module._load (internal/modules/cjs/loader.js:967:14)←[39m | |
←[90m at Module.require (internal/modules/cjs/loader.js:1145:19)←[39m { | |
code: ←[32m'MODULE_NOT_FOUND'←[39m, | |
requireStack: [ | |
←[32m'C:\\Users\\dspee\\AppData\\Roaming\\npm\\node_modules\\npm\\node_modules\\semver\\index.js'←[39m, | |
←[32m'C:\\Users\\dspee\\AppData\\Roaming\\npm\\node_modules\\npm\\lib\\utils\\unsupported.js'←[39m, | |
←[32m'C:\\Users\\dspee\\AppData\\Roaming\\npm\\node_modules\\npm\\lib\\cli.js'←[39m, | |
←[32m'C:\\Users\\dspee\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js'←[39m | |
] | |
} | |
PS C:\Users\dspee\best-housings-bot> npm install -g npm | |
internal/modules/cjs/loader.js:1088 | |
throw err; | |
^ | |
Error: Cannot find module './functions/valid' | |
Require stack: | |
- C:\Users\dspee\AppData\Roaming\npm\node_modules\npm\node_modules\semver\index.js | |
- C:\Users\dspee\AppData\Roaming\npm\node_modules\npm\lib\utils\unsupported.js | |
- C:\Users\dspee\AppData\Roaming\npm\node_modules\npm\lib\cli.js | |
- C:\Users\dspee\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js | |
←[90m at Function.Module._resolveFilename (internal/modules/cjs/loader.js:1085:15)←[39m | |
←[90m at Function.Module._load (internal/modules/cjs/loader.js:928:27)←[39m | |
←[90m at Module.require (internal/modules/cjs/loader.js:1145:19)←[39m | |
←[90m at require (internal/modules/cjs/helpers.js:75:18)←[39m | |
at Object.<anonymous> (C:\Users\dspee\AppData\Roaming\npm\node_modules\←[4mnpm←[24m\node_modules\←[4msemver←[24m\index.js:12:10) | |
←[90m at Module._compile (internal/modules/cjs/loader.js:1256:30)←[39m | |
←[90m at Object.Module._extensions..js (internal/modules/cjs/loader.js:1277:10)←[39m | |
←[90m at Module.load (internal/modules/cjs/loader.js:1105:32)←[39m | |
←[90m at Function.Module._load (internal/modules/cjs/loader.js:967:14)←[39m | |
←[90m at Module.require (internal/modules/cjs/loader.js:1145:19)←[39m { | |
code: ←[32m'MODULE_NOT_FOUND'←[39m, | |
requireStack: [ | |
←[32m'C:\\Users\\dspee\\AppData\\Roaming\\npm\\node_modules\\npm\\node_modules\\semver\\index.js'←[39m, | |
←[32m'C:\\Users\\dspee\\AppData\\Roaming\\npm\\node_modules\\npm\\lib\\utils\\unsupported.js'←[39m, | |
←[32m'C:\\Users\\dspee\\AppData\\Roaming\\npm\\node_modules\\npm\\lib\\cli.js'←[39m, | |
←[32m'C:\\Users\\dspee\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js'←[39m | |
] | |
} | |
PS C:\Users\dspee\best-housings-bot> node -v | |
v14.7.0 | |
PS C:\Users\dspee\best-housings-bot> npm cache clean | |
internal/modules/cjs/loader.js:1088 | |
throw err; | |
^ | |
Error: Cannot find module './functions/valid' | |
Require stack: | |
- C:\Users\dspee\AppData\Roaming\npm\node_modules\npm\node_modules\semver\index.js | |
- C:\Users\dspee\AppData\Roaming\npm\node_modules\npm\lib\utils\unsupported.js | |
- C:\Users\dspee\AppData\Roaming\npm\node_modules\npm\lib\cli.js | |
- C:\Users\dspee\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js | |
←[90m at Function.Module._resolveFilename (internal/modules/cjs/loader.js:1085:15)←[39m | |
←[90m at Function.Module._load (internal/modules/cjs/loader.js:928:27)←[39m | |
←[90m at Module.require (internal/modules/cjs/loader.js:1145:19)←[39m | |
←[90m at require (internal/modules/cjs/helpers.js:75:18)←[39m | |
at Object.<anonymous> (C:\Users\dspee\AppData\Roaming\npm\node_modules\←[4mnpm←[24m\node_modules\←[4msemver←[24m\index.js:12:10) | |
←[90m at Module._compile (internal/modules/cjs/loader.js:1256:30)←[39m | |
←[90m at Object.Module._extensions..js (internal/modules/cjs/loader.js:1277:10)←[39m | |
←[90m at Module.load (internal/modules/cjs/loader.js:1105:32)←[39m | |
←[90m at Function.Module._load (internal/modules/cjs/loader.js:967:14)←[39m | |
←[90m at Module.require (internal/modules/cjs/loader.js:1145:19)←[39m { | |
code: ←[32m'MODULE_NOT_FOUND'←[39m, | |
requireStack: [ | |
←[32m'C:\\Users\\dspee\\AppData\\Roaming\\npm\\node_modules\\npm\\node_modules\\semver\\index.js'←[39m, | |
←[32m'C:\\Users\\dspee\\AppData\\Roaming\\npm\\node_modules\\npm\\lib\\utils\\unsupported.js'←[39m, | |
←[32m'C:\\Users\\dspee\\AppData\\Roaming\\npm\\node_modules\\npm\\lib\\cli.js'←[39m, | |
←[32m'C:\\Users\\dspee\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js'←[39m | |
] | |
} | |
PS C:\Users\dspee\best-housings-bot> | |
PS C:\Users\dspee\best-housings-bot> | |
PS C:\Users\dspee\best-housings-bot> npm install -g ./functions/valid | |
internal/modules/cjs/loader.js:1088 | |
throw err; | |
^ | |
Error: Cannot find module './functions/valid' | |
Require stack: | |
- C:\Users\dspee\AppData\Roaming\npm\node_modules\npm\node_modules\semver\index.js | |
- C:\Users\dspee\AppData\Roaming\npm\node_modules\npm\lib\utils\unsupported.js | |
- C:\Users\dspee\AppData\Roaming\npm\node_modules\npm\lib\cli.js | |
- C:\Users\dspee\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js | |
←[90m at Function.Module._resolveFilename (internal/modules/cjs/loader.js:1085:15)←[39m | |
←[90m at Function.Module._load (internal/modules/cjs/loader.js:928:27)←[39m | |
←[90m at Module.require (internal/modules/cjs/loader.js:1145:19)←[39m | |
←[90m at require (internal/modules/cjs/helpers.js:75:18)←[39m | |
at Object.<anonymous> (C:\Users\dspee\AppData\Roaming\npm\node_modules\←[4mnpm←[24m\node_modules\←[4msemver←[24m\index.js:12:10) | |
←[90m at Module._compile (internal/modules/cjs/loader.js:1256:30)←[39m | |
←[90m at Object.Module._extensions..js (internal/modules/cjs/loader.js:1277:10)←[39m | |
←[90m at Module.load (internal/modules/cjs/loader.js:1105:32)←[39m | |
←[90m at Function.Module._load (internal/modules/cjs/loader.js:967:14)←[39m | |
←[90m at Module.require (internal/modules/cjs/loader.js:1145:19)←[39m { | |
code: ←[32m'MODULE_NOT_FOUND'←[39m, | |
requireStack: [ | |
←[32m'C:\\Users\\dspee\\AppData\\Roaming\\npm\\node_modules\\npm\\node_modules\\semver\\index.js'←[39m, | |
←[32m'C:\\Users\\dspee\\AppData\\Roaming\\npm\\node_modules\\npm\\lib\\utils\\unsupported.js'←[39m, | |
←[32m'C:\\Users\\dspee\\AppData\\Roaming\\npm\\node_modules\\npm\\lib\\cli.js'←[39m, | |
←[32m'C:\\Users\\dspee\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js'←[39m | |
] | |
} | |
PS C:\Users\dspee\best-housings-bot> npm install -g functions/valid | |
internal/modules/cjs/loader.js:1088 | |
throw err; | |
^ | |
Error: Cannot find module './functions/valid' | |
Require stack: | |
- C:\Users\dspee\AppData\Roaming\npm\node_modules\npm\node_modules\semver\index.js | |
- C:\Users\dspee\AppData\Roaming\npm\node_modules\npm\lib\utils\unsupported.js | |
- C:\Users\dspee\AppData\Roaming\npm\node_modules\npm\lib\cli.js | |
- C:\Users\dspee\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js | |
←[90m at Function.Module._resolveFilename (internal/modules/cjs/loader.js:1085:15)←[39m | |
←[90m at Function.Module._load (internal/modules/cjs/loader.js:928:27)←[39m | |
←[90m at Module.require (internal/modules/cjs/loader.js:1145:19)←[39m | |
←[90m at require (internal/modules/cjs/helpers.js:75:18)←[39m | |
at Object.<anonymous> (C:\Users\dspee\AppData\Roaming\npm\node_modules\←[4mnpm←[24m\node_modules\←[4msemver←[24m\index.js:12:10) | |
←[90m at Module._compile (internal/modules/cjs/loader.js:1256:30)←[39m | |
←[90m at Object.Module._extensions..js (internal/modules/cjs/loader.js:1277:10)←[39m | |
←[90m at Module.load (internal/modules/cjs/loader.js:1105:32)←[39m | |
←[90m at Function.Module._load (internal/modules/cjs/loader.js:967:14)←[39m | |
←[90m at Module.require (internal/modules/cjs/loader.js:1145:19)←[39m { | |
code: ←[32m'MODULE_NOT_FOUND'←[39m, | |
requireStack: [ | |
←[32m'C:\\Users\\dspee\\AppData\\Roaming\\npm\\node_modules\\npm\\node_modules\\semver\\index.js'←[39m, | |
←[32m'C:\\Users\\dspee\\AppData\\Roaming\\npm\\node_modules\\npm\\lib\\utils\\unsupported.js'←[39m, | |
←[32m'C:\\Users\\dspee\\AppData\\Roaming\\npm\\node_modules\\npm\\lib\\cli.js'←[39m, | |
←[32m'C:\\Users\\dspee\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js'←[39m | |
] | |
} | |
PS C:\Users\dspee\best-housings-bot> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment