You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by GitBox <gi...@apache.org> on 2021/03/29 03:10:58 UTC

[GitHub] [skywalking] githubphy opened a new issue #6637: This dependency was not found: async_ Hooks

githubphy opened a new issue #6637:
URL: https://github.com/apache/skywalking/issues/6637


   Please answer these questions before submitting your issue.
   
   - Why do you submit this issue?
   - [ ] Question or discussion
   - [ ] Bug
   - [ ] Requirement
   - [ ] Feature or performance improvement
   
   ___
   ### Question
   - What do you want to know?
   
   ___
   ### Bug
   - Which version of SkyWalking, OS, and JRE?
   
   - Which company or project?
   
   - What happened?
   If possible, provide a way to reproduce the error. e.g. demo application, component version.
   This dependency was not found: async_ Hooks, but npm install -- save async_hooks is already installed
   ___
   ### Requirement or improvement
   - Please describe your requirements or improvement suggestions.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [skywalking] kezhenxu94 commented on issue #6637: [NODEJS] This dependency was not found: async_hooks

Posted by GitBox <gi...@apache.org>.
kezhenxu94 commented on issue #6637:
URL: https://github.com/apache/skywalking/issues/6637#issuecomment-809053825


   @githubphy make sure you use Node version >=10


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [skywalking] githubphy commented on issue #6637: [NODEJS] This dependency was not found: async_hooks

Posted by GitBox <gi...@apache.org>.
githubphy commented on issue #6637:
URL: https://github.com/apache/skywalking/issues/6637#issuecomment-809075771


   > Also, provide more details when asking questions
   
   One of my applications uses skywalking-backend-js. An error occurs when compiling this application. The error message is as shown in the figure. I use Node version is v15.5.0
   ![image](https://user-images.githubusercontent.com/9158859/112790457-f3361e80-9091-11eb-886a-579fa80520fa.png)
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [skywalking] kezhenxu94 commented on issue #6637: [NODEJS] This dependency was not found: async_hooks

Posted by GitBox <gi...@apache.org>.
kezhenxu94 commented on issue #6637:
URL: https://github.com/apache/skywalking/issues/6637#issuecomment-809080092


   The async_hooks module has been part of core since Node.js version 8. Could it be that your environment somehow loads an old version of Node.js even though you have a newer version installed?
   
   If you in your code try to run console.log('Running Node.js version:', process.version), does it still output version 10?
   
   Are you trying to use it with webpack? That looks like the error you get when trying to bundle Node.js code that uses non-browser-compatible code without explicitly telling webpack to allow it. See: https://webpack.js.org/configuration/node#other-node-core-libraries


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [skywalking] kezhenxu94 closed issue #6637: [NODEJS] This dependency was not found: async_hooks

Posted by GitBox <gi...@apache.org>.
kezhenxu94 closed issue #6637:
URL: https://github.com/apache/skywalking/issues/6637


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [skywalking] kezhenxu94 commented on issue #6637: [NODEJS] This dependency was not found: async_hooks

Posted by GitBox <gi...@apache.org>.
kezhenxu94 commented on issue #6637:
URL: https://github.com/apache/skywalking/issues/6637#issuecomment-809053912


   Also, provide more details when asking questions


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org