Recieving Permission denied error

Open
#1 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
aws, javascript, node.js
Domain
api, backend

Research direction

Start with the tmsh create ilx plugin ... from-workspace command and inspect extensions/aws_apigw_proxy/index.js plus the listed node_modules/debug files. Check how the workspace archive handles those files and the reported JavaScript warnings; done means the plugin archive is created successfully without the permission failures.

Written by the indexing model from the issue text.

Description

[root@ip-192-168-1-109:Active:Standalone] plugins # tmsh create ilx plugin f5_aws_apigw_proxy from-workspace f5_aws_apigw_proxy
/var/ilx/workspaces/Common/f5_aws_apigw_proxy/extensions/aws_apigw_proxy/index.js: line 30, col 3, 'const' is available in ES6 (use 'esversion: 6') or Mozilla JS extensions (use moz).
/var/ilx/workspaces/Common/f5_aws_apigw_proxy/extensions/aws_apigw_proxy/index.js: line 37, col 7, 'const' is available in ES6 (use 'esversion: 6') or Mozilla JS extensions (use moz).
/var/ilx/workspaces/Common/f5_aws_apigw_proxy/extensions/aws_apigw_proxy/index.js: line 38, col 32, 'arrow function syntax (=>)' is only available in ES6 (use 'esversion: 6').
/var/ilx/workspaces/Common/f5_aws_apigw_proxy/extensions/aws_apigw_proxy/index.js: line 42, col 11, 'const' is available in ES6 (use 'esversion: 6') or Mozilla JS extensions (use moz).
/var/ilx/workspaces/Common/f5_aws_apigw_proxy/extensions/aws_apigw_proxy/index.js: line 86, col 32, 'arrow function syntax (=>)' is only available in ES6 (use 'esversion: 6').

5 errors
Operation succeeded with warnings/errors.
01070712:3: /var/ilx/workspaces/Common/f5_aws_apigw_proxy /var/run
tar: ./extensions/aws_apigw_proxy/node_modules/debug/node.js: Cannot open: Permission denied
tar: ./extensions/aws_apigw_proxy/node_modules/debug/CHANGELOG.md: Cannot open: Permission denied
tar: ./extensions/aws_apigw_proxy/node_modules/debug/Makefile: Cannot open: Permission denied
tar: ./extensions/aws_apigw_proxy/node_modules/debug/package.json: Cannot open: Permission denied
tar: ./extensions/aws_apigw_proxy/node_modules/debug/README.md: Cannot open: Permission denied
tar: ./extensions/aws_apigw_proxy/node_modules/debug/src/node.js: Cannot open: Permission denied
tar: ./extensions/aws_apigw_proxy/node_modules/debug/src/debug.js: Cannot open: Permission denied
tar: ./extensions/aws_apigw_proxy/node_modules/debug/src/index.js: Cannot open: Permission denied
tar: ./extensions/aws_apigw_proxy/node_modules/debug/src/browser.js: Cannot open: Permission denied
tar: ./extensions/aws_apigw_proxy/node_modules/debug/LICENSE: Cannot open: Permission denied
tar: ./extensions/aws_apigw_proxy/node_modules/debug/.npmignore: Cannot open: Permission denied
tar: ./extensions/aws_apigw_proxy/node_modules/debug/.eslintrc: Cannot open: Permission denied
tar: ./extensions/aws_apigw_proxy/node_modules/debug/.coveralls.yml: Cannot open: Permission denied
tar: ./extensions/aws_apigw_proxy/node_modules/debug/.travis.yml: Cannot open: Permission denied
tar: ./extensions/aws_apigw_proxy/node_modules/debug/karma.conf.js: Cannot open: Permission denied
tar: Exiting with failure status due to previous errors
01070079: failed to create workspace archive /var/sdm/plugin_store/.staging/:Common:f5_aws_apigw_proxy_145_0/f5_plugin_archive.tgz. Return code {2}
[root@ip-192-168-1-109:Active:Standalone] plugins #

Dominant language
JavaScript
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.