Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.

Missing script: "update-resource-specification" #52

Open
cig0 opened this issue Jul 9, 2021 · 0 comments
Open

Missing script: "update-resource-specification" #52

cig0 opened this issue Jul 9, 2021 · 0 comments

Comments

@cig0
Copy link

cig0 commented Jul 9, 2021

Hi,

I'm receiving the above error message when trying to update CF's Resource Specification rules as instructed:

npm run update-resource-specification

The full error log is as follows:

0 verbose cli [
0 verbose cli   '/Users/cig0/.nvm/versions/node/v16.4.2/bin/node',
0 verbose cli   '/Users/cig0/.nvm/versions/node/v16.4.2/bin/npm',
0 verbose cli   'run',
0 verbose cli   'update-resource-specification'
0 verbose cli ]
1 info using [email protected]
2 info using [email protected]
3 timing npm:load:whichnode Completed in 1ms
4 timing config:load:defaults Completed in 2ms
5 timing config:load:file:/Users/cig0/.nvm/versions/node/v16.4.2/lib/node_modules/npm/npmrc Completed in 1ms
6 timing config:load:builtin Completed in 1ms
7 timing config:load:cli Completed in 3ms
8 timing config:load:env Completed in 0ms
9 timing config:load:project Completed in 2ms
10 timing config:load:file:/Users/cig0/.npmrc Completed in 1ms
11 timing config:load:user Completed in 1ms
12 timing config:load:file:/Users/cig0/.nvm/versions/node/v16.4.2/etc/npmrc Completed in 0ms
13 timing config:load:global Completed in 0ms
14 timing config:load:validate Completed in 0ms
15 timing config:load:credentials Completed in 2ms
16 timing config:load:setEnvs Completed in 1ms
17 timing config:load Completed in 12ms
18 timing npm:load:configload Completed in 12ms
19 timing npm:load:setTitle Completed in 18ms
20 timing npm:load:setupLog Completed in 3ms
21 timing npm:load:cleanupLog Completed in 2ms
22 timing npm:load:configScope Completed in 0ms
23 timing npm:load:projectScope Completed in 1ms
24 timing npm:load Completed in 37ms
25 timing config:load:flatten Completed in 3ms
26 timing command:run-script Completed in 48ms
27 verbose stack Error: Missing script: "update-resource-specification"
27 verbose stack
27 verbose stack To see a list of scripts, run:
27 verbose stack   npm run
27 verbose stack     at RunScript.run (/Users/cig0/.nvm/versions/node/v16.4.2/lib/node_modules/npm/lib/run-script.js:104:13)
28 verbose cwd /Users/cig0/w/poap/poap-infrastructure/AWS/CloudFormation/IAM/Users-User
29 verbose Darwin 20.5.0
30 verbose argv "/Users/cig0/.nvm/versions/node/v16.4.2/bin/node" "/Users/cig0/.nvm/versions/node/v16.4.2/bin/npm" "run" "update-resource-specification"
31 verbose node v16.4.2
32 verbose npm  v7.19.1
33 error Missing script: "update-resource-specification"
33 error
33 error To see a list of scripts, run:
33 error   npm run
34 verbose exit 1

I'm NVM and this is the Node stack:

{
  npm: '7.19.1',
  node: '16.4.2',
  v8: '9.1.269.36-node.14',
  uv: '1.41.0',
  zlib: '1.2.11',
  brotli: '1.0.9',
  ares: '1.17.1',
  modules: '93',
  nghttp2: '1.42.0',
  napi: '8',
  llhttp: '6.0.2',
  openssl: '1.1.1k+quic',
  cldr: '39.0',
  icu: '69.1',
  tz: '2021a',
  unicode: '13.0',
  ngtcp2: '0.1.0-DEV',
  nghttp3: '0.1.0-DEV'
}

I checked the provided AWS link but I didn't see any instructions related to Node/NPM. Should I install those rules manually? I'm kind of a bit lost here 😅

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant