In Node 13 when I run lerna bootstrap I get this error:
lerna success Bootstrapped 10 packages
/Users/anatoliyzaslavskiy/.nvm/versions/node/v13.2.0/bin/node[97953]: ../src/signal_wrap.cc:159:void node::DecreaseSignalHandlerCount(int): Assertion `(new_handler_count) >= (0)' failed.
1: 0x100081675 node::Abort() [/Users/anatoliyzaslavskiy/.nvm/versions/node/v13.2.0/bin/node]
2: 0x10008141d node::AppendExceptionLine(node::Environment*, v8::Local<v8::Value>, v8::Local<v8::Message>, node::ErrorHandlingMode) [/Users/anatoliyzaslavskiy/.nvm/versions/node/v13.2.0/bin/node]
3: 0x1000f5f0d node::DecreaseSignalHandlerCount(int) [/Users/anatoliyzaslavskiy/.nvm/versions/node/v13.2.0/bin/node]
4: 0x1000f6685 node::(anonymous namespace)::SignalWrap::Close(v8::Local<v8::Value>) [/Users/anatoliyzaslavskiy/.nvm/versions/node/v13.2.0/bin/node]
5: 0x10003a81e node::Environment::CleanupHandles() [/Users/anatoliyzaslavskiy/.nvm/versions/node/v13.2.0/bin/node]
6: 0x10003a9d6 node::Environment::RunCleanup() [/Users/anatoliyzaslavskiy/.nvm/versions/node/v13.2.0/bin/node]
7: 0x1000b3dd0 node::NodeMainInstance::Run() [/Users/anatoliyzaslavskiy/.nvm/versions/node/v13.2.0/bin/node]
8: 0x10005da91 node::Start(int, char**) [/Users/anatoliyzaslavskiy/.nvm/versions/node/v13.2.0/bin/node]
9: 0x7fff6fcb22e5 start [/usr/lib/system/libdyld.dylib]
error Command failed with signal "SIGABRT".
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
But when I switch to version 12.13.1 runs without an error
As mentioned on this GH issue: https://github.com/lerna/lerna/issues/2373, updating from node 13.2.x to node 13.3.x solves this lerna bootstrap problem.
Related
I'm learning Near with 'Guide to Cross-contract Calls'.
(https://docs.near.org/docs/tutorials/contracts/cross-contract-calls)
In step 1, I got an error in a new command prompt when I typed yarn jest.
How can I figure it out?
I am setting up opensearch dashboard in my windows PC and following below guide -
https://github.com/opensearch-project/OpenSearch-Dashboards/blob/main/DEVELOPER_GUIDE.md
While bootstrapping, I am getting below error -
PS D:\opensearch\OpenSearch-Dashboards> yarn osd bootstrap
yarn run v1.22.18
$ node scripts/osd bootstrap
info [opensearch-dashboards] running yarn
$ node ./preinstall_check
[1/5] Validating package.json...
[2/5] Resolving packages...
warning Resolution field "typescript#4.0.2" is incompatible with requested version "typescript#~4.5.2"
success Already up-to-date.
succ yarn.lock analysis completed without any issues
succ 10 bootstrap builds are cached
info [#osd/i18n] running [osd:bootstrap] script
info [#osd/monaco] running [osd:bootstrap] script
info [#osd/opensearch-archiver] running [osd:bootstrap] script
info [#osd/opensearch] running [osd:bootstrap] script
ERROR [bootstrap] failed:
ERROR Error: Command failed with exit code 1: C:\Users\st\AppData\Roaming\nvm\v14.18.2\node_modules\yarn\bin\yarn.js run osd:bootstrap
'rm' is not recognized as an internal or external command,
operable program or batch file.
error Command failed with exit code 1.
$ rm -rf target && tsc
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
at makeError (D:\opensearch\OpenSearch-Dashboards\packages\osd-pm\dist\index.js:25150:11)
at handlePromise (D:\opensearch\OpenSearch-Dashboards\packages\osd-pm\dist\index.js:24085:26)
at processTicksAndRejections (internal/process/task_queues.js:95:5)
at async D:\opensearch\OpenSearch-Dashboards\packages\osd-pm\dist\index.js:9051:9
at async scheduleItem (D:\opensearch\OpenSearch-Dashboards\packages\osd-pm\dist\index.js:10938:9)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
what I see here is, rm command is not recognized in windows and which is correct.
So how to fix this ?
Yarn Install successful:
C:\Users\Yael\Downloads\metamask-extension-8.0.9\metamask-extension-8.0.9>yarn
yarn install v1.22.10
[1/5] Validating package.json...
[2/5] Resolving packages...
success Already up-to-date.
Done in 2.77s.
Yarn dist error:
C:\Users\Yael\Downloads\metamask-extension-8.0.9\metamask-extension-8.0.9>yarn dist
yarn run v1.22.10
$ yarn build prod
$ node development/build/index.js prod
running task "prod"...
Starting 'prod'...
Starting 'clean'...
(node:12548) ExperimentalWarning: The fs.promises API is experimental
Finished 'clean'
Starting 'styles:prod'...
Finished 'styles:prod'
Starting 'scripts:deps:background'...
Starting 'scripts:deps:ui'...
Starting 'scripts:core:prod:background'...
Starting 'scripts:core:prod:ui'...
Starting 'scripts:core:prod:phishing-detect'...
Starting 'scripts:core:prod:contentscript'...
Starting 'static:prod'...
Starting 'manifest:prod'...
events.js:174
throw er; // Unhandled 'error' event
^
Error: spawn yarn ENOENT
at Process.ChildProcess._handle.onexit (internal/child_process.js:240:19)
at onErrorNT (internal/child_process.js:415:16)
at process._tickCallback (internal/process/next_tick.js:63:19)
Emitted 'error' event at:
at Process.ChildProcess._handle.onexit (internal/child_process.js:246:12)
at onErrorNT (internal/child_process.js:415:16)
at process._tickCallback (internal/process/next_tick.js:63:19)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
C:\Users\Yael\Downloads\metamask-extension-8.0.9\metamask-extension-8.0.9>
I have instance of elasticsearch v7.0.0 running and when kibana v7.0.0 is started, the server logs show "Server running at http://localhost:5601" but the UI fails to load with error "Kibana did not load properly. Check the server output for more information" .
Please help provide pointers on above issue. Thanks.
kibana server log:
log [12:00:39.240] [info][status][plugin:maps#7.0.0] Status changed from yellow to green - Ready
log [12:00:39.487] [info][license][xpack] Imported license information from Elasticsearch for the [monitoring] cluster: mode: basic | status: active
log [12:00:41.441] [warning][reporting] Generating a random key for xpack.reporting.encryptionKey. To prevent pending reports from failing on restart, please set xpack.reporting.encryptionKey in kibana.yml
log [12:00:41.594] [info][status][plugin:reporting#7.0.0] Status changed from uninitialized to green - Ready
log [12:00:41.634] [warning][reporting] The Reporting plugin encountered issues launching Chromium in a self-test. You may have trouble generating reports: Error: Failed to launch chrome!
/home/test/kibana-7.0.0-linux-x86_64/data/headless_shell-linux/headless_shell: 1: /home/test/kibana-7.0.0-linux-x86_64/data/headless_shell-linux/headless_shell: cannot create qWqtq?q?q?q?qrr8rUrkryr?r?r?r?r?r?r?rs!s3sBsfs~s?s?s?s?sttAt?t?t?t?t?t?t?t?t?t?t?tuu:uKuYuqu~u?u?u?u?u?u?u?uv"v5vKvbvkvpvtvxv?v?vNw?????.???????)?B?S?c?w???????????????
??1?<?I?U?j?s?}?????¦¦%?/?;?L?o?w?~?????????????????????????????A??????????
??3? ???"???5?<?F?P?q????ggm
vm
5?
??
??
??C?\v?!?[? D?!!P)T!!??!!??41!!???b!!?R?!!0??!!???.x!!?>??!#?: File name too long
/home/test/kibana-7.0.0-linux-x86_64/data/headless_shell-linux/headless_shell: 1: /home/test/kibana-7.0.0-linux-x86_64/data/headless_shell-linux/headless_shell: l?l?l?l?l?l?l?p?pqqqqq: not found
/home/test/kibana-7.0.0-linux-x86_64/data/headless_shell-linux/headless_shell: 1: /home/test/kibana-7.0.0-linux-x86_64/data/headless_shell-linux/headless_shell: : not found
/home/test/kibana-7.0.0-linux-x86_64/data/headless_shell-linux/headless_shell: 7: /home/test/kibana-7.0.0-linux-x86_64/data/headless_shell-linux/headless_shell: !!???: not found
/home/test/kibana-7.0.0-linux-x86_64/data/headless_shell-linux/headless_shell: 8: /home/test/kibana-7.0.0-linux-x86_64/data/headless_shell-linux/headless_shell: !!????: not found
/home/test/kibana-7.0.0-linux-x86_64/data/headless_shell-linux/headless_shell: 1: /home/test/kibana-7.0.0-linux-x86_64/data/headless_shell-linux/headless_shell:ELF: not found
/home/test/kibana-7.0.0-linux-x86_64/data/headless_shell-linux/headless_shell: 9: /home/test/kibana-7.0.0-linux-x86_64/data/headless_shell-linux/headless_shell:!!??*!!???Q!!?????!HY?: not found
/home/test/kibana-7.0.0-linux-x86_64/data/headless_shell-linux/headless_shell: 9: /home/test/kibana-7.0.0-linux-x86_64/data/headless_shell-linux/headless_shell: !!????!!X??!!p?N!!81??: not found
/home/test/kibana-7.0.0-linux-x86_64/data/headless_shell-linux/headless_shell: 10: /home/test/kibana-7.0.0-linux-x86_64/data/headless_shell-linux/headless_shell: ?: not found
/home/test/kibana-7.0.0-linux-x86_64/data/headless_shell-linux/headless_shell: 11: /home/test/kibana-7.0.0-linux-x86_64/data/headless_shell-linux/headless_shell: !!8??l!: not found
/home/test/kibana-7.0.0-linux-x86_64/data/headless_shell-linux/headless_shell: 1: /home/test/kibana-7.0.0-linux-x86_64/data/headless_shell-linux/headless_shell: Syntax error: Unterminated quoted string
Here is a discussion forum for this issue.
I was facing the same issue, what I did was added libnss3 package on my ubuntu machine.
sudo apt-get install libnss3-dev
This helped me to get rid of the error.
i'm using SonarQube Developer edition 7.3 with SonarScanner 3.2. During parsing my T-SQL code i've some errors like
WARN: Unable to parse file 'xxxxx.sql' : Parse error at line 7 column 4:
1:
2:
3:
4:
5:
6: CREATE TRIGGER [xxxx]
7: ON DATABASE
^
WARN: Unable to parse file 'xxxx.sql' : Parse error at line 34 column 16:
34: WITH NOWAIT, SETERROR;
Thanks
Giuseppe
I have got same problem too me. I don't understand anything from log messages.