saadeghi / daisy-blog

MIT License
60 stars 18 forks source link

astroRemark import problem #1

Open amiroff opened 2 years ago

amiroff commented 2 years ago

Hey there! Thanks fro putting this out. But I am having problem launchin with the following error:

yarn dev
yarn run v1.22.19
warning package.json: No license field
$ astro dev
file:///astro.config.mjs:1
import astroRemark from '@astrojs/markdown-remark';
       ^^^^^^^^^^^
SyntaxError: The requested module '@astrojs/markdown-remark' does not provide an export named 'default'
    at ModuleJob._instantiate (node:internal/modules/esm/module_job:128:21)
    at async ModuleJob.run (node:internal/modules/esm/module_job:194:5)
    at async Promise.all (index 0)
    at async ESMLoader.import (node:internal/modules/esm/loader:385:24)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
mukhtharcm commented 2 years ago

did you got any solution? I'm in the same condition now!

amiroff commented 2 years ago

Yeah, I eventially re-implemented from scratch with Astro.