You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I used the --ignore-scripts option as nomnom is deprecated and causes the jsonpath module install to fail.
[root@laptop1 swagger-spec]# npm install --ignore-scripts -g generator-openapi-repo
npm WARN deprecated nomnom@1.5.2: Package no longer supported. Contact support@npmjs.com for more info.
+ generator-openapi-repo@1.0.1
added 647 packages in 105.491s
so now I should be able to generate the content, right?
[root@laptop1 ~]# yo openapi-repo
/usr/local/lib/node_modules/yo/node_modules/insight/node_modules/configstore/index.js:53
throw err;
^
Error: EACCES: permission denied, open '/root/.config/configstore/insight-yo.json'
You don't have access to this file.
at Object.fs.openSync (fs.js:652:18)
at Object.fs.readFileSync (fs.js:553:33)
at Configstore.get (/usr/local/lib/node_modules/yo/node_modules/insight/node_modules/configstore/index.js:34:26)
at Configstore.get (/usr/local/lib/node_modules/yo/node_modules/insight/node_modules/configstore/index.js:81:13)
at Insight.get (/usr/local/lib/node_modules/yo/node_modules/insight/lib/index.js:48:22)
at Object.<anonymous> (/usr/local/lib/node_modules/yo/lib/cli.js:197:47)
at Module._compile (module.js:573:30)
at Object.Module._extensions..js (module.js:584:10)
at Module.load (module.js:507:32)
at tryModuleLoad (module.js:470:12)
wrong...
I don't know what permissions problem is supposed to be as I'm running the command as root and the file has open permissions for root and I can access the file
Following the instructions, I ran the commands:
I used the
--ignore-scripts
option as nomnom is deprecated and causes thejsonpath
module install to fail.so now I should be able to generate the content, right?
wrong...
I don't know what permissions problem is supposed to be as I'm running the command as root and the file has open permissions for root and I can access the file
The text was updated successfully, but these errors were encountered: