You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi there,
I'm rather new to JS dev using npms, so the issue might be due to my inexperience, but when i yarn add ismobilejs, install goes through fine, the isMobile checks work perfectly, but i get a following (non breaking) error:
When i do a yarn in terminal, there seem to be no dependencies missing, since nothing gets installed, 0 problems. The node_modules folder doesn't have a @spotify package, do i need to install it to use isMobile (i hope not)? I tied just removing the extends line or the tsconfig.json file, but that didn't work either :/
Any ideas on how to get rid of the error?
The text was updated successfully, but these errors were encountered:
Thanks for reporting; I'll take a look and see what's up. Usually, the error yo u're seeing can be resolved by running yarn install, to install dependencies (of which @spotify/web-scripts), but I bet you already tried that. Will circle back
I'm facing the same issue on some projects as well, and I guess that we can get it solved by simply specifying what files to include in the package 😄
This is happening because the entire repo is being added in the package while it shouldn't, for example: eslint config files, jest config, tsconfig.json, etc.
I think that a new release with this property added in package.json would solve the issue:
Hi there,
I'm rather new to JS dev using npms, so the issue might be due to my inexperience, but when i
yarn add ismobilejs
, install goes through fine, the isMobile checks work perfectly, but i get a following (non breaking) error:When i do a
yarn
in terminal, there seem to be no dependencies missing, since nothing gets installed, 0 problems. The node_modules folder doesn't have a @spotify package, do i need to install it to useisMobile
(i hope not)? I tied just removing theextends
line or thetsconfig.json
file, but that didn't work either :/Any ideas on how to get rid of the error?
The text was updated successfully, but these errors were encountered: