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

npm install fails #7

Open
bvchess opened this issue Feb 8, 2020 · 4 comments
Open

npm install fails #7

bvchess opened this issue Feb 8, 2020 · 4 comments
Labels

Comments

@bvchess
Copy link

bvchess commented Feb 8, 2020

Creating a new project followed by installing matter-tools ends in an error on my Mac. Superficially the problem appears to be related to using a deprecated version of Babel.

% mkdir matter_bug
% cd matter_bug
% npm init -f
% npm install matter-tools
npm WARN deprecated babel-preset-es2015@6.24.1: 🙌 Thanks for using Babel: we recommend using babel-preset-env now: please read https://babeljs.io/env to update!
npm WARN deprecated core-js@2.6.11: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.

node-sass@3.13.1 install /Users/brian/dev/matter_bug/node_modules/node-sass
node scripts/install.js

...

@bvchess
Copy link
Author

bvchess commented Feb 8, 2020

Poking around some more, it looks like the issue is the dependency on dat.gui@0.6 which leads to a dependency on sassify@2. In the changes that went into dat.gui@0.7, I found this commit that describes the problem I'm seeing:
dataarts/dat.gui@adba9f5#diff-b9cfc7f2cdf78a7f4b91a753d10865a2

In short, dat.gui@0.7 moved over to use sassify@4.

@bvchess
Copy link
Author

bvchess commented Feb 8, 2020

If I change the dependency in package.json to this:
"dat.gui": "^0.7.6"
Then the npm install succeeds. I don't know how to test to see if this change breaks anything.

@liabru liabru added the bug label Mar 6, 2020
@tombrewsviews
Copy link

hey @bvchess can i use your help? looks like you've manage to set the tools up. im a designer so not sure how to go about starting the .GUI

my installation also failed but i guess i would have to clone to local, make the recommended changed by you above in the package and run the installation command from local? not sure

thank you in advance

@bvchess
Copy link
Author

bvchess commented May 10, 2020 via email

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

No branches or pull requests

3 participants