Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escape special characters +-&|!(){}[]^"~*?:\ - e.g. \+ \* \!
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
Answered
Unable to create bot

Unable to create bot by running npm install -g yo generator-symphony

Getting below output
ubuntu@ip-172-31-23-179:~$ sudo npm install -g yo generator-symphony
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE package: 'mem-fs-editor@10.0.2',
npm WARN EBADENGINE required: { node: '>=16.13.0' },
npm WARN EBADENGINE current: { node: 'v12.22.9', npm: '8.5.1' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE package: 'isbinaryfile@5.0.0',
npm WARN EBADENGINE required: { node: '>= 14.0.0' },
npm WARN EBADENGINE current: { node: 'v12.22.9', npm: '8.5.1' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE package: 'mem-fs@3.0.0',
npm WARN EBADENGINE required: { node: '>=16.13.0' },
npm WARN EBADENGINE current: { node: 'v12.22.9', npm: '8.5.1' }
npm WARN EBADENGINE }

npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE package: 'unique-slug@4.0.0',
npm WARN EBADENGINE required: { node: '^14.17.0 || ^16.13.0 || >=18.0.0' },
npm WARN EBADENGINE current: { node: 'v12.22.9', npm: '8.5.1' }
npm WARN EBADENGINE }
npm WARN deprecated @npmcli/move-file@1.1.2: This functionality has been moved to @npmcli/fs
npm WARN deprecated readdir-scoped-modules@1.1.0: This functionality has been moved to @npmcli/fs
npm WARN deprecated @npmcli/move-file@1.1.2: This functionality has been moved to @npmcli/fs
npm WARN deprecated readdir-scoped-modules@1.1.0: This functionality has been moved to @npmcli/fs
npm WARN deprecated @npmcli/move-file@2.0.1: This functionality has been moved to @npmcli/fs
npm WARN deprecated @npmcli/move-file@2.0.1: This functionality has been moved to @npmcli/fs

changed 1324 packages, and audited 1325 packages in 39s

108 packages are looking for funding
run npm fund for details

15 vulnerabilities (5 moderate, 10 high)

To address all issues (including breaking changes), run:
npm audit fix --force

Run npm audit for details.
ubuntu@ip-172-31-23-179:~$ npm audit fix --force
npm WARN using --force Recommended protections disabled.

up to date, audited 1 package in 441ms

  
  
Posted 10 months ago
Votes Newest

Answers


The package generator-symphony is deprecated. You should instead be running: npm i -g yo @finos/generator-symphony and the launch command should be yo @finos/symphony.

You should also try not to run npm with sudo. Setup a user-specific globals package location where possible.

  
  
Posted 10 months ago
Yong Sheng Tan
39 × 2 Administrator
3K Views
1 Answer
10 months ago
10 months ago