You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wanted to try to use the new strapi plugin command to create a new plugin. I know it is experimental, but I think you want the feedback anyway. It is not possible to use axios on the server side, when axios is called, the process just crashes. This seems to be a problem with the bundler.
Steps to reproduce the behavior
Create a new plugin strapi plugin:init
(Do not install axios as it may conflict with helper-plugin)
Create a route and controller that uses axios to make a request
Send a request to the route using axios.
See that the server crashed
Expected behavior
I expected it would be possible to use axios on the server.
Additional context
This discussion tells that it might be something with the bundler
The text was updated successfully, but these errors were encountered:
Bug report
Required System information
Describe the bug
I wanted to try to use the new
strapi plugin
command to create a new plugin. I know it is experimental, but I think you want the feedback anyway. It is not possible to use axios on the server side, when axios is called, the process just crashes. This seems to be a problem with the bundler.Steps to reproduce the behavior
strapi plugin:init
Expected behavior
I expected it would be possible to use axios on the server.
Additional context
This discussion tells that it might be something with the bundler
The text was updated successfully, but these errors were encountered: