-
-
Notifications
You must be signed in to change notification settings - Fork 194
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This dependency was not found: #170
Comments
I cannot reproduce this issue on my PC(MacOS). Can you submit the reproducible repo? |
Today I tried to install this project on Ubuntu. This problem does not appear. So this should be a bug related to the Windows platform. Since I don't know nodejs, I can't analyze the cause of the error further. If I find the reason for the error (I am learning nodejs), I will come back to discuss it with you. |
Thank you for your investigation. I think this point is not good. https://github.com/hiroppy/fusuma/blob/master/packages/webpack/src/webpack.config.js#L19-L22 Could you confirm to modify from const configsBasePath = configsEntryPoint
- .split('/src')
+ .split('\src')
.slice(0, -1)
- .join('/src');
+ .split('\src');
const clientEntryPoint = require.resolve('@fusuma/client');
const clientBasePath = clientEntryPoint
- .split('/src')
+ .split('\src')
.slice(0, -1)
- .join('/src');
+ .split('\src');
const mdxLoaderEntryPoint = require.resolve('@fusuma/mdx-loader');
const mdxLoaderBasePath = mdxLoaderEntryPoint
- .split('/src')
+ .split('\src')
.slice(0, -1)
- .join('/src');
+ .split('\src'); |
After the above modification, this error did not appear. Now this project can run normally. Thanks for your help! |
ok, thank you for investigating. I'll change to it. |
Info
Type
For Bugs
I downloaded this project using npm yesterday. And I tried to start the sample code with npx, but got the following error message.
This seems to be missing some dependencies, but I have never used nodejs before, so I can't determine the specific reason. And in the installation process, there are still the following warnings
Because I don't know nodejs, I'm not sure if the above warning is the reason why the project can't run. Below is the full output during installation and operation
The text was updated successfully, but these errors were encountered: