DEV Community

Discussion on: Creating a Vue module with Rollup and Typescript

jesus9ias profile image
Jesús Escamilla Author

The new error seems to be the app requires eslint in some process, do you have installed locally or globally?

Thread Thread
simonmarcellinden profile image
Simon Marcel Linden

Hello, is installed locally and globally. But it looks like a problem with

npm link

. Before I publish my packages, I always test them.

To do this, I use

npm link

and then link my package with my test project. The error mentioned above then appears.

But if I publish the package and then install it with

npm install

the error disappears.

Thread Thread
jesus9ias profile image
Jesús Escamilla Author

Hello @simonmarcellinden in that case you can try to test locally using npm pack and install them referencing the created tgz file instead of npm link. It is more similar to installing from public npm.

Thread Thread
simonmarcellinden profile image
Simon Marcel Linden

thanks for the tip, I'll try this and report me

Thread Thread
simonmarcellinden profile image
Simon Marcel Linden • Edited

@jesus9ias , great tip. It's work fine.

thanks a lot