Skip to content
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

安装使用FusionDesignPro 报错 #5155

Closed
sgfily opened this issue Jan 18, 2022 · 1 comment
Closed

安装使用FusionDesignPro 报错 #5155

sgfily opened this issue Jan 18, 2022 · 1 comment

Comments

@sgfily
Copy link

sgfily commented Jan 18, 2022

node_modules/venn.js/src/layout.js:2:20: error: Could not resolve "../node_modules/fmin/index.js"
2 │ scale} from '../node_modules/fmin/index.js';
╵ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

node_modules/venn.js/src/diagram.js:6:25: error: Could not resolve "../node_modules/fmin/index.js"
6 │ import {nelderMead} from "../node_modules/fmin/index.js";
╵ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

CONFIG Failed to load vite config.
ERR! Build failed with 2 errors:
node_modules/venn.js/src/diagram.js:6:25: error: Could not resolve "../node_modules/fmin/index.js"
node_modules/venn.js/src/layout.js:2:20: error: Could not resolve "../node_modules/fmin/index.js"
detail: undefined,
location: [Object],
notes: [],
pluginName: '',
text: 'Could not resolve "../node_modules/fmin/index.js"'
}
],
warnings: []
}
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start: icejs start
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\sgf\AppData\Roaming\npm-cache_logs\2022-01-18T06_23_38_433Z-debug.log

@ClarkXia
Copy link
Collaborator

参考 alibaba-fusion/materials#134

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants