![]() ![]() If I try and change the order of the imports every import will have the same error. Anyone have any suggestions on how to resolve this I have also tried creating a brand new vue. ![]() I'm at an absolute loss as to why this set of events would cause this error. Synta圎rror: Cannot use import statement outside a module. (/home/notes/Programming/Yapeswap/yape-nft-site/node_modules/ts-node/src/index.ts:1374:12)Īt Module.load (node:internal/modules/cjs/loader:981:32)Īt Function.Module._load (node:internal/modules/cjs/loader:822:12)Īt Module.require (node:internal/modules/cjs/loader:1005:19)Īt require (node:internal/modules/cjs/helpers:102:18) Synta圎rror: Cannot use import statement outside a moduleĪt pileFunction (node:vm:352:18)Īt wrapSafe (node:internal/modules/cjs/loader:1031:15)Īt Module._compile (node:internal/modules/cjs/loader:1065:27)Īt Module.m._compile (/home/notes/Programming/Yapeswap/yape-nft-site/node_modules/ts-node/src/index.ts:1371:23)Īt Module._extensions.js (node:internal/modules/cjs/loader:1153:10)Īt . cannot use import statement outside a module from the console.log import fetch from (node-fetch) Synta圎rror: Cannot use import statement. home/notes/Programming/Yapeswap/yape-nft-site/:1 After restarting (or possibly just leaving editor I need to confirm this) I will be met with this error An unexpected error occurred: I can get the full stack created, compile contracts and view the site to interact with the greeter contract.
0 Comments
Leave a Reply. |