rapidjs/rapid.js

Cannot find module './core/rapid'

Closed this issue · 2 comments

Error thrown on linux when booting a file that extends RapidJS.

Error: Cannot find module './core/rapid'
    at Function.Module._resolveFilename (module.js:536:15)
    at Function.Module._load (module.js:466:25)
    at Module.require (module.js:579:17)
    at require (internal/module.js:11:18)
    at Object.<anonymous> (/var/lib/jenkins/workspace/vernight_highstreet_develop-Z4EJGYUMCGUJXLSZ5RREIJWO3ZYMIKFLYOSGEMPIHGYF6PMVVKIQ/node_modules/rapid.js/dist/rapid.js:3:14)

My dist folder looks like this:
image

Looks like a problem with case insensitivity

The latest version renamed all the files and folders to lowercase. Maybe try uninstalling and reinstalling the package. Let me know if that helps!

@webdevian actually I noticed that the dist path hadn't been updated for the case. I just published a patch that fixes that :)