Untitled

mail@pastecode.io avatar
unknown
plain_text
18 days ago
1.1 kB
4
Indexable
Never
C:\Program Files\nodejs\node.exe .\EventX\constants\icons.js
Process exited with code 1
(node:24548) Warning: To load an ES module, set "type": "module" in the package.json or use the .mjs extension.
(Use node --trace-warnings ... to show where the warning was created)
Uncaught SyntaxError D:\UIUX DESIGN\EventX\EventX\constants\icons.js:1
import bookmark from "../assets/icons/bookmark.png";
^^^^^^

SyntaxError: Cannot use import statement outside a module
    at wrapSafe (<node_internals>/internal/modules/cjs/loader.js:1029:16)
    at Module._compile (<node_internals>/internal/modules/cjs/loader.js:1078:27)
    at Module._extensions..js (<node_internals>/internal/modules/cjs/loader.js:1143:10)
    at Module.load (<node_internals>/internal/modules/cjs/loader.js:979:32)
    at Module._load (<node_internals>/internal/modules/cjs/loader.js:819:12)
    at executeUserEntryPoint (<node_internals>/internal/modules/run_main.js:75:12)
    at <anonymous> (<node_internals>/internal/main/run_main_module.js:17:47)
No debugger available, can not send 'variables'
Leave a Comment