We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
As per the title, export works just fine as far as I can tell, import however reports that it has been successful, but nothing really happens.
package.json:
"type": "module", "name": "tmp", "description": "This project was bootstrapped with Fastify-CLI.", "version": "1.0.0", "main": "app.js", "directories": { "test": "test" }, "scripts": { "test": "tap \"test/**/*.test.js\"", "start": "fastify start -l info app.js", "dev": "fastify start -w -l info -P app.js", "lint": "standard", "lint:fix": "standard --fix" }, "eslintConfig": { "extends": "fastify" }, "keywords": [], "author": "", "license": "ISC", "dependencies": { "@adminjs/fastify": "^4.0.1", "@adminjs/import-export": "^3.0.0", "@adminjs/mongoose": "^4.0.0", "@aws-sdk/client-s3": "^3.373.0", "@fastify/auth": "^4.3.0", "@fastify/autoload": "^5.0.0", "@fastify/bearer-auth": "^9.0.0", "@fastify/cors": "^8.3.0", "@fastify/mongodb": "^7.0.0", "@fastify/sensible": "^5.0.0", "adminjs": "^7.0.9", "bcryptjs": "^2.4.3", "crypto-random-string": "^5.0.0", "fastify": "^4.18.0", "fastify-cli": "^5.7.1", "fastify-plugin": "^4.5.0", "mongoose": "^7.3.1" }, "devDependencies": { "@istanbuljs/esm-loader-hook": "0.2.0", "husky": "^8.0.3", "standard": "^17.1.0", "tap": "^16.1.0" }, "tap": { "node-arg": [ "--no-warnings", "--experimental-loader", "@istanbuljs/esm-loader-hook" ] }, "husky": { "hooks": { "pre-commit": "npm run lint:fix" } } }
The text was updated successfully, but these errors were encountered:
+1
Looking into the networks tab, it appears that the import call returns an error saying that no file was uploaded.
import
{ "record": { "params": {}, "populated": {}, "baseError": null, "errors": { "file": { "message": "No file uploaded" } } }, "records": [], "notice": { "message": "thereWereValidationErrors", "type": "error" } }
However in the payload I can see that the file was sent in it -
Any help here is appreciated!
Sorry, something went wrong.
Any news on this? @JonaszJestem @dziraf @AdamFrydrychRST
The silence really is quite disappointing...
No branches or pull requests
As per the title, export works just fine as far as I can tell, import however reports that it has been successful, but nothing really happens.
package.json:
The text was updated successfully, but these errors were encountered: