Shourya Bansal
Shourya Bansal

Reputation: 403

Vaadin keeps giving error with @vaadin/flow-deps

Whenever I try to do anything with Vaadin, one thing that keeps giving me issues is the npm package flow-deps, or the lack thereof. Whenever I try to move my vaadin folder, it gets stuck at that directory. npm install is not working and returns this error:

npm ERR! code ENOLOCAL
npm ERR! Could not install from "target\frontend" as it does not contain a package.json file.

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\shour\AppData\Roaming\npm-cache\_logs\2020-02-22T22_58_29_085Z-debug.log

Can anyone help? Thanks in advance!

Upvotes: 1

Views: 266

Answers (1)

Shourya Bansal
Shourya Bansal

Reputation: 403

After a lot of trial and error, it turns out that whenever I fresh installed Vaadin and ran npm install, it installed a file shortcut @flow-deps which didn't lead anywhere. Deleting that shortcut fixed the issue.

Upvotes: 2

Related Questions