using axios-curlirize on node app
See original GitHub issueHi, I tried to use this in node app but it gives me an error
node_modules/axios-curlirize/src/curlirize.js:1
import { CurlHelper } from './lib/CurlHelper';
^
SyntaxError: Unexpected token {
at Module._compile (internal/modules/cjs/loader.js:811:22)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:879:10)
at Module.load (internal/modules/cjs/loader.js:731:32)
at Function.Module._load (internal/modules/cjs/loader.js:644:12)
at Module.require (internal/modules/cjs/loader.js:771:19)
at require (internal/modules/cjs/helpers.js:68:18)
Not sure what’s going on. Is is suppose to work only in js engine that supports es modules?
Issue Analytics
- State:
- Created 4 years ago
- Comments:8 (3 by maintainers)
Top Results From Across the Web
using axios-curlirize on node app · Issue #20 - GitHub
Hi, I tried to use this in node app but it gives me an error node_modules/axios-curlirize/src/curlirize.js:1 import { CurlHelper } from '.
Read more >axios-curlirize - npm
This module is an axios third-party module to log any axios request as a curl command in the console. It was originally posted...
Read more >Top 5 axios-curlirize Code Examples - Snyk
To help you get started, we've selected a few axios-curlirize examples, based on popular ways it is used in public projects. Secure your...
Read more >axios-curlirize examples - CodeSandbox
Learn how to use axios-curlirize by viewing and forking example apps that make use of axios-curlirize on CodeSandbox. iptv-checkerNode.js CLI tool for ...
Read more >Axios-to-curl NPM - npm.io
#Post Note: Axios third-party module to print all axios requests as curl commands in the console. This repository is forked from axios-curlirize https://www....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Experiencing same issue in 1.4.0
I checked and still doesn’t work. After installing this package with yarn(and also I checked with npm) inside node_modules/axios-curlirize there is no dist directory. I checked this on completely fresh project. There is no node_modules directory inside node_modules/axios-curlirize - so there is no babel. Postinstall script because of this doesn’t do anything - at least this is how I understand it.