question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ERROR in ./node_modules/@magenta/music/es6/index.js Module not found: Error: Can't resolve 'tf'

See original GitHub issue

I am using magenta-js for my Angular(ver. 8) project. I am pretty sure that I’ve installed dependencies required. I got this error. “ERROR in node_modules/@magenta/music/es5/coconet/model.d.ts:21:77 - error TS2307: Cannot find module ‘…/protobuf/proto’.”

When I inspect the node_modules, @magenta/music has es5 and es6 folders. I changed some in package.json from es5 to es6 "main": "es6/index.js", "module": "es6/index.js", "types": "es6/index.d.ts",

I’ve still got another Error… I haven’t seen this Error in the previous version. ERROR in ./node_modules/@magenta/music/es6/index.js Module not found: Error: Can't resolve 'tf'

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:10

github_iconTop GitHub Comments

1reaction
notwaldorfcommented, Oct 1, 2019

I released 1.11.3 which should have a fix for this. I also made an example repo to test it: https://github.com/notwaldorf/example-magenta-in-ts

0reactions
notwaldorfcommented, Oct 1, 2019

I think this should be fixed by https://github.com/tensorflow/magenta-js/pull/365

Read more comments on GitHub >

github_iconTop Results From Across the Web

Issues - GitHub
ERROR in ./node_modules/@magenta/music/es6/index.js Module not found: Error: Can't resolve 'tf' #356.
Read more >
5 - Stack Overflow
node_modules /react' in '/Users/<user-name>/Documents/gift-test/client' ERROR in ./client/index.js Module not found: Error: Can't resolve '.
Read more >
How to fix 'Module not found: Can't resolve 'http' in ... - YouTube
Your browser can't play this video. ... How to fix ' Module not found : Can't resolve 'http' in ...' error with FCL...
Read more >
module not found error | can not resolve react dom module
Join this channel to get access to perks:https://www.youtube.com/channel/UCoSpmr2KNOxjwE_B9ynUmig/joinMy GearCamera ...
Read more >
ModuleNotFoundError No module named keras - Edureka
Hi Guys,. I installed keras module in my system. But when I tried to import this module I got this below error. $...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found