Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

message "babel: nunjucks does not exist" when the build script is called #1423

Open
xavier-ottolini opened this issue Nov 23, 2022 · 0 comments

Comments

@xavier-ottolini
Copy link

Hello,

I have installed in my PC under Windows 10 Node 16.18.1 and NPM version 9.1.2. I have installed globally the npm packages

  • @babel/cli@7.19.3
  • @babel/core@7.20.2
  • @babel/register@7.18.9
  • npm@9.1.2

I have also installed locally the following packages:

  • nunjucks@3.2.3
  • nunjucks-intl@1.0.3
  • showdown@2.1.0

The following message: is displayed:

npm link nunjucks
npm ERR! code 2
npm ERR! path C:\Users\xxx\AppData\Roaming\npm\node_modules\nunjucks
npm ERR! command failed
npm ERR! command C:\Windows\system32\cmd.exe /d /s /c npm run build
npm ERR! > nunjucks@3.2.3 build
npm ERR! > npm run build:transpile && npm run build:bundle
npm ERR! 
npm ERR!
npm ERR! > nunjucks@3.2.3 build:transpile
npm ERR! > babel nunjucks --out-dir .
npm ERR! babel:
npm ERR!   nunjucks does not exist

If I go to the folder node_modules/nunjucks and I call the command

npm run build

The same message is displayed:

pm run build

> nunjucks@3.2.3 build
> npm run build:transpile && npm run build:bundle


> nunjucks@3.2.3 build:transpile
> babel nunjucks --out-dir .

babel:
  nunjucks does not exist

Here is the complete log:

0 verbose cli C:\Program Files\nodejs\node.exe C:\Users\myuser\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js
1 info using npm@9.1.2
2 info using node@v16.18.1
3 timing npm:load:whichnode Completed in 1ms
4 timing config:load:defaults Completed in 2ms
5 timing config:load:file:C:\Users\myuser\AppData\Roaming\npm\node_modules\npm\npmrc Completed in 2ms
6 timing config:load:builtin Completed in 3ms
7 timing config:load:cli Completed in 1ms
8 timing config:load:env Completed in 0ms
9 timing config:load:file:C:\Users\myuser\workspace\site-web\siteinnes2019\.npmrc Completed in 1ms
10 timing config:load:project Completed in 3ms
11 timing config:load:file:C:\Users\myuser\.npmrc Completed in 1ms
12 timing config:load:user Completed in 1ms
13 timing config:load:file:C:\Users\myuser\AppData\Roaming\npm\etc\npmrc Completed in 0ms
14 timing config:load:global Completed in 0ms
15 timing config:load:setEnvs Completed in 2ms
16 timing config:load Completed in 15ms
17 timing npm:load:configload Completed in 15ms
18 timing npm:load:mkdirpcache Completed in 0ms
19 timing npm:load:mkdirplogs Completed in 1ms
20 verbose title npm link nunjucks
21 verbose argv "link" "nunjucks"
22 timing npm:load:setTitle Completed in 2ms
23 timing config:load:flatten Completed in 4ms
24 timing npm:load:display Completed in 5ms
25 verbose logfile logs-max:10 dir:C:\Users\myuser\AppData\Local\npm-cache\_logs\2022-11-23T17_07_07_089Z-
26 verbose logfile C:\Users\myuser\AppData\Local\npm-cache\_logs\2022-11-23T17_07_07_089Z-debug-0.log
27 timing npm:load:logFile Completed in 11ms
28 timing npm:load:timers Completed in 0ms
29 timing npm:load:configScope Completed in 0ms
30 timing npm:load Completed in 36ms
31 silly logfile start cleaning logs, removing 2 files
32 timing config:load:flatten Completed in 1ms
33 timing config:load:flatten Completed in 0ms
34 timing arborist:ctor Completed in 1ms
35 silly logfile done cleaning log files
36 timing idealTree:init Completed in 2ms
37 timing idealTree:userRequests Completed in 2ms
38 silly idealTree buildDeps
39 silly fetch manifest nunjucks@*
40 http fetch GET 200 https://registry.npmjs.org/nunjucks 376ms (cache revalidated)
41 silly placeDep ROOT nunjucks@3.2.3 OK for:  want: *
42 silly fetch manifest a-sync-waterfall@^1.0.0
43 silly fetch manifest asap@^2.0.3
44 silly fetch manifest commander@^5.1.0
45 http fetch GET 200 https://registry.npmjs.org/a-sync-waterfall 55ms (cache revalidated)
46 http fetch GET 200 https://registry.npmjs.org/asap 84ms (cache revalidated)
47 http fetch GET 200 https://registry.npmjs.org/commander 86ms (cache revalidated)
48 timing idealTree:#root Completed in 483ms
49 silly placeDep node_modules/nunjucks a-sync-waterfall@1.0.1 OK for: nunjucks@3.2.3 want: ^1.0.0
50 silly placeDep node_modules/nunjucks asap@2.0.6 OK for: nunjucks@3.2.3 want: ^2.0.3
51 silly placeDep node_modules/nunjucks commander@5.1.0 OK for: nunjucks@3.2.3 want: ^5.1.0
52 timing idealTree:node_modules/nunjucks Completed in 8ms
53 timing idealTree:node_modules/nunjucks/node_modules/a-sync-waterfall Completed in 0ms
54 timing idealTree:node_modules/nunjucks/node_modules/asap Completed in 0ms
55 timing idealTree:node_modules/nunjucks/node_modules/commander Completed in 0ms
56 timing idealTree:buildDeps Completed in 491ms
57 timing idealTree:fixDepFlags Completed in 0ms
58 timing idealTree Completed in 499ms
59 timing reify:loadTrees Completed in 500ms
60 timing reify:diffTrees Completed in 1ms
61 silly reify moves {}
62 timing reify:retireShallow Completed in 2ms
63 timing reify:createSparse Completed in 5ms
64 timing reify:loadBundles Completed in 0ms
65 silly audit bulk request {
65 silly audit   nunjucks: [ '3.2.3' ],
65 silly audit   'a-sync-waterfall': [ '1.0.1' ],
65 silly audit   asap: [ '2.0.6' ],
65 silly audit   commander: [ '5.1.0' ]
65 silly audit }
66 timing reifyNode:node_modules/nunjucks/node_modules/a-sync-waterfall Completed in 78ms
67 timing reifyNode:node_modules/nunjucks/node_modules/commander Completed in 92ms
68 timing reifyNode:node_modules/nunjucks/node_modules/asap Completed in 96ms
69 http fetch POST 200 https://registry.npmjs.org/-/npm/v1/security/advisories/bulk 248ms
70 timing auditReport:getReport Completed in 250ms
71 silly audit report {}
72 timing auditReport:init Completed in 0ms
73 timing reify:audit Completed in 252ms
74 timing reifyNode:node_modules/nunjucks Completed in 282ms
75 timing reify:unpack Completed in 283ms
76 timing reify:unretire Completed in 0ms
77 timing build:queue Completed in 1ms
78 timing build:link:node_modules/nunjucks Completed in 7ms
79 timing build:link Completed in 7ms
80 timing build:deps Completed in 8ms
81 timing build Completed in 9ms
82 timing reify:build Completed in 9ms
83 timing reify:trash Completed in 0ms
84 timing reify Completed in 810ms
85 timing arborist:ctor Completed in 0ms
86 timing idealTree:init Completed in 291ms
87 verbose shrinkwrap failed to load node_modules/.package-lock.json missing from lockfile: ../../../AppData/Roaming/npm/node_modules/showdown/node_modules/commander
88 timing idealTree:userRequests Completed in 58ms
89 silly idealTree buildDeps
90 silly placeDep ROOT nunjucks@3.2.3 REPLACE for: website@1.10.10 want: file:../../../AppData/Roaming/npm/node_modules/nunjucks
91 timing idealTree:#root Completed in 14ms
92 timing idealTree:node_modules/nunjucks Completed in 0ms
93 timing idealTree:buildDeps Completed in 15ms
94 timing idealTree:fixDepFlags Completed in 3ms
95 timing idealTree Completed in 378ms
96 timing reify:loadTrees Completed in 735ms
97 timing reify:diffTrees Completed in 21ms
98 silly reify mark retired [
98 silly reify   'C:\\Users\\myuser\\workspace\\site-web\\siteinnes2019\\node_modules\\a-sync-waterfall'
98 silly reify ]
99 silly reify mark retired [
99 silly reify   'C:\\Users\\myuser\\workspace\\site-web\\siteinnes2019\\node_modules\\asap'
99 silly reify ]
100 silly reify mark retired [
100 silly reify   'C:\\Users\\myuser\\workspace\\site-web\\siteinnes2019\\node_modules\\nunjucks',
100 silly reify   'C:\\Users\\myuser\\workspace\\site-web\\siteinnes2019\\node_modules\\.bin\\nunjucks-precompile',
100 silly reify   'C:\\Users\\myuser\\workspace\\site-web\\siteinnes2019\\node_modules\\.bin\\nunjucks-precompile.cmd',
100 silly reify   'C:\\Users\\myuser\\workspace\\site-web\\siteinnes2019\\node_modules\\.bin\\nunjucks-precompile.ps1'
100 silly reify ]
101 silly reify mark retired [
101 silly reify   'C:\\Users\\myuser\\workspace\\site-web\\siteinnes2019\\node_modules\\showdown',
101 silly reify   'C:\\Users\\myuser\\workspace\\site-web\\siteinnes2019\\node_modules\\.bin\\showdown',
101 silly reify   'C:\\Users\\myuser\\workspace\\site-web\\siteinnes2019\\node_modules\\.bin\\showdown.cmd',
101 silly reify   'C:\\Users\\myuser\\workspace\\site-web\\siteinnes2019\\node_modules\\.bin\\showdown.ps1'
101 silly reify ]
102 silly reify moves {
102 silly reify   'C:\\Users\\myuser\\workspace\\site-web\\siteinnes2019\\node_modules\\a-sync-waterfall': 'C:\\Users\\myuser\\workspace\\site-web\\siteinnes2019\\node_modules\\.a-sync-waterfall-XDwOtRAX',
102 silly reify   'C:\\Users\\myuser\\workspace\\site-web\\siteinnes2019\\node_modules\\asap': 'C:\\Users\\myuser\\workspace\\site-web\\siteinnes2019\\node_modules\\.asap-vMDTd2hw',
102 silly reify   'C:\\Users\\myuser\\workspace\\site-web\\siteinnes2019\\node_modules\\nunjucks': 'C:\\Users\\myuser\\workspace\\site-web\\siteinnes2019\\node_modules\\.nunjucks-Oaf7nzc3',
102 silly reify   'C:\\Users\\myuser\\workspace\\site-web\\siteinnes2019\\node_modules\\.bin\\nunjucks-precompile': 'C:\\Users\\myuser\\workspace\\site-web\\siteinnes2019\\node_modules\\.bin\\.nunjucks-precompile-Fn0UKNoo',
102 silly reify   'C:\\Users\\myuser\\workspace\\site-web\\siteinnes2019\\node_modules\\.bin\\nunjucks-precompile.cmd': 'C:\\Users\\myuser\\workspace\\site-web\\siteinnes2019\\node_modules\\.bin\\.nunjucks-precompile.cmd-iTmITJhM',
102 silly reify   'C:\\Users\\myuser\\workspace\\site-web\\siteinnes2019\\node_modules\\.bin\\nunjucks-precompile.ps1': 'C:\\Users\\myuser\\workspace\\site-web\\siteinnes2019\\node_modules\\.bin\\.nunjucks-precompile.ps1-LVR0MWid',
102 silly reify   'C:\\Users\\myuser\\workspace\\site-web\\siteinnes2019\\node_modules\\showdown': 'C:\\Users\\myuser\\workspace\\site-web\\siteinnes2019\\node_modules\\.showdown-qZfDGn27',
102 silly reify   'C:\\Users\\myuser\\workspace\\site-web\\siteinnes2019\\node_modules\\.bin\\showdown': 'C:\\Users\\myuser\\workspace\\site-web\\siteinnes2019\\node_modules\\.bin\\.showdown-fatzGKBD',
102 silly reify   'C:\\Users\\myuser\\workspace\\site-web\\siteinnes2019\\node_modules\\.bin\\showdown.cmd': 'C:\\Users\\myuser\\workspace\\site-web\\siteinnes2019\\node_modules\\.bin\\.showdown.cmd-GBaUrare',
102 silly reify   'C:\\Users\\myuser\\workspace\\site-web\\siteinnes2019\\node_modules\\.bin\\showdown.ps1': 'C:\\Users\\myuser\\workspace\\site-web\\siteinnes2019\\node_modules\\.bin\\.showdown.ps1-Mm7AGitv'
102 silly reify }
103 timing reify:retireShallow Completed in 10ms
104 timing reify:createSparse Completed in 1ms
105 timing reify:loadBundles Completed in 0ms
106 silly audit bulk request {
106 silly audit   '@ampproject/remapping': [ '2.2.0' ],
106 silly audit   '@babel/cli': [ '7.19.3' ],
106 silly audit   '@babel/code-frame': [ '7.18.6' ],
106 silly audit   '@babel/compat-data': [ '7.20.1' ],
106 silly audit   '@babel/core': [ '7.20.2' ],
106 silly audit   '@babel/generator': [ '7.20.4' ],
106 silly audit   '@jridgewell/gen-mapping': [ '0.3.2', '0.1.1' ],
106 silly audit   '@babel/helper-annotate-as-pure': [ '7.18.6' ],
106 silly audit   '@babel/helper-builder-binary-assignment-operator-visitor': [ '7.18.9' ],
106 silly audit   '@babel/helper-compilation-targets': [ '7.20.0' ],
106 silly audit   '@babel/helper-create-class-features-plugin': [ '7.20.2' ],
106 silly audit   '@babel/helper-create-regexp-features-plugin': [ '7.19.0' ],
106 silly audit   '@babel/helper-define-polyfill-provider': [ '0.3.3' ],
106 silly audit   '@babel/helper-environment-visitor': [ '7.18.9' ],
106 silly audit   '@babel/helper-explode-assignable-expression': [ '7.18.6' ],
106 silly audit   '@babel/helper-function-name': [ '7.19.0' ],
106 silly audit   '@babel/helper-hoist-variables': [ '7.18.6' ],
106 silly audit   '@babel/helper-member-expression-to-functions': [ '7.18.9' ],
106 silly audit   '@babel/helper-module-imports': [ '7.18.6' ],
106 silly audit   '@babel/helper-module-transforms': [ '7.20.2' ],
106 silly audit   '@babel/helper-optimise-call-expression': [ '7.18.6' ],
106 silly audit   '@babel/helper-plugin-utils': [ '7.20.2' ],
106 silly audit   '@babel/helper-remap-async-to-generator': [ '7.18.9' ],
106 silly audit   '@babel/helper-replace-supers': [ '7.19.1' ],
106 silly audit   '@babel/helper-simple-access': [ '7.20.2' ],
106 silly audit   '@babel/helper-skip-transparent-expression-wrappers': [ '7.20.0' ],
106 silly audit   '@babel/helper-split-export-declaration': [ '7.18.6' ],
106 silly audit   '@babel/helper-string-parser': [ '7.19.4' ],
106 silly audit   '@babel/helper-validator-identifier': [ '7.19.1' ],
106 silly audit   '@babel/helper-validator-option': [ '7.18.6' ],
106 silly audit   '@babel/helper-wrap-function': [ '7.19.0' ],
106 silly audit   '@babel/helpers': [ '7.20.1' ],
106 silly audit   '@babel/highlight': [ '7.18.6' ],
106 silly audit   '@babel/parser': [ '7.20.3' ],
106 silly audit   '@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression': [ '7.18.6' ],
106 silly audit   '@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining': [ '7.18.9' ],
106 silly audit   '@babel/plugin-proposal-async-generator-functions': [ '7.20.1' ],
106 silly audit   '@babel/plugin-proposal-class-properties': [ '7.18.6' ],
106 silly audit   '@babel/plugin-proposal-class-static-block': [ '7.18.6' ],
106 silly audit   '@babel/plugin-proposal-dynamic-import': [ '7.18.6' ],
106 silly audit   '@babel/plugin-proposal-export-namespace-from': [ '7.18.9' ],
106 silly audit   '@babel/plugin-proposal-json-strings': [ '7.18.6' ],
106 silly audit   '@babel/plugin-proposal-logical-assignment-operators': [ '7.18.9' ],
106 silly audit   '@babel/plugin-proposal-nullish-coalescing-operator': [ '7.18.6' ],
106 silly audit   '@babel/plugin-proposal-numeric-separator': [ '7.18.6' ],
106 silly audit   '@babel/plugin-proposal-object-rest-spread': [ '7.20.2' ],
106 silly audit   '@babel/plugin-proposal-optional-catch-binding': [ '7.18.6' ],
106 silly audit   '@babel/plugin-proposal-optional-chaining': [ '7.18.9' ],
106 silly audit   '@babel/plugin-proposal-private-methods': [ '7.18.6' ],
106 silly audit   '@babel/plugin-proposal-private-property-in-object': [ '7.18.6' ],
106 silly audit   '@babel/plugin-proposal-unicode-property-regex': [ '7.18.6' ],
106 silly audit   '@babel/plugin-syntax-async-generators': [ '7.8.4' ],
106 silly audit   '@babel/plugin-syntax-class-properties': [ '7.12.13' ],
106 silly audit   '@babel/plugin-syntax-class-static-block': [ '7.14.5' ],
106 silly audit   '@babel/plugin-syntax-dynamic-import': [ '7.8.3' ],
106 silly audit   '@babel/plugin-syntax-export-namespace-from': [ '7.8.3' ],
106 silly audit   '@babel/plugin-syntax-import-assertions': [ '7.20.0' ],
106 silly audit   '@babel/plugin-syntax-json-strings': [ '7.8.3' ],
106 silly audit   '@babel/plugin-syntax-logical-assignment-operators': [ '7.10.4' ],
106 silly audit   '@babel/plugin-syntax-nullish-coalescing-operator': [ '7.8.3' ],
106 silly audit   '@babel/plugin-syntax-numeric-separator': [ '7.10.4' ],
106 silly audit   '@babel/plugin-syntax-object-rest-spread': [ '7.8.3' ],
106 silly audit   '@babel/plugin-syntax-optional-catch-binding': [ '7.8.3' ],
106 silly audit   '@babel/plugin-syntax-optional-chaining': [ '7.8.3' ],
106 silly audit   '@babel/plugin-syntax-private-property-in-object': [ '7.14.5' ],
106 silly audit   '@babel/plugin-syntax-top-level-await': [ '7.14.5' ],
106 silly audit   '@babel/plugin-transform-arrow-functions': [ '7.18.6' ],
106 silly audit   '@babel/plugin-transform-async-to-generator': [ '7.18.6' ],
106 silly audit   '@babel/plugin-transform-block-scoped-functions': [ '7.18.6' ],
106 silly audit   '@babel/plugin-transform-block-scoping': [ '7.20.2' ],
106 silly audit   '@babel/plugin-transform-classes': [ '7.20.2' ],
106 silly audit   '@babel/plugin-transform-computed-properties': [ '7.18.9' ],
106 silly audit   '@babel/plugin-transform-destructuring': [ '7.20.2' ],
106 silly audit   '@babel/plugin-transform-dotall-regex': [ '7.18.6' ],
106 silly audit   '@babel/plugin-transform-duplicate-keys': [ '7.18.9' ],
106 silly audit   '@babel/plugin-transform-exponentiation-operator': [ '7.18.6' ],
106 silly audit   '@babel/plugin-transform-for-of': [ '7.18.8' ],
106 silly audit   '@babel/plugin-transform-function-name': [ '7.18.9' ],
106 silly audit   '@babel/plugin-transform-literals': [ '7.18.9' ],
106 silly audit   '@babel/plugin-transform-member-expression-literals': [ '7.18.6' ],
106 silly audit   '@babel/plugin-transform-modules-amd': [ '7.19.6' ],
106 silly audit   '@babel/plugin-transform-modules-commonjs': [ '7.19.6' ],
106 silly audit   '@babel/plugin-transform-modules-systemjs': [ '7.19.6' ],
106 silly audit   '@babel/plugin-transform-modules-umd': [ '7.18.6' ],
106 silly audit   '@babel/plugin-transform-named-capturing-groups-regex': [ '7.19.1' ],
106 silly audit   '@babel/plugin-transform-new-target': [ '7.18.6' ],
106 silly audit   '@babel/plugin-transform-object-super': [ '7.18.6' ],
106 silly audit   '@babel/plugin-transform-parameters': [ '7.20.3' ],
106 silly audit   '@babel/plugin-transform-property-literals': [ '7.18.6' ],
106 silly audit   '@babel/plugin-transform-regenerator': [ '7.18.6' ],
106 silly audit   '@babel/plugin-transform-reserved-words': [ '7.18.6' ],
106 silly audit   '@babel/plugin-transform-shorthand-properties': [ '7.18.6' ],
106 silly audit   '@babel/plugin-transform-spread': [ '7.19.0' ],
106 silly audit   '@babel/plugin-transform-sticky-regex': [ '7.18.6' ],
106 silly audit   '@babel/plugin-transform-template-literals': [ '7.18.9' ],
106 silly audit   '@babel/plugin-transform-typeof-symbol': [ '7.18.9' ],
106 silly audit   '@babel/plugin-transform-unicode-escapes': [ '7.18.10' ],
106 silly audit   '@babel/plugin-transform-unicode-regex': [ '7.18.6' ],
106 silly audit   '@babel/preset-env': [ '7.20.2' ],
106 silly audit   '@babel/preset-modules': [ '0.1.5' ],
106 silly audit   '@babel/register': [ '7.18.9' ],
106 silly audit   '@babel/runtime': [ '7.20.1' ],
106 silly audit   '@babel/template': [ '7.18.10' ],
106 silly audit   '@babel/traverse': [ '7.20.1' ],
106 silly audit   '@babel/types': [ '7.20.2' ],
106 silly audit   '@formatjs/ecma402-abstract': [ '1.11.4' ],
106 silly audit   '@formatjs/fast-memoize': [ '1.2.1' ],
106 silly audit   '@formatjs/icu-messageformat-parser': [ '2.1.0' ],
106 silly audit   '@formatjs/icu-skeleton-parser': [ '1.3.6' ],
106 silly audit   '@formatjs/intl-localematcher': [ '0.2.25' ],
106 silly audit   '@istanbuljs/load-nyc-config': [ '1.1.0' ],
106 silly audit   '@istanbuljs/schema': [ '0.1.3' ],
106 silly audit   '@jridgewell/resolve-uri': [ '3.1.0' ],
106 silly audit   '@jridgewell/set-array': [ '1.1.2' ],
106 silly audit   '@jridgewell/source-map': [ '0.3.2' ],
106 silly audit   '@jridgewell/sourcemap-codec': [ '1.4.14' ],
106 silly audit   '@jridgewell/trace-mapping': [ '0.3.17' ],
106 silly audit   '@nicolo-ribaudo/chokidar-2': [ '2.1.8-no-fsevents.3' ],
106 silly audit   '@types/eslint': [ '8.4.10' ],
106 silly audit   '@types/eslint-scope': [ '3.7.4' ],
106 silly audit   '@types/estree': [ '0.0.51' ],
106 silly audit   '@types/json-schema': [ '7.0.11' ],
106 silly audit   '@types/node': [ '18.11.9' ],
106 silly audit   '@webassemblyjs/ast': [ '1.11.1' ],
106 silly audit   '@webassemblyjs/floating-point-hex-parser': [ '1.11.1' ],
106 silly audit   '@webassemblyjs/helper-api-error': [ '1.11.1' ],
106 silly audit   '@webassemblyjs/helper-buffer': [ '1.11.1' ],
106 silly audit   '@webassemblyjs/helper-numbers': [ '1.11.1' ],
106 silly audit   '@webassemblyjs/helper-wasm-bytecode': [ '1.11.1' ],
106 silly audit   '@webassemblyjs/helper-wasm-section': [ '1.11.1' ],
106 silly audit   '@webassemblyjs/ieee754': [ '1.11.1' ],
106 silly audit   '@webassemblyjs/leb128': [ '1.11.1' ],
106 silly audit   '@webassemblyjs/utf8': [ '1.11.1' ],
106 silly audit   '@webassemblyjs/wasm-edit': [ '1.11.1' ],
106 silly audit   '@webassemblyjs/wasm-gen': [ '1.11.1' ],
106 silly audit   '@webassemblyjs/wasm-opt': [ '1.11.1' ],
106 silly audit   '@webassemblyjs/wasm-parser': [ '1.11.1' ],
106 silly audit   '@webassemblyjs/wast-printer': [ '1.11.1' ],
106 silly audit   '@xtuc/ieee754': [ '1.2.0' ],
106 silly audit   '@xtuc/long': [ '4.2.2' ],
106 silly audit   acorn: [ '8.8.1' ],
106 silly audit   'acorn-import-assertions': [ '1.8.0' ],
106 silly audit   ajv: [ '8.11.2', '6.12.6' ],
106 silly audit   'ajv-formats': [ '2.1.1' ],
106 silly audit   'ajv-keywords': [ '5.1.0', '3.5.2' ],
106 silly audit   'ansi-styles': [ '3.2.1' ],
106 silly audit   anymatch: [ '3.1.3' ],
106 silly audit   argparse: [ '1.0.10' ],
106 silly audit   'babel-loader': [ '9.1.0' ],
106 silly audit   'find-cache-dir': [ '3.3.2', '2.1.0' ],
106 silly audit   'make-dir': [ '3.1.0', '2.1.0' ],
106 silly audit   'pkg-dir': [ '4.2.0', '3.0.0' ],
106 silly audit   'babel-plugin-istanbul': [ '6.1.1' ],
106 silly audit   'babel-plugin-module-resolver': [ '4.1.0' ],
106 silly audit   'babel-plugin-polyfill-corejs2': [ '0.3.3' ],
106 silly audit   'babel-plugin-polyfill-corejs3': [ '0.6.0' ],
106 silly audit   'babel-plugin-polyfill-regenerator': [ '0.4.1' ],
106 silly audit   'balanced-match': [ '1.0.2' ],
106 silly audit   'binary-extensions': [ '2.2.0' ],
106 silly audit   'brace-expansion': [ '1.1.11' ],
106 silly audit   braces: [ '3.0.2' ],
106 silly audit   browserslist: [ '4.21.4' ],
106 silly audit   'buffer-from': [ '1.1.2' ],
106 silly audit   camelcase: [ '5.3.1' ],
106 silly audit   'caniuse-lite': [ '1.0.30001434' ],
106 silly audit   chalk: [ '2.4.2' ],
106 silly audit   chokidar: [ '3.5.3' ],
106 silly audit   'chrome-trace-event': [ '1.0.3' ],
106 silly audit   'clone-deep': [ '4.0.1' ],
106 silly audit   'color-convert': [ '1.9.3' ],
106 silly audit   'color-name': [ '1.1.3' ],
106 silly audit   commander: [ '4.1.1', '2.20.3' ],
106 silly audit   commondir: [ '1.0.1' ],
106 silly audit   'concat-map': [ '0.0.1' ],
106 silly audit   'convert-source-map': [ '1.9.0' ],
106 silly audit   'core-js-compat': [ '3.26.1' ],
106 silly audit   debug: [ '4.3.4' ],
106 silly audit   'electron-to-chromium': [ '1.4.284' ],
106 silly audit   elementtree: [ '0.1.7' ],
106 silly audit   'enhanced-resolve': [ '5.11.0' ],
106 silly audit   'es-module-lexer': [ '0.9.3' ],
106 silly audit   escalade: [ '3.1.1' ],
106 silly audit   'escape-string-regexp': [ '1.0.5' ],
106 silly audit   'eslint-scope': [ '5.1.1' ],
106 silly audit   esprima: [ '4.0.1' ],
106 silly audit   esrecurse: [ '4.3.0' ],
106 silly audit   estraverse: [ '5.3.0', '4.3.0' ],
106 silly audit   esutils: [ '2.0.3' ],
106 silly audit   events: [ '3.3.0' ],
106 silly audit   'fast-deep-equal': [ '3.1.3' ],
106 silly audit   'fast-json-stable-stringify': [ '2.1.0' ],
106 silly audit   'fill-range': [ '7.0.1' ],
106 silly audit   'find-babel-config': [ '1.2.0' ],
106 silly audit   json5: [ '0.5.1', '2.2.1' ],
106 silly audit   'find-up': [ '4.1.0', '3.0.0' ],
106 silly audit   'path-exists': [ '4.0.0', '3.0.0' ],
106 silly audit   fluent: [ '0.11.0' ],
106 silly audit   fontoxpath: [ '3.28.2' ],
106 silly audit   'fs-readdir-recursive': [ '1.1.0' ],
106 silly audit   'fs.realpath': [ '1.0.0' ],
106 silly audit   fsevents: [ '2.3.2' ],
106 silly audit   'function-bind': [ '1.1.1' ],
106 silly audit   gensync: [ '1.0.0-beta.2' ],
106 silly audit   'get-package-type': [ '0.1.0' ],
106 silly audit   glob: [ '7.2.3' ],
106 silly audit   'glob-parent': [ '5.1.2' ],
106 silly audit   'glob-to-regexp': [ '0.4.1' ],
106 silly audit   globals: [ '11.12.0' ],
106 silly audit   'graceful-fs': [ '4.2.10' ],
106 silly audit   has: [ '1.0.3' ],
106 silly audit   'has-flag': [ '3.0.0', '4.0.0' ],
106 silly audit   inflight: [ '1.0.6' ],
106 silly audit   inherits: [ '2.0.4' ],
106 silly audit   'intl-format-cache': [ '4.3.1' ],
106 silly audit   'intl-messageformat': [ '9.13.0' ],
106 silly audit   'intl-relativeformat': [ '6.4.3' ],
106 silly audit   'is-binary-path': [ '2.1.0' ],
106 silly audit   'is-core-module': [ '2.11.0' ],
106 silly audit   'is-extglob': [ '2.1.1' ],
106 silly audit   'is-glob': [ '4.0.3' ],
106 silly audit   'is-number': [ '7.0.0' ],
106 silly audit   'is-plain-object': [ '2.0.4' ],
106 silly audit   isobject: [ '3.0.1' ],
106 silly audit   'istanbul-lib-coverage': [ '3.2.0' ],
106 silly audit   'istanbul-lib-instrument': [ '5.2.1' ],
106 silly audit   'jest-worker': [ '27.5.1' ],
106 silly audit   'supports-color': [ '8.1.1', '5.5.0' ],
106 silly audit   'js-tokens': [ '4.0.0' ],
106 silly audit   'js-yaml': [ '3.14.1' ],
106 silly audit   jsesc: [ '2.5.2', '0.5.0' ],
106 silly audit   'json-parse-even-better-errors': [ '2.3.1' ],
106 silly audit   'json-schema-traverse': [ '1.0.0', '0.4.1' ],
106 silly audit   'kind-of': [ '6.0.3' ],
106 silly audit   link: [ '1.5.1' ],
106 silly audit   'loader-runner': [ '4.3.0' ],
106 silly audit   'locate-path': [ '5.0.0', '3.0.0' ],
106 silly audit   'lodash.debounce': [ '4.0.8' ],
106 silly audit   semver: [ '5.7.1', '6.3.0' ],
106 silly audit   'merge-stream': [ '2.0.0' ],
106 silly audit   'mime-db': [ '1.52.0' ],
106 silly audit   'mime-types': [ '2.1.35' ],
106 silly audit   minimatch: [ '3.1.2' ],
106 silly audit   ms: [ '2.1.2' ],
106 silly audit   'neo-async': [ '2.6.2' ],
106 silly audit   'node-releases': [ '2.0.6' ],
106 silly audit   'normalize-path': [ '3.0.0' ],
106 silly audit   'nunjucks-intl': [ '1.0.3' ],
106 silly audit   once: [ '1.4.0' ],
106 silly audit   'p-limit': [ '2.3.0' ],
106 silly audit   'p-locate': [ '4.1.0', '3.0.0' ],
106 silly audit   'p-try': [ '2.2.0' ],
106 silly audit   'path-is-absolute': [ '1.0.1' ],
106 silly audit   'path-parse': [ '1.0.7' ],
106 silly audit   picocolors: [ '1.0.0' ],
106 silly audit   picomatch: [ '2.3.1' ],
106 silly audit   pify: [ '4.0.1' ],
106 silly audit   pirates: [ '4.0.5' ],
106 silly audit   'pkg-up': [ '3.1.0' ],
106 silly audit   prsc: [ '4.0.0' ],
106 silly audit   punycode: [ '2.1.1' ],
106 silly audit   randombytes: [ '2.1.0' ],
106 silly audit   readdirp: [ '3.6.0' ],
106 silly audit   regenerate: [ '1.4.2' ],
106 silly audit   'regenerate-unicode-properties': [ '10.1.0' ],
106 silly audit   'regenerator-runtime': [ '0.13.11' ],
106 silly audit   'regenerator-transform': [ '0.15.1' ],
106 silly audit   'regexpu-core': [ '5.2.2' ],
106 silly audit   regjsgen: [ '0.7.1' ],
106 silly audit   regjsparser: [ '0.9.1' ],
106 silly audit   'require-from-string': [ '2.0.2' ],
106 silly audit   reselect: [ '4.1.7' ],
106 silly audit   resolve: [ '1.22.1' ],
106 silly audit   'resolve-from': [ '5.0.0' ],
106 silly audit   'safe-buffer': [ '5.2.1' ],
106 silly audit   sax: [ '1.1.4' ],
106 silly audit   'schema-utils': [ '4.0.0', '3.1.1' ],
106 silly audit   'serialize-javascript': [ '6.0.0' ],
106 silly audit   'shallow-clone': [ '3.0.1' ],
106 silly audit   slash: [ '2.0.0' ],
106 silly audit   'source-map': [ '0.6.1' ],
106 silly audit   'source-map-support': [ '0.5.21' ],
106 silly audit   'sprintf-js': [ '1.0.3' ],
106 silly audit   'supports-preserve-symlinks-flag': [ '1.0.0' ],
106 silly audit   tapable: [ '2.2.1' ],
106 silly audit   terser: [ '5.15.1' ],
106 silly audit   'terser-webpack-plugin': [ '5.3.6' ],
106 silly audit   'test-exclude': [ '6.0.0' ],
106 silly audit   'to-fast-properties': [ '2.0.0' ],
106 silly audit   'to-regex-range': [ '5.0.1' ],
106 silly audit   tslib: [ '2.4.1' ],
106 silly audit   'unicode-canonical-property-names-ecmascript': [ '2.0.0' ],
106 silly audit   'unicode-match-property-ecmascript': [ '2.0.0' ],
106 silly audit   'unicode-match-property-value-ecmascript': [ '2.1.0' ],
106 silly audit   'unicode-property-aliases-ecmascript': [ '2.1.0' ],
106 silly audit   'update-browserslist-db': [ '1.0.10' ],
106 silly audit   'uri-js': [ '4.4.1' ],
106 silly audit   watchpack: [ '2.4.0' ],
106 silly audit   webpack: [ '5.75.0' ],
106 silly audit   'webpack-sources': [ '3.2.3' ],
106 silly audit   whynot: [ '5.0.0' ],
106 silly audit   wrappy: [ '1.0.2' ],
106 silly audit   xmldom: [ '0.1.31' ],
106 silly audit   xpath: [ '0.0.27' ],
106 silly audit   xspattern: [ '3.0.0' ],
106 silly audit   nunjucks: [ '3.2.3' ]
106 silly audit }
107 verbose reify failed optional dependency C:\Users\myuser\workspace\site-web\siteinnes2019\node_modules\fsevents
108 silly reify mark deleted [
108 silly reify   'C:\\Users\\myuser\\workspace\\site-web\\siteinnes2019\\node_modules\\fsevents'
108 silly reify ]
109 timing reifyNode:node_modules/fsevents Completed in 2ms
110 timing reifyNode:node_modules/nunjucks Completed in 5ms
111 timing reify:unpack Completed in 5ms
112 timing reify:unretire Completed in 0ms
113 timing build:queue Completed in 0ms
114 timing build:deps Completed in 0ms
115 timing build:queue Completed in 0ms
116 info run nunjucks@3.2.3 prepare ../../../AppData/Roaming/npm/node_modules/nunjucks npm run build
117 http fetch POST 200 https://registry.npmjs.org/-/npm/v1/security/advisories/bulk 202ms
118 timing auditReport:getReport Completed in 210ms
119 silly audit report {
119 silly audit report   xmldom: [
119 silly audit report     {
119 silly audit report       id: 1082377,
119 silly audit report       url: 'https://github.com/advisories/GHSA-h6q6-9hqw-rwfv',
119 silly audit report       title: 'Misinterpretation of malicious XML input',
119 silly audit report       severity: 'low',
119 silly audit report       vulnerable_versions: '<0.5.0',
119 silly audit report       cwe: [Array],
119 silly audit report       cvss: [Object]
119 silly audit report     },
119 silly audit report     {
119 silly audit report       id: 1067480,
119 silly audit report       url: 'https://github.com/advisories/GHSA-5fg8-2547-mr8q',
119 silly audit report       title: 'Misinterpretation of malicious XML input',
119 silly audit report       severity: 'moderate',
119 silly audit report       vulnerable_versions: '<0.7.0',
119 silly audit report       cwe: [Array],
119 silly audit report       cvss: [Object]
119 silly audit report     },
119 silly audit report     {
119 silly audit report       id: 1084901,
119 silly audit report       url: 'https://github.com/advisories/GHSA-crh6-fp67-6883',
119 silly audit report       title: 'xmldom allows multiple root nodes in a DOM',
119 silly audit report       severity: 'critical',
119 silly audit report       vulnerable_versions: '<=0.6.0',
119 silly audit report       cwe: [Array],
119 silly audit report       cvss: [Object]
119 silly audit report     }
119 silly audit report   ]
119 silly audit report }
120 timing metavuln:cache:get:security-advisory:xmldom:RcByQplMDvoVV0qNhgWHzd/g+vdOJRoIiT3JCqCzfDdY0tPEaebbRW+gKiBewTE8TSkjFHoqmUp6YHlX6l08jA== Completed in 5ms
121 timing metavuln:cache:get:security-advisory:xmldom:ujUrXa1B0oSIkeBAqBIIxletsXHqAWswoc/e+flOOPqm/KAnxBbYNhvVC4j1m+qOd9sahOsks6N03rEUdRqBeg== Completed in 4ms
122 timing metavuln:cache:get:security-advisory:xmldom:/MQv5neyFkpqCwEgiWI7HukCHE6jept1Ax0cof+0WPKRxMwNUnIFMmJn7uG47uAqtXEawZZo8/XeyU9ZU9mBRg== Completed in 5ms
123 http fetch GET 200 https://registry.npmjs.org/xmldom 54ms (cache revalidated)
124 timing metavuln:packument:xmldom Completed in 55ms
125 timing metavuln:load:security-advisory:xmldom:1082377 Completed in 1ms
126 timing metavuln:calculate:security-advisory:xmldom:1082377 Completed in 58ms
127 timing metavuln:load:security-advisory:xmldom:1067480 Completed in 0ms
128 timing metavuln:calculate:security-advisory:xmldom:1067480 Completed in 56ms
129 timing metavuln:load:security-advisory:xmldom:1084901 Completed in 1ms
130 timing metavuln:calculate:security-advisory:xmldom:1084901 Completed in 57ms
131 timing auditReport:init Completed in 66ms
132 timing reify:audit Completed in 276ms
133 info run nunjucks@3.2.3 prepare { code: 2, signal: null }
134 timing reify:rollback:createSparse Completed in 2ms
135 timing reify:rollback:retireShallow Completed in 14ms
136 timing command:link Completed in 5914ms
137 verbose stack Error: command failed
137 verbose stack     at ChildProcess.<anonymous> (C:\Users\myuser\AppData\Roaming\npm\node_modules\npm\node_modules\@npmcli\promise-spawn\lib\index.js:53:27)
137 verbose stack     at ChildProcess.emit (node:events:513:28)
137 verbose stack     at maybeClose (node:internal/child_process:1100:16)
137 verbose stack     at Process.ChildProcess._handle.onexit (node:internal/child_process:304:5)
138 verbose pkgid nunjucks@3.2.3
139 verbose cwd C:\Users\myuser\workspace\site-web\siteinnes2019
140 verbose Windows_NT 10.0.19044
141 verbose node v16.18.1
142 verbose npm  v9.1.2
143 error code 2
144 error path C:\Users\myuser\AppData\Roaming\npm\node_modules\nunjucks
145 error command failed
146 error command C:\Windows\system32\cmd.exe /d /s /c npm run build
147 error > nunjucks@3.2.3 build
147 error > npm run build:transpile && npm run build:bundle
147 error
147 error
147 error > nunjucks@3.2.3 build:transpile
147 error > babel nunjucks --out-dir .
148 error babel:
148 error   nunjucks does not exist
149 verbose exit 2
150 timing npm Completed in 5992ms
151 verbose unfinished npm timer reify 1669223227992
152 verbose unfinished npm timer reify:build 1669223228774
153 verbose unfinished npm timer build 1669223228775
154 verbose unfinished npm timer build:links 1669223228775
155 verbose unfinished npm timer build:run:prepare 1669223228775
156 verbose unfinished npm timer build:run:prepare:../../../AppData/Roaming/npm/node_modules/nunjucks 1669223228776
157 verbose code 2
158 error A complete log of this run can be found in:
158 error     C:\Users\myuser\AppData\Local\npm-cache\_logs\2022-11-23T17_07_07_089Z-debug-0.log

Can anyone tell me how to fix this problem, please ? I would really appreciate some help.

Regards,

Xavier

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

No branches or pull requests

1 participant