Unable to install required elements for widget creation

0
I’m trying to follow instructions to create an environment to create widgets. When I run the command: npm install -g yo @mendix/generator-widget gulp I get the following error: npm ERR! Unexpected end of JSON input while parsing near '...{"node":">=0.10.0"}},' npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\Micah Hunter\AppData\Roaming\npm-cache\_logs\2020-11-13T22_06_43_188Z-debug.log I have Node 14.15.0 installed. I can also verify the yo is installed. When i just run: npm install -g @mendix/generator-widget I get the same error. I haven’t found a way around this issue. Is there something that I can do to fix the this? Here is the dump from the log mentioned in the error: 0 info it worked if it ends with ok 1 verbose cli [ 1 verbose cli 'C:\\Program Files\\nodejs\\node.exe', 1 verbose cli 'C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js', 1 verbose cli 'install', 1 verbose cli '-g', 1 verbose cli 'yo', 1 verbose cli '@mendix/generator-widget', 1 verbose cli 'gulp' 1 verbose cli ] 2 info using npm@6.14.8 3 info using node@v14.15.0 4 verbose npm-session 266e835debb10a8c 5 silly install loadCurrentTree 6 silly install readGlobalPackageData 7 http fetch GET 304 https://registry.npmjs.org/gulp 149ms (from cache) 8 silly pacote tag manifest for gulp@latest fetched in 163ms 9 http fetch GET 304 https://registry.npmjs.org/@mendix%2fgenerator-widget 282ms (from cache) 10 silly pacote tag manifest for @mendix/generator-widget@latest fetched in 288ms 11 http fetch GET 304 https://registry.npmjs.org/yo 323ms (from cache) 12 silly pacote tag manifest for yo@latest fetched in 352ms 13 timing stage:loadCurrentTree Completed in 2227ms 14 silly install loadIdealTree 15 silly install cloneCurrentTreeToIdealTree 16 timing stage:loadIdealTree:cloneCurrentTree Completed in 13ms 17 silly install loadShrinkwrap 18 timing stage:loadIdealTree:loadShrinkwrap Completed in 242ms 19 silly install loadAllDepsIntoIdealTree 20 silly resolveWithNewModule gulp@4.0.2 checking installable status 21 silly resolveWithNewModule @mendix/generator-widget@8.14.0 checking installable status 22 silly resolveWithNewModule yo@3.1.1 checking installable status 23 silly removeObsoleteDep removing yo@3.1.1 from the tree as its been replaced by a newer version or is no longer required 24 silly removeObsoleteDep removing cli-list@0.2.0 from the tree as its been replaced by a newer version or is no longer required 25 silly removeObsoleteDep removing fullname@4.0.1 from the tree as its been replaced by a newer version or is no longer required 26 silly removeObsoleteDep removing filter-obj@2.0.1 from the tree as its been replaced by a newer version or is no longer required 27 silly removeObsoleteDep removing mem@5.1.1 from the tree as its been replaced by a newer version or is no longer required 28 silly removeObsoleteDep removing map-age-cleaner@0.1.3 from the tree as its been replaced by a newer version or is no longer required 29 silly removeObsoleteDep removing p-defer@1.0.0 from the tree as its been replaced by a newer version or is no longer required 30 silly removeObsoleteDep removing p-is-promise@2.1.0 from the tree as its been replaced by a newer version or is no longer required 31 silly removeObsoleteDep removing p-any@2.1.0 from the tree as its been replaced by a newer version or is no longer required 32 silly removeObsoleteDep removing p-cancelable@2.0.0 from the tree as its been replaced by a newer version or is no longer required 33 silly removeObsoleteDep removing p-some@4.1.0 from the tree as its been replaced by a newer version or is no longer required 34 silly removeObsoleteDep removing aggregate-error@3.0.1 from the tree as its been replaced by a newer version or is no longer required 35 silly removeObsoleteDep removing clean-stack@2.2.0 from the tree as its been replaced by a newer version or is no longer required 36 silly removeObsoleteDep removing indent-string@4.0.0 from the tree as its been replaced by a newer version or is no longer required 37 silly removeObsoleteDep removing type-fest@0.3.1 from the tree as its been replaced by a newer version or is no longer required 38 silly removeObsoleteDep removing passwd-user@3.0.0 from the tree as its been replaced by a newer version or is no longer required 39 silly removeObsoleteDep removing humanize-string@1.0.2 from the tree as its been replaced by a newer version or is no longer required 40 silly removeObsoleteDep removing insight@0.10.3 from the tree as its been replaced by a newer version or is no longer required 41 silly removeObsoleteDep removing conf@1.4.0 from the tree as its been replaced by a newer version or is no longer required 42 silly removeObsoleteDep removing env-paths@1.0.0 from the tree as its been replaced by a newer version or is no longer required 43 silly removeObsoleteDep removing pkg-up@2.0.0 from the tree as its been replaced by a newer version or is no longer required 44 silly removeObsoleteDep removing find-up@2.1.0 from the tree as its been replaced by a newer version or is no longer required 45 silly removeObsoleteDep removing locate-path@2.0.0 from the tree as its been replaced by a newer version or is no longer required 46 silly removeObsoleteDep removing p-locate@2.0.0 from the tree as its been replaced by a newer version or is no longer required 47 silly removeObsoleteDep removing p-limit@1.3.0 from the tree as its been replaced by a newer version or is no longer required 48 silly removeObsoleteDep removing p-try@1.0.0 from the tree as its been replaced by a newer version or is no longer required 49 silly removeObsoleteDep removing inquirer@6.5.2 from the tree as its been replaced by a newer version or is no longer required 50 silly removeObsoleteDep removing ansi-escapes@3.2.0 from the tree as its been replaced by a newer version or is no longer required 51 silly removeObsoleteDep removing cli-cursor@2.1.0 from the tree as its been replaced by a newer version or is no longer required 52 silly removeObsoleteDep removing restore-cursor@2.0.0 from the tree as its been replaced by a newer version or is no longer required 53 silly removeObsoleteDep removing onetime@2.0.1 from the tree as its been replaced by a newer version or is no longer required 54 silly removeObsoleteDep removing mimic-fn@1.2.0 from the tree as its been replaced by a newer version or is no longer required 55 silly removeObsoleteDep removing figures@2.0.0 from the tree as its been replaced by a newer version or is no longer required 56 silly removeObsoleteDep removing mute-stream@0.0.7 from the tree as its been replaced by a newer version or is no longer required 57 silly removeObsoleteDep removing strip-ansi@5.2.0 from the tree as its been replaced by a newer version or is no longer required 58 silly removeObsoleteDep removing ansi-regex@4.1.0 from the tree as its been replaced by a newer version or is no longer required 59 silly removeObsoleteDep removing lodash.debounce@4.0.8 from the tree as its been replaced by a newer version or is no longer required 60 silly removeObsoleteDep removing os-name@3.1.0 from the tree as its been replaced by a newer version or is no longer required 61 silly removeObsoleteDep removing macos-release@2.3.0 from the tree as its been replaced by a newer version or is no longer required 62 silly removeObsoleteDep removing windows-release@3.3.0 from the tree as its been replaced by a newer version or is no longer required 63 silly removeObsoleteDep removing execa@1.0.0 from the tree as its been replaced by a newer version or is no longer required 64 silly removeObsoleteDep removing get-stream@4.1.0 from the tree as its been replaced by a newer version or is no longer required 65 silly removeObsoleteDep removing request@2.88.2 from the tree as its been replaced by a newer version or is no longer required 66 silly removeObsoleteDep removing aws-sign2@0.7.0 from the tree as its been replaced by a newer version or is no longer required 67 silly removeObsoleteDep removing aws4@1.9.1 from the tree as its been replaced by a newer version or is no longer required 68 silly removeObsoleteDep removing caseless@0.12.0 from the tree as its been replaced by a newer version or is no longer required 69 silly removeObsoleteDep removing combined-stream@1.0.8 from the tree as its been replaced by a newer version or is no longer required 70 silly removeObsoleteDep removing delayed-stream@1.0.0 from the tree as its been replaced by a newer version or is no longer required 71 silly removeObsoleteDep removing forever-agent@0.6.1 from the tree as its been replaced by a newer version or is no longer required 72 silly removeObsoleteDep removing form-data@2.3.3 from the tree as its been replaced by a newer version or is no longer required 73 silly removeObsoleteDep removing asynckit@0.4.0 from the tree as its been replaced by a newer version or is no longer required 74 silly removeObsoleteDep removing mime-types@2.1.26 from the tree as its been replaced by a newer version or is no longer required 75 silly removeObsoleteDep removing mime-db@1.43.0 from the tree as its been replaced by a newer version or is no longer required 76 silly removeObsoleteDep removing har-validator@5.1.3 from the tree as its been replaced by a newer version or is no longer required 77 silly removeObsoleteDep removing ajv@6.12.0 from the tree as its been replaced by a newer version or is no longer required 78 silly removeObsoleteDep removing fast-deep-equal@3.1.1 from the tree as its been replaced by a newer version or is no longer required 79 silly removeObsoleteDep removing fast-json-stable-stringify@2.1.0 from the tree as its been replaced by a newer version or is no longer required 80 silly removeObsoleteDep removing json-schema-traverse@0.4.1 from the tree as its been replaced by a newer version or is no longer required 81 silly removeObsoleteDep removing uri-js@4.2.2 from the tree as its been replaced by a newer version or is no longer required 82 silly removeObsoleteDep removing punycode@2.1.1 from the tree as its been replaced by a newer version or is no longer required 83 silly removeObsoleteDep removing har-schema@2.0.0 from the tree as its been replaced by a newer version or is no longer required 84 silly removeObsoleteDep removing http-signature@1.2.0 from the tree as its been replaced by a newer version or is no longer required 85 silly removeObsoleteDep removing assert-plus@1.0.0 from the tree as its been replaced by a newer version or is no longer required 86 silly removeObsoleteDep removing jsprim@1.4.1 from the tree as its been replaced by a newer version or is no longer required 87 silly removeObsoleteDep removing extsprintf@1.3.0 from the tree as its been replaced by a newer version or is no longer required 88 silly removeObsoleteDep removing json-schema@0.2.3 from the tree as its been replaced by a newer version or is no longer required 89 silly removeObsoleteDep removing verror@1.10.0 from the tree as its been replaced by a newer version or is no longer required 90 silly removeObsoleteDep removing sshpk@1.16.1 from the tree as its been replaced by a newer version or is no longer required 91 silly removeObsoleteDep removing asn1@0.2.4 from the tree as its been replaced by a newer version or is no longer required 92 silly removeObsoleteDep removing bcrypt-pbkdf@1.0.2 from the tree as its been replaced by a newer version or is no longer required 93 silly removeObsoleteDep removing tweetnacl@0.14.5 from the tree as its been replaced by a newer version or is no longer required 94 silly removeObsoleteDep removing dashdash@1.14.1 from the tree as its been replaced by a newer version or is no longer required 95 silly removeObsoleteDep removing ecc-jsbn@0.1.2 from the tree as its been replaced by a newer version or is no longer required 96 silly removeObsoleteDep removing jsbn@0.1.1 from the tree as its been replaced by a newer version or is no longer required 97 silly removeObsoleteDep removing getpass@0.1.7 from the tree as its been replaced by a newer version or is no longer required 98 silly removeObsoleteDep removing is-typedarray@1.0.0 from the tree as its been replaced by a newer version or is no longer required 99 silly removeObsoleteDep removing isstream@0.1.2 from the tree as its been replaced by a newer version or is no longer required 100 silly removeObsoleteDep removing oauth-sign@0.9.0 from the tree as its been replaced by a newer version or is no longer required 101 silly removeObsoleteDep removing performance-now@2.1.0 from the tree as its been replaced by a newer version or is no longer required 102 silly removeObsoleteDep removing qs@6.5.2 from the tree as its been replaced by a newer version or is no longer required 103 silly removeObsoleteDep removing tough-cookie@2.5.0 from the tree as its been replaced by a newer version or is no longer required 104 silly removeObsoleteDep removing psl@1.8.0 from the tree as its been replaced by a newer version or is no longer required 105 silly removeObsoleteDep removing tunnel-agent@0.6.0 from the tree as its been replaced by a newer version or is no longer required 106 silly removeObsoleteDep removing uuid@3.4.0 from the tree as its been replaced by a newer version or is no longer required 107 silly removeObsoleteDep removing tough-cookie@3.0.1 from the tree as its been replaced by a newer version or is no longer required 108 silly removeObsoleteDep removing ip-regex@2.1.0 from the tree as its been replaced by a newer version or is no longer required 109 silly removeObsoleteDep removing meow@3.7.0 from the tree as its been replaced by a newer version or is no longer required 110 silly removeObsoleteDep removing camelcase-keys@2.1.0 from the tree as its been replaced by a newer version or is no longer required 111 silly removeObsoleteDep removing camelcase@2.1.1 from the tree as its been replaced by a newer version or is no longer required 112 silly removeObsoleteDep removing map-obj@1.0.1 from the tree as its been replaced by a newer version or is no longer required 113 silly removeObsoleteDep removing decamelize@1.2.0 from the tree as its been replaced by a newer version or is no longer required 114 silly removeObsoleteDep removing loud-rejection@1.6.0 from the tree as its been replaced by a newer version or is no longer required 115 silly removeObsoleteDep removing currently-unhandled@0.4.1 from the tree as its been replaced by a newer version or is no longer required 116 silly removeObsoleteDep removing array-find-index@1.0.2 from the tree as its been replaced by a newer version or is no longer required 117 silly removeObsoleteDep removing read-pkg-up@1.0.1 from the tree as its been replaced by a newer version or is no longer required 118 silly removeObsoleteDep removing find-up@1.1.2 from the tree as its been replaced by a newer version or is no longer required 119 silly removeObsoleteDep removing path-exists@2.1.0 from the tree as its been replaced by a newer version or is no longer required 120 silly removeObsoleteDep removing read-pkg@1.1.0 from the tree as its been replaced by a newer version or is no longer required 121 silly removeObsoleteDep removing load-json-file@1.1.0 from the tree as its been replaced by a newer version or is no longer required 122 silly removeObsoleteDep removing parse-json@2.2.0 from the tree as its been replaced by a newer version or is no longer required 123 silly removeObsoleteDep removing pify@2.3.0 from the tree as its been replaced by a newer version or is no longer required 124 silly removeObsoleteDep removing path-type@1.1.0 from the tree as its been replaced by a newer version or is no longer required 125 silly removeObsoleteDep removing pify@2.3.0 from the tree as its been replaced by a newer version or is no longer required 126 silly removeObsoleteDep removing redent@1.0.0 from the tree as its been replaced by a newer version or is no longer required 127 silly removeObsoleteDep removing indent-string@2.1.0 from the tree as its been replaced by a newer version or is no longer required 128 silly removeObsoleteDep removing repeating@2.0.1 from the tree as its been replaced by a newer version or is no longer required 129 silly removeObsoleteDep removing is-finite@1.1.0 from the tree as its been replaced by a newer version or is no longer required 130 silly removeObsoleteDep removing strip-indent@1.0.1 from the tree as its been replaced by a newer version or is no longer required 131 silly removeObsoleteDep removing trim-newlines@1.0.0 from the tree as its been replaced by a newer version or is no longer required 132 silly removeObsoleteDep removing npm-keyword@5.0.0 from the tree as its been replaced by a newer version or is no longer required 133 silly removeObsoleteDep removing got@7.1.0 from the tree as its been replaced by a newer version or is no longer required 134 silly removeObsoleteDep removing get-stream@3.0.0 from the tree as its been replaced by a newer version or is no longer required 135 silly removeObsoleteDep removing p-cancelable@0.3.0 from the tree as its been replaced by a newer version or is no longer required 136 silly removeObsoleteDep removing p-timeout@1.2.1 from the tree as its been replaced by a newer version or is no longer required 137 silly removeObsoleteDep removing url-parse-lax@1.0.0 from the tree as its been replaced by a newer version or is no longer required 138 silly removeObsoleteDep removing prepend-http@1.0.4 from the tree as its been replaced by a newer version or is no longer required 139 silly removeObsoleteDep removing open@6.4.0 from the tree as its been replaced by a newer version or is no longer required 140 silly removeObsoleteDep removing is-wsl@1.1.0 from the tree as its been replaced by a newer version or is no longer required 141 silly removeObsoleteDep removing package-json@5.0.0 from the tree as its been replaced by a newer version or is no longer required 142 silly removeObsoleteDep removing got@8.3.2 from the tree as its been replaced by a newer version or is no longer required 143 silly removeObsoleteDep removing @sindresorhus/is@0.7.0 from the tree as its been replaced by a newer version or is no longer required 144 silly removeObsoleteDep removing cacheable-request@2.1.4 from the tree as its been replaced by a newer version or is no longer required 145 silly removeObsoleteDep removing clone-response@1.0.2 from the tree as its been replaced by a newer version or is no longer required 146 silly removeObsoleteDep removing mimic-response@1.0.1 from the tree as its been replaced by a newer version or is no longer required 147 silly removeObsoleteDep removing get-stream@3.0.0 from the tree as its been replaced by a newer version or is no longer required 148 silly removeObsoleteDep removing http-cache-semantics@3.8.1 from the tree as its been replaced by a newer version or is no longer required 149 silly removeObsoleteDep removing keyv@3.0.0 from the tree as its been replaced by a newer version or is no longer required 150 silly removeObsoleteDep removing json-buffer@3.0.0 from the tree as its been replaced by a newer version or is no longer required 151 silly removeObsoleteDep removing lowercase-keys@1.0.0 from the tree as its been replaced by a newer version or is no longer required 152 silly removeObsoleteDep removing normalize-url@2.0.1 from the tree as its been replaced by a newer version or is no longer required 153 silly removeObsoleteDep removing prepend-http@2.0.0 from the tree as its been replaced by a newer version or is no longer required 154 silly removeObsoleteDep removing query-string@5.1.1 from the tree as its been replaced by a newer version or is no longer required 155 silly removeObsoleteDep removing strict-uri-encode@1.1.0 from the tree as its been replaced by a newer version or is no longer required 156 silly removeObsoleteDep removing sort-keys@2.0.0 from the tree as its been replaced by a newer version or is no longer required 157 silly removeObsoleteDep removing responselike@1.0.2 from the tree as its been replaced by a newer version or is no longer required 158 silly removeObsoleteDep removing decompress-response@3.3.0 from the tree as its been replaced by a newer version or is no longer required 159 silly removeObsoleteDep removing get-stream@3.0.0 from the tree as its been replaced by a newer version or is no longer required 160 silly removeObsoleteDep removing into-stream@3.1.0 from the tree as its been replaced by a newer version or is no longer required 161 silly removeObsoleteDep removing from2@2.3.0 from the tree as its been replaced by a newer version or is no longer required 162 silly removeObsoleteDep removing p-is-promise@1.1.0 from the tree as its been replaced by a newer version or is no longer required 163 silly removeObsoleteDep removing isurl@1.0.0 from the tree as its been replaced by a newer version or is no longer required 164 silly removeObsoleteDep removing has-to-string-tag-x@1.4.1 from the tree as its been replaced by a newer version or is no longer required 165 silly removeObsoleteDep removing has-symbol-support-x@1.4.2 from the tree as its been replaced by a newer version or is no longer required 166 silly removeObsoleteDep removing is-object@1.0.1 from the tree as its been replaced by a newer version or is no longer required 167 silly removeObsoleteDep removing p-cancelable@0.4.1 from the tree as its been replaced by a newer version or is no longer required 168 silly removeObsoleteDep removing p-timeout@2.0.1 from the tree as its been replaced by a newer version or is no longer required 169 silly removeObsoleteDep removing url-parse-lax@3.0.0 from the tree as its been replaced by a newer version or is no longer required 170 silly removeObsoleteDep removing url-to-options@1.0.1 from the tree as its been replaced by a newer version or is no longer required 171 silly removeObsoleteDep removing parse-help@1.0.0 from the tree as its been replaced by a newer version or is no longer required 172 silly removeObsoleteDep removing execall@1.0.0 from the tree as its been replaced by a newer version or is no longer required 173 silly removeObsoleteDep removing clone-regexp@1.0.1 from the tree as its been replaced by a newer version or is no longer required 174 silly removeObsoleteDep removing is-regexp@1.0.0 from the tree as its been replaced by a newer version or is no longer required 175 silly removeObsoleteDep removing is-supported-regexp-flag@1.0.1 from the tree as its been replaced by a newer version or is no longer required 176 silly removeObsoleteDep removing read-pkg-up@4.0.0 from the tree as its been replaced by a newer version or is no longer required 177 silly removeObsoleteDep removing find-up@3.0.0 from the tree as its been replaced by a newer version or is no longer required 178 silly removeObsoleteDep removing locate-path@3.0.0 from the tree as its been replaced by a newer version or is no longer required 179 silly removeObsoleteDep removing p-locate@3.0.0 from the tree as its been replaced by a newer version or is no longer required 180 silly removeObsoleteDep removing p-limit@2.3.0 from the tree as its been replaced by a newer version or is no longer required 181 silly removeObsoleteDep removing p-try@2.2.0 from the tree as its been replaced by a newer version or is no longer required 182 silly removeObsoleteDep removing read-pkg@3.0.0 from the tree as its been replaced by a newer version or is no longer required 183 silly removeObsoleteDep removing load-json-file@4.0.0 from the tree as its been replaced by a newer version or is no longer required 184 silly removeObsoleteDep removing parse-json@4.0.0 from the tree as its been replaced by a newer version or is no longer required 185 silly removeObsoleteDep removing strip-bom@3.0.0 from the tree as its been replaced by a newer version or is no longer required 186 silly removeObsoleteDep removing path-type@3.0.0 from the tree as its been replaced by a newer version or is no longer required 187 silly removeObsoleteDep removing root-check@1.0.0 from the tree as its been replaced by a newer version or is no longer required 188 silly removeObsoleteDep removing downgrade-root@1.2.2 from the tree as its been replaced by a newer version or is no longer required 189 silly removeObsoleteDep removing default-uid@1.0.0 from the tree as its been replaced by a newer version or is no longer required 190 silly removeObsoleteDep removing is-root@1.0.0 from the tree as its been replaced by a newer version or is no longer required 191 silly removeObsoleteDep removing sudo-block@1.2.0 from the tree as its been replaced by a newer version or is no longer required 192 silly removeObsoleteDep removing chalk@1.1.3 from the tree as its been replaced by a newer version or is no longer required 193 silly removeObsoleteDep removing ansi-styles@2.2.1 from the tree as its been replaced by a newer version or is no longer required 194 silly removeObsoleteDep removing strip-ansi@3.0.1 from the tree as its been replaced by a newer version or is no longer required 195 silly removeObsoleteDep removing ansi-regex@2.1.1 from the tree as its been replaced by a newer version or is no longer required 196 silly removeObsoleteDep removing supports-color@2.0.0 from the tree as its been replaced by a newer version or is no longer required 197 silly removeObsoleteDep removing is-docker@1.1.0 from the tree as its been replaced by a newer version or is no longer required 198 silly removeObsoleteDep removing sort-on@3.0.0 from the tree as its been replaced by a newer version or is no longer required 199 silly removeObsoleteDep removing string-length@2.0.0 from the tree as its been replaced by a newer version or is no longer required 200 silly removeObsoleteDep removing astral-regex@1.0.0 from the tree as its been replaced by a newer version or is no longer required 201 silly removeObsoleteDep removing strip-ansi@4.0.0 from the tree as its been replaced by a newer version or is no longer required 202 silly removeObsoleteDep removing tabtab@1.3.2 from the tree as its been replaced by a newer version or is no longer required 203 silly removeObsoleteDep removing inquirer@1.2.3 from the tree as its been replaced by a newer version or is no longer required 204 silly removeObsoleteDep removing ansi-escapes@1.4.0 from the tree as its been replaced by a newer version or is no longer required 205 silly removeObsoleteDep removing chalk@1.1.3 from the tree as its been replaced by a newer version or is no longer required 206 silly removeObsoleteDep removing ansi-styles@2.2.1 from the tree as its been replaced by a newer version or is no longer required 207 silly removeObsoleteDep removing strip-ansi@3.0.1 from the tree as its been replaced by a newer version or is no longer required 208 silly removeObsoleteDep removing ansi-regex@2.1.1 from the tree as its been replaced by a newer version or is no longer required 209 silly removeObsoleteDep removing supports-color@2.0.0 from the tree as its been replaced by a newer version or is no longer required 210 silly removeObsoleteDep removing cli-cursor@1.0.2 from the tree as its been replaced by a newer version or is no longer required 211 silly removeObsoleteDep removing restore-cursor@1.0.1 from the tree as its been replaced by a newer version or is no longer required 212 silly removeObsoleteDep removing exit-hook@1.1.1 from the tree as its been replaced by a newer version or is no longer required 213 silly removeObsoleteDep removing onetime@1.1.0 from the tree as its been replaced by a newer version or is no longer required 214 silly removeObsoleteDep removing external-editor@1.1.1 from the tree as its been replaced by a newer version or is no longer required 215 silly removeObsoleteDep removing extend@3.0.2 from the tree as its been replaced by a newer version or is no longer required 216 silly removeObsoleteDep removing spawn-sync@1.0.15 from the tree as its been replaced by a newer version or is no longer required 217 silly removeObsoleteDep removing concat-stream@1.6.2 from the tree as its been replaced by a newer version or is no longer required 218 silly removeObsoleteDep removing buffer-from@1.1.1 from the tree as its been replaced by a newer version or is no longer required 219 silly removeObsoleteDep removing typedarray@0.0.6 from the tree as its been replaced by a newer version or is no longer required 220 silly removeObsoleteDep removing os-shim@0.1.3 from the tree as its been replaced by a newer version or is no longer required 221 silly removeObsoleteDep removing tmp@0.0.29 from the tree as its been replaced by a newer version or is no longer required 222 silly removeObsoleteDep removing figures@1.7.0 from the tree as its been replaced by a newer version or is no longer required 223 silly removeObsoleteDep removing mute-stream@0.0.6 from the tree as its been replaced by a newer version or is no longer required 224 silly removeObsoleteDep removing rx@4.1.0 from the tree as its been replaced by a newer version or is no longer required 225 silly removeObsoleteDep removing string-width@1.0.2 from the tree as its been replaced by a newer version or is no longer required 226 silly removeObsoleteDep removing is-fullwidth-code-point@1.0.0 from the tree as its been replaced by a newer version or is no longer required 227 silly removeObsoleteDep removing npmlog@2.0.4 from the tree as its been replaced by a newer version or is no longer required 228 silly removeObsoleteDep removing ansi@0.3.1 from the tree as its been replaced by a newer version or is no longer required 229 silly removeObsoleteDep removing are-we-there-yet@1.1.5 from the tree as its been replaced by a newer version or is no longer required 230 silly removeObsoleteDep removing delegates@1.0.0 from the tree as its been replaced by a newer version or is no longer required 231 silly removeObsoleteDep removing gauge@1.2.7 from the tree as its been replaced by a newer version or is no longer required 232 silly removeObsoleteDep removing has-unicode@2.0.1 from the tree as its been replaced by a newer version or is no longer required 233 silly removeObsoleteDep removing lodash.pad@4.5.1 from the tree as its been replaced by a newer version or is no longer required 234 silly removeObsoleteDep removing lodash.padend@4.6.1 from the tree as its been replaced by a newer version or is no longer required 235 silly removeObsoleteDep removing lodash.padstart@4.6.1 from the tree as its been replaced by a newer version or is no longer required 236 silly removeObsoleteDep removing titleize@1.0.1 from the tree as its been replaced by a newer version or is no longer required 237 silly removeObsoleteDep removing update-notifier@2.5.0 from the tree as its been replaced by a newer version or is no longer required 238 silly removeObsoleteDep removing boxen@1.3.0 from the tree as its been replaced by a newer version or is no longer required 239 silly removeObsoleteDep removing ansi-align@2.0.0 from the tree as its been replaced by a newer version or is no longer required 240 silly removeObsoleteDep removing camelcase@4.1.0 from the tree as its been replaced by a newer version or is no longer required 241 silly removeObsoleteDep removing term-size@1.2.0 from the tree as its been replaced by a newer version or is no longer required 242 silly removeObsoleteDep removing execa@0.7.0 from the tree as its been replaced by a newer version or is no longer required 243 silly removeObsoleteDep removing cross-spawn@5.1.0 from the tree as its been replaced by a newer version or is no longer required 244 silly removeObsoleteDep removing get-stream@3.0.0 from the tree as its been replaced by a newer version or is no longer required 245 silly removeObsoleteDep removing npm-run-path@2.0.2 from the tree as its been replaced by a newer version or is no longer required 246 silly removeObsoleteDep removing widest-line@2.0.1 from the tree as its been replaced by a newer version or is no longer required 247 silly removeObsoleteDep removing configstore@3.1.2 from the tree as its been replaced by a newer version or is no longer required 248 silly removeObsoleteDep removing dot-prop@4.2.0 from the tree as its been replaced by a newer version or is no longer required 249 silly removeObsoleteDep removing is-obj@1.0.1 from the tree as its been replaced by a newer version or is no longer required 250 silly removeObsoleteDep removing make-dir@1.3.0 from the tree as its been replaced by a newer version or is no longer required 251 silly removeObsoleteDep removing unique-string@1.0.0 from the tree as its been replaced by a newer version or is no longer required 252 silly removeObsoleteDep removing crypto-random-string@1.0.0 from the tree as its been replaced by a newer version or is no longer required 253 silly removeObsoleteDep removing write-file-atomic@2.4.3 from the tree as its been replaced by a newer version or is no longer required 254 silly removeObsoleteDep removing imurmurhash@0.1.4 from the tree as its been replaced by a newer version or is no longer required 255 silly removeObsoleteDep removing xdg-basedir@3.0.0 from the tree as its been replaced by a newer version or is no longer required 256 silly removeObsoleteDep removing import-lazy@2.1.0 from the tree as its been replaced by a newer version or is no longer required 257 silly removeObsoleteDep removing is-ci@1.2.1 from the tree as its been replaced by a newer version or is no longer required 258 silly removeObsoleteDep removing ci-info@1.6.0 from the tree as its been replaced by a newer version or is no longer required 259 silly removeObsoleteDep removing is-installed-globally@0.1.0 from the tree as its been replaced by a newer version or is no longer required 260 silly removeObsoleteDep removing global-dirs@0.1.1 from the tree as its been replaced by a newer version or is no longer required 261 silly removeObsoleteDep removing is-path-inside@1.0.1 from the tree as its been replaced by a newer version or is no longer required 262 silly removeObsoleteDep removing path-is-inside@1.0.2 from the tree as its been replaced by a newer version or is no longer required 263 silly removeObsoleteDep removing is-npm@1.0.0 from the tree as its been replaced by a newer version or is no longer required 264 silly removeObsoleteDep removing semver-diff@2.1.0 from the tree as its been replaced by a newer version or is no longer required 265 silly removeObsoleteDep removing yeoman-character@1.1.0 from the tree as its been replaced by a newer version or is no longer required 266 silly removeObsoleteDep removing supports-color@3.2.3 from the tree as its been replaced by a newer version or is no longer required 267 silly removeObsoleteDep removing has-flag@1.0.0 from the tree as its been replaced by a newer version or is no longer required 268 silly removeObsoleteDep removing yeoman-doctor@4.0.0 from the tree as its been replaced by a newer version or is no longer required 269 silly removeObsoleteDep removing bin-version-check@3.0.0 from the tree as its been replaced by a newer version or is no longer required 270 silly removeObsoleteDep removing bin-version@2.0.0 from the tree as its been replaced by a newer version or is no longer required 271 silly removeObsoleteDep removing execa@0.1.1 from the tree as its been replaced by a newer version or is no longer required 272 silly removeObsoleteDep removing cross-spawn-async@2.2.5 from the tree as its been replaced by a newer version or is no longer required 273 silly removeObsoleteDep removing lru-cache@4.1.5 from the tree as its been replaced by a newer version or is no longer required 274 silly removeObsoleteDep removing pseudomap@1.0.2 from the tree as its been replaced by a newer version or is no longer required 275 silly removeObsoleteDep removing yallist@2.1.2 from the tree as its been replaced by a newer version or is no longer required 276 silly removeObsoleteDep removing object-assign@4.1.1 from the tree as its been replaced by a newer version or is no longer required 277 silly removeObsoleteDep removing strip-eof@1.0.0 from the tree as its been replaced by a newer version or is no longer required 278 silly removeObsoleteDep removing find-versions@2.0.0 from the tree as its been replaced by a newer version or is no longer required 279 silly removeObsoleteDep removing semver-regex@1.0.0 from the tree as its been replaced by a newer version or is no longer required 280 silly removeObsoleteDep removing semver-truncate@1.1.2 from the tree as its been replaced by a newer version or is no longer required 281 silly removeObsoleteDep removing global-agent@2.1.8 from the tree as its been replaced by a newer version or is no longer required 282 silly removeObsoleteDep removing boolean@3.0.1 from the tree as its been replaced by a newer version or is no longer required 283 silly removeObsoleteDep removing core-js@3.6.5 from the tree as its been replaced by a newer version or is no longer required 284 silly removeObsoleteDep removing es6-error@4.1.1 from the tree as its been replaced by a newer version or is no longer required 285 silly removeObsoleteDep removing matcher@2.1.0 from the tree as its been replaced by a newer version or is no longer required 286 silly removeObsoleteDep removing escape-string-regexp@2.0.0 from the tree as its been replaced by a newer version or is no longer required 287 silly removeObsoleteDep removing roarr@2.15.3 from the tree as its been replaced by a newer version or is no longer required 288 silly removeObsoleteDep removing detect-node@2.0.4 from the tree as its been replaced by a newer version or is no longer required 289 silly removeObsoleteDep removing globalthis@1.0.1 from the tree as its been replaced by a newer version or is no longer required 290 silly removeObsoleteDep removing define-properties@1.1.3 from the tree as its been replaced by a newer version or is no longer required 291 silly removeObsoleteDep removing object-keys@1.1.1 from the tree as its been replaced by a newer version or is no longer required 292 silly removeObsoleteDep removing json-stringify-safe@5.0.1 from the tree as its been replaced by a newer version or is no longer required 293 silly removeObsoleteDep removing semver-compare@1.0.0 from the tree as its been replaced by a newer version or is no longer required 294 silly removeObsoleteDep removing sprintf-js@1.1.2 from the tree as its been replaced by a newer version or is no longer required 295 silly removeObsoleteDep removing semver@7.2.3 from the tree as its been replaced by a newer version or is no longer required 296 silly removeObsoleteDep removing serialize-error@5.0.0 from the tree as its been replaced by a newer version or is no longer required 297 silly removeObsoleteDep removing type-fest@0.8.1 from the tree as its been replaced by a newer version or is no longer required 298 silly removeObsoleteDep removing global-tunnel-ng@2.7.1 from the tree as its been replaced by a newer version or is no longer required 299 silly removeObsoleteDep removing encodeurl@1.0.2 from the tree as its been replaced by a newer version or is no longer required 300 silly removeObsoleteDep removing npm-conf@1.1.3 from the tree as its been replaced by a newer version or is no longer required 301 silly removeObsoleteDep removing config-chain@1.1.12 from the tree as its been replaced by a newer version or is no longer required 302 silly removeObsoleteDep removing ini@1.3.5 from the tree as its been replaced by a newer version or is no longer required 303 silly removeObsoleteDep removing proto-list@1.2.4 from the tree as its been replaced by a newer version or is no longer required 304 silly removeObsoleteDep removing tunnel@0.0.6 from the tree as its been replaced by a newer version or is no longer required 305 silly removeObsoleteDep removing latest-version@3.1.0 from the tree as its been replaced by a newer version or is no longer required 306 silly removeObsoleteDep removing package-json@4.0.1 from the tree as its been replaced by a newer version or is no longer required 307 silly removeObsoleteDep removing got@6.7.1 from the tree as its been replaced by a newer version or is no longer required 308 silly removeObsoleteDep removing get-stream@3.0.0 from the tree as its been replaced by a newer version or is no longer required 309 silly removeObsoleteDep removing url-parse-lax@1.0.0 from the tree as its been replaced by a newer version or is no longer required 310 silly removeObsoleteDep removing prepend-http@1.0.4 from the tree as its been replaced by a newer version or is no longer required 311 silly removeObsoleteDep removing registry-auth-token@3.4.0 from the tree as its been replaced by a newer version or is no longer required 312 silly removeObsoleteDep removing rc@1.2.8 from the tree as its been replaced by a newer version or is no longer required 313 silly removeObsoleteDep removing strip-json-comments@2.0.1 from the tree as its been replaced by a newer version or is no longer required 314 silly removeObsoleteDep removing registry-url@3.1.0 from the tree as its been replaced by a newer version or is no longer required 315 silly removeObsoleteDep removing twig@1.15.0 from the tree as its been replaced by a newer version or is no longer required 316 silly removeObsoleteDep removing @babel/runtime@7.9.2 from the tree as its been replaced by a newer version or is no longer required 317 silly removeObsoleteDep removing regenerator-runtime@0.13.5 from the tree as its been replaced by a newer version or is no longer required 318 silly removeObsoleteDep removing locutus@2.0.11 from the tree as its been replaced by a newer version or is no longer required 319 silly removeObsoleteDep removing es6-promise@4.2.8 from the tree as its been replaced by a newer version or is no longer required 320 silly removeObsoleteDep removing walk@2.3.14 from the tree as its been replaced by a newer version or is no longer required 321 silly removeObsoleteDep removing foreachasync@3.0.0 from the tree as its been replaced by a newer version or is no longer required 322 silly removeObsoleteDep removing user-home@2.0.0 from the tree as its been replaced by a newer version or is no longer required 323 silly removeObsoleteDep removing os-homedir@1.0.2 from the tree as its been replaced by a newer version or is no longer required 324 silly removeObsoleteDep removing yosay@2.0.2 from the tree as its been replaced by a newer version or is no longer required 325 silly removeObsoleteDep removing ansi-regex@2.1.1 from the tree as its been replaced by a newer version or is no longer required 326 silly removeObsoleteDep removing chalk@1.1.3 from the tree as its been replaced by a newer version or is no longer required 327 silly removeObsoleteDep removing ansi-styles@2.2.1 from the tree as its been replaced by a newer version or is no longer required 328 silly removeObsoleteDep removing has-ansi@2.0.0 from the tree as its been replaced by a newer version or is no longer required 329 silly removeObsoleteDep removing ansi-regex@2.1.1 from the tree as its been replaced by a newer version or is no longer required 330 silly removeObsoleteDep removing strip-ansi@3.0.1 from the tree as its been replaced by a newer version or is no longer required 331 silly removeObsoleteDep removing supports-color@2.0.0 from the tree as its been replaced by a newer version or is no longer required 332 silly removeObsoleteDep removing cli-boxes@1.0.0 from the tree as its been replaced by a newer version or is no longer required 333 silly removeObsoleteDep removing pad-component@0.0.1 from the tree as its been replaced by a newer version or is no longer required 334 silly removeObsoleteDep removing string-width@2.1.1 from the tree as its been replaced by a newer version or is no longer required 335 silly removeObsoleteDep removing is-fullwidth-code-point@2.0.0 from the tree as its been replaced by a newer version or is no longer required 336 silly removeObsoleteDep removing strip-ansi@4.0.0 from the tree as its been replaced by a newer version or is no longer required 337 silly removeObsoleteDep removing ansi-regex@3.0.0 from the tree as its been replaced by a newer version or is no longer required 338 silly removeObsoleteDep removing taketalk@1.0.0 from the tree as its been replaced by a newer version or is no longer required 339 silly removeObsoleteDep removing get-stdin@4.0.1 from the tree as its been replaced by a newer version or is no longer required 340 silly removeObsoleteDep removing wrap-ansi@2.1.0 from the tree as its been replaced by a newer version or is no longer required 341 silly removeObsoleteDep removing string-width@1.0.2 from the tree as its been replaced by a newer version or is no longer required 342 silly removeObsoleteDep removing code-point-at@1.1.0 from the tree as its been replaced by a newer version or is no longer required 343 silly removeObsoleteDep removing is-fullwidth-code-point@1.0.0 from the tree as its been replaced by a newer version or is no longer required 344 silly removeObsoleteDep removing number-is-nan@1.0.1 from the tree as its been replaced by a newer version or is no longer required 345 silly removeObsoleteDep removing strip-ansi@3.0.1 from the tree as its been replaced by a newer version or is no longer required 346 silly removeObsoleteDep removing ansi-regex@2.1.1 from the tree as its been replaced by a newer version or is no longer required 347 http fetch GET 304 https://registry.npmjs.org/semver 55ms (from cache) 348 silly pacote range manifest for semver@^7.3.2 fetched in 60ms 349 silly resolveWithNewModule semver@7.3.2 checking installable status 350 http fetch GET 304 https://registry.npmjs.org/yeoman-generator 57ms (from cache) 351 silly fetchPackageMetaData error for yeoman-generator@^4.8.0 Unexpected end of JSON input while parsing near '...{"node":">=0.10.0"}},' 352 http fetch GET 304 https://registry.npmjs.org/chalk 68ms (from cache) 353 silly pacote range manifest for chalk@^4.0.0 fetched in 73ms 354 silly resolveWithNewModule chalk@4.1.0 checking installable status 355 timing stage:rollbackFailedOptional Completed in 1ms 356 timing stage:runTopLevelLifecycles Completed in 2587ms 357 verbose stack SyntaxError: Unexpected end of JSON input while parsing near '...{"node":">=0.10.0"}},' 357 verbose stack at JSON.parse (<anonymous>) 357 verbose stack at parseJson (C:\Program Files\nodejs\node_modules\npm\node_modules\json-parse-better-errors\index.js:7:17) 357 verbose stack at C:\Program Files\nodejs\node_modules\npm\node_modules\node-fetch-npm\src\body.js:96:50 357 verbose stack at processTicksAndRejections (internal/process/task_queues.js:93:5) 358 verbose cwd C:\Users\Micah Hunter\Documents\Mendix\CrashCourseApp-main 359 verbose Windows_NT 10.0.19041 360 verbose argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "-g" "yo" "@mendix/generator-widget" "gulp" 361 verbose node v14.15.0 362 verbose npm v6.14.8 363 error Unexpected end of JSON input while parsing near '...{"node":">=0.10.0"}},' 364 verbose exit [ 1, true ]  
asked
2 answers
0

try installing gulp separately not along with yomen, I did in the same way it worked for me.

here is the document

https://docs.mendix.com/howto/extensibility/create-a-pluggable-widget-one

here is a learning path for building widgets in mendix

https://academy.mendix.com/link/path/108/Build-a-Pluggable-Widget

 

answered
0

I was able to install gulp, and then I tried to install yomen, and it still broke.

$ npm install yo -g
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated har-validator@5.1.5: this library is no longer supported
npm WARN deprecated cross-spawn-async@2.2.5: cross-spawn no longer requires a build toolchain, use it instead
npm ERR! Unexpected end of JSON input while parsing near '...{"node":">=0.10.0"}},'

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\Micah Hunter\AppData\Roaming\npm-cache\_logs\2020-11-16T17_13_00_338Z-debug.log

 

answered