Comments (5)
Same issue.
- contentful-cli 3.1.44
- node: 18.19.1
- npm: 10.2.4
The import is invalid in file lib/utils/github.js
at line 7.
contentful-cli/lib/utils/github.js
Line 7 in 1d47124
Must be : const { mkdirp } = require('mkdirp')
instead of const mkdirp = require('mkdirp')
from contentful-cli.
Hello, issue was resolved in #2640
Thanks @BnitoBzh for bringing the solution in your comment.
from contentful-cli.
^ +1 thanks all for reporting this, thanks @BnitoBzh for your keen eye and thank you again for contributing the fix @0xAnthony! I'll go ahead and close this issue now.
from contentful-cli.
Is there a fix for this yet?
from contentful-cli.
I've just run into this as well.
TypeError: mkdirp is not a function
││ at C:\Users\gwest\AppData\Roaming\nvm\v18.16.0\node_modules\contentful-cli\dist\lib\utils\github.js:42:23
││ at Generator.next (<anonymous>)
││ at C:\Users\gwest\AppData\Roaming\nvm\v18.16.0\node_modules\contentful-cli\dist\lib\utils\github.js:8:71
││ at new Promise (<anonymous>)
││ at __awaiter (C:\Users\gwest\AppData\Roaming\nvm\v18.16.0\node_modules\contentful-cli\dist\lib\utils\github.js:4:12)
││ at Task.task (C:\Users\gwest\AppData\Roaming\nvm\v18.16.0\node_modules\contentful-cli\dist\lib\utils\github.js:41:28)
││ at C:\Users\gwest\AppData\Roaming\nvm\v18.16.0\node_modules\contentful-cli\node_modules\listr\lib\task.js:167:30
││ at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
Environment
- contentful-cli: 3.1.43
- Node.js: v18.16.0 (via NVM)
- NPM: 9.5.1 (via NVM)
- OS: Windows 10
from contentful-cli.
Related Issues (20)
- `merge show` and `merge export` commands result in `PollTimeout` error HOT 3
- Exit code 0 after failure with `--await-processing`
- Exits with status code 0 when failing in `--await-processing`
- Space export of published content HOT 1
- Embargoed PDF (4MB) asset cannot be imported to new contentful environment HOT 2
- Make it possible to skip more information when exporting a space
- `contentful space import` is stuck HOT 5
- Importing a locale with fallbackCode: null -> fallback gets set to the default locale
- Generated migration files swap field controls based on alpha order and field definition order HOT 3
- Plain text/JSON output for commands
- Please do less automatic releases
- Cloning an environment should also clone Workflows App configuration
- patch-package: not found HOT 2
- Error: Cannot find module esprima HOT 8
- Format variables in merge export --output-file
- `CRITICAL` Security Vulnerability
- Configured host is ignored for migration HOT 1
- Generated migration scripts does not contain the necessary parameters for `Contentful:GraphQLFieldResolver` annotation id
- renaming an environment
- Skipping existing assets and content
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from contentful-cli.