ProgressNS / sidekick-feedback

This repository is for feedback regarding NativeScript Sidekick. Use the issues system here to submit feature requests or vote for existing ones.
45 stars 9 forks source link

Cannot find module after TNS core tools update #475

Closed Noppey closed 4 years ago

Noppey commented 4 years ago

I've updated tns-core-modules from 6.4.0 to 6.4.1.

Now I get the build error for iOS: Cannot find module '../api-info/api-info.json' I use angular nativescript and it concerns the code: import ApiInfo from '../api-info/api-info.json';

webpack.config.js contains the necessary filepath and the file is actually contained in the built items: new CopyWebpackPlugin([ { from: { glob: "fonts/" } }, { from: { glob: "/*.jpg" } }, { from: { glob: "*/.png" } }, { from: { glob: "**/api-info/api-info.json" } },

Noppey commented 4 years ago

Restoring backup and running tns update, now Sidekick freezes at Build step started.

NickIliev commented 4 years ago

@Noppey the issue seems related to Sidekick - moving the issue in the related Sidekick repository.

NickIliev commented 4 years ago

@Noppey are you using the latest versions of nativescript-dev-webpack and is your webpack.config.js also updated with the latest version? Can you post the content of your package.json