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.

Cannot find module '!ify-loader!linebreak'

See original GitHub issue

Expected Behavior

Hey guys I would love to test your render package in my application but I’m struggling a little bit getting the depencies together.

Actual Behavior

I wrote a compontent using your package like in the coding-example just translated to es6: import { canvas as renderer } from "scratch-render"; ....

Steps to Reproduce

When i try to reach the site where i use the scratch-render i get: Uncaught Error: Cannot find module '!ify-loader!linebreak'

System Details

What i did so far is to install dependencies you are using like:

"hull.js": "^0.2.10", "ify-loader": "^1.1.0", and all the others

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:12

github_iconTop GitHub Comments

1reaction
apple502jcommented, Jan 25, 2022

@juliandierker Renderer does not function on its own. You need to attach something that instructs a renderer, like a Scratch virtual machine. Scratch GUI is a react component and can be used in React programs. Scratch itself can be used in a proper learning environment - just not the one teachers usually want, i.e. telling a student to create the same script as a teacher and scoring based on the accuracy.

1reaction
apple502jcommented, Jan 20, 2022

@juliandierker That part of README is wrong. Renderer does not support workers.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How do I resolve "Cannot find module" error using Node.js?
Using npm install installs the module into the current directory only (in a subdirectory called node_modules ). Is app.js located under ...
Read more >
Issues · LLK/scratch-render - GitHub
Cannot find module '!ify-loader!linebreak' question. #959 opened on Jan 13 by juliandierker · 12. Dependency Dashboard. #950 opened on Aug 30, ...
Read more >
Fix Global Installs Not Working | "Cannot find module" error FIX
Getting " Cannot find module " after installing something globally (with -g)? Well, this video shows you how to fix global package/module ...
Read more >
Cannot find module nodemodule/@schematics/angular/utility ...
Fix: Cannot find module \nodemodules\@schematics\angular\utility\test.jsUse these steps to resolve the problem1. Uninstall package that you ...
Read more >
Fix error: cannot find module 'x' in Node.js or 'express'
To solve the “error: cannot find module in Node.js or express” you have to first know why this error occurs. Mostly, this 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