You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ERROR in ./node_modules/shorter/index.js
Module not found: Error: Can't resolve './build/Release/shorter'
in '/var/www/html/project/node_modules/shorter'
@ ./node_modules/shorter/index.js 3:14-48
@ ./resources/js/app.js
@ multi ./resources/js/app.js ./resources/sass/app.scss
I tried many ways to import this import {compress, decompress} from "../../node_modules/shorter"; import {compress, decompress} from "shorter"; import shorter from "shorter";
None of above are working
The text was updated successfully, but these errors were encountered:
This looks like a webpack error - is this code intended for client-side browser use or with a Node.js runtime? This is a native module so only the latter is supported.
Assuming a Node.js runtime, were there any errors at npm install time? What's the output of npm install --verbose shorter?
I tried many ways to import this
import {compress, decompress} from "../../node_modules/shorter";
import {compress, decompress} from "shorter";
import shorter from "shorter";
None of above are working
The text was updated successfully, but these errors were encountered: