Hi.
This is probably a noob-question but here I go anyway.
I’ve got this in my aurelia.json
file
{
"name": "notyf",
"main": "notyf",
"path": "../node_modules/notyf",
"resources": [
"notyf.min.css"
]
}
and this in main.js
import 'notyf/notyf.min.css';
When I build the application I get an error like so:
Tracing main...
------- File not found or not accessible ------
| Location: C:/dev/source/Experiments/plonker/plonk/node_modules/notyf/notyf.min.css.js
| Requested by: C:\dev\source\Experiments\plonker\plonk\src\main.js
| Is this a package? Make sure that it is configured in aurelia.json and that it is not a Node.js package
-----------------------------------------------
------- File not found or not accessible ------
| Location: C:/dev/source/Experiments/plonker/plonk/node_modules/notyf/notyf.min.css.js
| Requested by: C:\dev\source\Experiments\plonker\plonk\src\main.js
| Is this a package? Make sure that it is configured in aurelia.json and that it is not a Node.js package
-----------------------------------------------
What can I do to stop Aurelia from looking for notyf.min.css.js
?
This is the content of the node_modules/notyf
directory:
Btw, this is the recipe I’ve followed:
TIA
–norgie