-
Notifications
You must be signed in to change notification settings - Fork 961
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
Fails to run project locally - dependency error #4
Comments
I had this too, and not exactly sure what I did to fix it, but started with removing the third_party/paper reference from the package.json and then "npm update" again. Did this, along with the --no-source-maps arg to parsel, and got it running |
What do you mean by that? |
There's an issue in the parcel library (#2). Here's the change to my package.json, after which I can run 'yarn watch' or 'yarn build' and serve up from a webserver from the dist directory. "scripts": { |
That works. Thank you. |
These steps worked for me:
|
@pablo-mayrgundter could you please send a pull request with your advice for the README.md file? Thanks. |
Yeap, this has solved my issue as well. Thank you very much! |
"scripts": {
|
Installing dependencies, node_modules with "yarn"
Then command "yarn watch" throws the error below:
-------- Error Output:
/home/uad/dev/pose-animator/static_image.js:21:23: Cannot resolve dependency 'paper'
Server running at http://localhost:1234
🚨 /home/uad/dev/pose-animator/static_image.js:21:23: Cannot resolve dependency 'paper'
19 | import * as facemesh_module from '@tensorflow-models/facemesh';
20 | import * as tf from '@tensorflow/tfjs';
-> 21 | import * as paper from 'paper';
| ^
22 | import "babel-polyfill";
23 |
24 | import dat from 'dat.gui';
The text was updated successfully, but these errors were encountered: