sollectify icon indicating copy to clipboard operation
sollectify copied to clipboard

type: module

Open binsta opened this issue 3 years ago • 10 comments

yarn run dev import EventEmitter from 'eventemitter3';

SyntaxError: Cannot use import statement outside a module

binsta avatar Sep 18 '21 17:09 binsta

I got the same error

igorlourenco avatar Oct 06 '21 17:10 igorlourenco

Same error on my end. Did you found a solution ?

lpetkov-sw avatar Nov 04 '21 10:11 lpetkov-sw

Same eerror

abrarmusa avatar Nov 06 '21 08:11 abrarmusa

any updates or solution?

preteambuy avatar Nov 21 '21 03:11 preteambuy

The next package version is causing the issue. I used this commit id ("ef4d2bfc69217f7127e513cb460308c734f94e2c") and am able to load the home page.

preteambuy avatar Nov 27 '21 00:11 preteambuy

i got this error 1 of 1 unhandled error Server Error SyntaxError: Cannot use import statement outside a module

This error happened while generating the page. Any console logs will be displayed in the terminal window. Source .next\server\pages_app.js (1:0) @ Object.@project-serum/sol-wallet-adapter

1 | module.exports = require("@project-serum/sol-wallet-adapter"); Call Stack webpack_require .next\server\webpack-runtime.js (21:0)

franciscoangelini avatar Nov 29 '21 17:11 franciscoangelini

The next package version is causing the issue. I used this commit id ("ef4d2bfc69217f7127e513cb460308c734f94e2c") and am able to load the home page.

how can i get this commit ?

franciscoangelini avatar Nov 29 '21 17:11 franciscoangelini

@franciscoangelini you can find all the commits below. Use the commit id shared about to do a git checkout.

https://github.com/vicyyn/sollectify/commits/main

preteambuy avatar Nov 30 '21 02:11 preteambuy

Just download yarn.lock & package.json from commit ef4d2bfc69217f7127e513cb460308c734f94e2c Then you can build and run home page. But Create button didn't works.

pixobits avatar May 05 '22 19:05 pixobits