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, and thanks for writing this. I'm finishing up a uni project to parse student timetables for matching and found node-ical which does the job normally, but the project currently is in react-native. I tried replacing const ical = require{'fs'}; with require{'react-native-fs'}; after yarn add react-native-fs but I get the following error:
Unable to resolve module path from /Users/osiris/Dropbox/Uni/s22021/deco3800/UQ-Pool/clientside/node_modules/node-ical/ical.js: path could not be found within the project or in these directories: node_modules/node-ical/node_modules node_modules ../node_modules
The file ical.js is there but it's not finding it when I run expo start to try on a simulator.
I'm a bit new with js node module creation and wondered if there is a dependency that breaks somewhere for some reason or is there a way to do an if else on the require import, depending on the system/end user platform being used?
thanks :)
The text was updated successfully, but these errors were encountered:
Hi, and thanks for writing this. I'm finishing up a uni project to parse student timetables for matching and found node-ical which does the job normally, but the project currently is in react-native. I tried replacing const ical = require{'fs'}; with require{'react-native-fs'}; after yarn add react-native-fs but I get the following error:
Unable to resolve module path from /Users/osiris/Dropbox/Uni/s22021/deco3800/UQ-Pool/clientside/node_modules/node-ical/ical.js: path could not be found within the project or in these directories: node_modules/node-ical/node_modules node_modules ../node_modules
The file ical.js is there but it's not finding it when I run expo start to try on a simulator.
I'm a bit new with js node module creation and wondered if there is a dependency that breaks somewhere for some reason or is there a way to do an if else on the require import, depending on the system/end user platform being used?
thanks :)
The text was updated successfully, but these errors were encountered: