acrd.app icon indicating copy to clipboard operation
acrd.app copied to clipboard

[BUG]

Open Its-SheldonDev opened this issue 2 years ago • 4 comments

When i start the server i have error :

Error: Cannot find module '@accord/types'

but i have installed accord/types module

Its-SheldonDev avatar Feb 08 '22 10:02 Its-SheldonDev

When i start the server i have error :

Error: Cannot find module '@accord/types'

but i have installed accord/types module

how to install accord/types?

hsyoon2261 avatar Feb 08 '22 13:02 hsyoon2261

The @accord/types setup is complex, but there was no viable workaround to this - putting a plain types folder in the root folder is ideal, but instead it's in frontend/src/types.

So to install @accord/types you would do something like npm i ../frontend/src/types and not npm i ../types.

theADAMJR avatar Mar 03 '22 11:03 theADAMJR

The @accord/types setup is complex, but there was no viable workaround to this - putting a plain types folder in the root folder is ideal, but instead it's in frontend/src/types.

So to install @accord/types you would do something like npm i ../frontend/src/types and not npm i ../types.

When trying to set accord / types, an error occurs.

messenger.sniffrx.ru@SniffServer:~/www/messenger.sniffrx.ru/ds/frontend$ npm i ../frontend/src/types
npm ERR! Can't install /var/www/messenger.sniffrx.ru/data/www/messenger.sniffrx.ru/ds/frontend/src/types: Missing package version

npm ERR! A complete log of this run can be found in:
npm ERR!     /var/www/messenger.sniffrx.ru/data/.npm/_logs/2022-03-09T07_12_12_045Z-debug.log

SniffRx avatar Mar 09 '22 07:03 SniffRx

Error: Cannot find module '@accord/types'

I am also getting this error. I am Windows 10 user.

valkyrienyanko avatar Mar 11 '22 03:03 valkyrienyanko

I believe I have fixed this error, as it was due to bad symbolic links and incompatibilites between Linux and Windows.

theADAMJR avatar Dec 16 '22 22:12 theADAMJR