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
I had the same issue and resolved it by importing PNotify from the umd folder instead of the iife folder.
Add this require statement: window.PNotify = require('pnotify/dist/umd/PNotify')
Hello,
i installed pnotify via
npm install --save pnotify
npm install --save material-design-icons
npm install --save nonblockjs
and added
window.PNotify = require("pnotify/dist/iife/PNotify");
to the app.js
if i build the things now with webpack and i use
PNotify.error({
title: 'Fehler',
text: "test",
styling: 'bootstrap3'
});
i get the error
Uncaught TypeError: PNotify.error is not a function
The text was updated successfully, but these errors were encountered: